WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Additional repos  (Read 12131 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Additional repos
« Reply #15 on: December 16, 2013, 07:01:26 AM »
There can only be one entry after the mirror and distro, main or non-free.  Both can't be entered. 

I will take a look at importupdatecheck next once things are working well in import, the update routine should not be working but I can use the same logic that is used in import to find the packages and md5sum.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Additional repos
« Reply #16 on: December 19, 2013, 08:31:48 PM »
Posted an update to dCore.gz and an updated iso dCore-5.13.12.19.iso  to fix a bug in the md5 checking routine during import.  Please download and test:

http://tinycorelinux.net/5.x/x86/release_candidates/

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Additional repos
« Reply #17 on: December 20, 2013, 11:39:02 AM »
hi jason w,

i tested the last cut for a couple of occasions and everything works smooth and fine.

one little proposal that could be useful after an importupdatecheck:
could you clean up the results or the tmp-files... in the moment when i change entries in my repos under /opt/debextra the same result occurs...
i guess some tmp-files are left somewhere...
do you think it is very much effort to show in which repos updates are found?
with this information it's easier to decide whether an update is reasonable.

thank you for your help and your development.
« Last Edit: December 20, 2013, 11:43:00 AM by netnomad »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Additional repos
« Reply #18 on: December 20, 2013, 12:32:48 PM »
Ok, I will add a cleanup for the /tmp/debinx.* files as they are re-downloaded every import session, that detail slipped by.  And I will do the same for importupdatecheck.   

I will update importupdatecheck and let it list which mirror an update is found. 

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Additional repos
« Reply #19 on: December 20, 2013, 03:36:19 PM »
sounds good :)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Additional repos
« Reply #20 on: December 20, 2013, 10:04:00 PM »
Mirror listing on updated packages during importupdatecheck now in place.

Also a bugfix in deb2sce in dCore.gz and the iso.  Please re-download and test.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Additional repos
« Reply #21 on: December 21, 2013, 01:01:03 PM »
Just re-uploaded importupdatecheck with a bug fix in the md5 comparing routine.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Additional repos
« Reply #22 on: December 21, 2013, 07:23:20 PM »
hi jason w,

after my importupdatecheck i get a very long reply with multiple repo-remarks...
that's the end of the reply:

...

xserver-common    Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main
xserver-xorg    Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main
xserver-xorg-core    Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main
wbar    dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt
xorg    Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main Debian wheezy main
Xprogs    dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt
Xtc    dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt
fltk-1.1.10    dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt dCore custom prebuilt
 
The above have package updates available with mirrors listed to the right, import mydesktop again to get them.
 
No dCore custom startup scripts inside mydesktop.sce have updates available.
tc@box:~$         


Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Additional repos
« Reply #23 on: December 21, 2013, 08:10:59 PM »
I don't see that, and never have.   What is the output of the command

cat /tmp/.importpkgtype

That file is supposed to be deleted if existing and the start and also at the end.  Are you sure you have the latest updated importupdatecheck?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Additional repos
« Reply #24 on: December 21, 2013, 08:52:07 PM »
An observation - if you add mirrors in /opt/debextra, and those mirrors have their own version of a package that is available in wheezy main, and the package was originally imported from wheezy, then that package will show up as an available update.  The extra mirrors take precedence over the main one as that is the desired behavior both in importing and update checking.

So to be accurate during an update check you need to keep the same mirror files that you import the sce with.  But if you don't, or add mirrors that contain different versions of packages within the extension before an update check, then those packages will be listed as having available updates though the package in the repo you imported it from may have not been updated.

Example, ssh originally imported from wheezy and then the backport mirror was added before the check:

Code: [Select]
tc@box:~$ importupdatecheck ssh
#################### 100.0% 0.0 kBps DONE   

verifying download...checksum matches OK
used 8798208 local, fetched 0
Using the wheezy-backports main repo of mirror http://deb-multimedia.org
Using the wheezy-backports main repo of mirror http://ftp.us.debian.org/debian
Using the wheezy main repo of mirror http://www.deb-multimedia.org
Using the ./ ./ repo of mirror http://www.pvv.ntnu.no/~knuta/xmms/squeeze
Using the wheezy main repo of mirror: http://ftp.us.debian.org/debian
 
Checking for updated deb packages, please be patient..
 
Checking for updated dCore startup scripts, please be patient..
 
openssh-server    http://ftp.us.debian.org/debian wheezy-backports main
openssh-client    http://ftp.us.debian.org/debian wheezy-backports main
ssh    http://ftp.us.debian.org/debian wheezy-backports main
 
The above have package updates available with mirrors listed to the right, import ssh again to get them.
 
No dCore custom startup scripts inside ssh.sce have updates available.
tc@box:~$

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Additional repos
« Reply #25 on: December 22, 2013, 09:37:27 PM »
Posted an updated dCore.gz and iso with a cosmetic change in debGetEnv, please test.

http://repo.tinycorelinux.net/5.x/x86/release_candidates/

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Additional repos
« Reply #26 on: December 23, 2013, 02:55:10 AM »
works good for me :)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Additional repos
« Reply #27 on: December 23, 2013, 10:49:41 PM »
Reposted with ability to fetch Packages.gz as well as Packages.bz2, some mirrors only have the .gz.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Additional repos
« Reply #28 on: December 31, 2013, 09:19:43 PM »
Reposted dCore.gz and related iso to release_candidates directory, this time with a removing of an unneeded md5sum file creation that was used in the previous "secure" import mode.  The md5 checking of existing debs is now done within deb2sce during each import session.

Please help test, and I hope to make this cut a formal release in the coming days for both x86 and armv7 ports.  I have been using and testing armv7 now that my hardware is in place, and all is working as expected.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Additional repos
« Reply #29 on: January 01, 2014, 06:01:26 AM »
hi jason w,

looks pretty good, all work smooth and fine for me.

thank you for your work, happy hacking :)