Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => dCore x86 Imported Extensions => Topic started by: netnomad on November 12, 2015, 11:06:48 PM

Title: update-requests are missed by sce-update -a
Post by: netnomad on November 12, 2015, 11:06:48 PM
hi friends,

i regulary check for updates with sce-update -a.
for the last days i received no update-requests.
by using sce-purge i noticed that my libreoffice-packages are outdated.
so with sce-import i downloaded the missed updated packages.

i noticed this misbehavior for a couple of times and informed the forum about it.
do you have an idea about the reasons for this misbehavior?

thank you for your help and commitment to this project.
Title: Re: update-requests are missed by sce-update -a
Post by: Jason W on November 13, 2015, 05:28:44 AM
Are you using sce-debpurge?

Which dCore are you using?
Title: Re: update-requests are missed by sce-update -a
Post by: netnomad on November 13, 2015, 10:51:36 AM
Are you using sce-debpurge?
yes, you are right :-)

Quote
Which dCore are you using?
the most current:
tc@box:~/mnt/sdb1/live/dcore-current/boot$ md5sum dCore-jessie.gz
d1bbd6cdf02eb372866a02d8b902fed5  dCore-jessie.gz
Title: Re: update-requests are missed by sce-update -a
Post by: Jason W on November 14, 2015, 07:41:21 AM
I don't see anything in the code that would be doing this.

If you can provide a list of debs that are determined out of date by sce-debpurge but were not by sce-update would be most helpful.
Title: Re: update-requests are missed by sce-update -a
Post by: netnomad on November 14, 2015, 08:46:34 AM
hi jason,

that happens so seldom, so it's hard to determine.

this time it happened with libreoffice:
libreoffice-gnome
libreoffice-style-tango
and it's dependencies...

thank you for your help and interest.
Title: Re: update-requests are missed by sce-update -a
Post by: Jason W on November 14, 2015, 11:23:43 AM
Of course, there is the possibility that in the time between running sce-update and sce-debpurge the DEBINX files on the server were updated, which could cause what you are seeing.  It is not likely, but possible.

I will run sce-update and then sce-debpurge myself for a bit and see if I can see the same.
Title: Re: update-requests are missed by sce-update -a
Post by: Jason W on November 14, 2015, 07:00:18 PM
The issue seemed to be a typo in sce-debpurge.  Uploading new cut to release_candidates.

Thank you for the report and for helping to improve dCore.
Title: Re: update-requests are missed by sce-update -a
Post by: netnomad on November 15, 2015, 12:18:55 AM
hi jason,

with your last cut i received so many major updates :-)
i keep on testing, but i think that you succeeded.

thank you for your help.
Title: Re: update-requests are missed by sce-update -a
Post by: netnomad on November 15, 2015, 05:29:09 AM
hi jason,

now there seem to be update-loops:

100-desktop-jessie, 200-multimedia-jessie, libreoffice and virtualbox are requested for updates again and again :-(

tc@box:~/mnt/TCE/sce$ cat 100-desktop-jessie
xorg-all
Xprogs
wbar
fluxbox
iceweasel
icedove
evince
jpilot
xvnc4viewer

tc@box:~/mnt/TCE/sce$ cat 200-multimedia-jessie
alsa-base
alsa-utils
alsamixergui
cdparanoia
vlc
faad
lame
cups
cups-driver-gutenprint
hplip
avahi-daemon
gimp
xsane
pulseaudio
pavucontrol
volumeicon-alsa
gnucash
gthumb
gnome-calculator
doublecmd-gtk
xautolock
youtube-dl
minitube

tc@box:~/mnt/TCE/sce$ cat libreoffice
libreoffice-gnome
libreoffice-style-tango

tc@box:~/mnt/TCE/sce$ cat virtualbox
virtualbox-4.3.30-host-modules-3.16.6-tinycore
virtualbox-qt

thank you for your patience.
Title: Re: update-requests are missed by sce-update -a
Post by: Jason W on November 15, 2015, 10:03:21 AM
Oops, I see what I did wrong.  Uploaded new cut to release candidates.
Title: Re: update-requests are missed by sce-update -a
Post by: netnomad on November 15, 2015, 02:48:45 PM
hi jason,

also this new cut still tries to update in infinite loops:

tc@box:~$ sce-update -a

100-desktop-jessie
200-multimedia-jessie
libreoffice
virtualbox
The above SCEs are about to be updated.  Press Enter to proceed, y to view package updates, or Ctrl-C to abort..

tc@box:~$ md5sum /mnt/sdb1/live/dcore-current/boot/dCore-jessie.gz
05b0c989258926a24d0413857cc75ff5  /mnt/sdb1/live/dcore-current/boot/dCore-jessie.gz
Title: Re: update-requests are missed by sce-update -a
Post by: jls on November 15, 2015, 02:54:55 PM
I can confirm this.
I did sce-update xorg-all and the system updated gstreamer1 & xorg-all.
Then I rebooted and I got the same update.
xorg-all dep: gstreamer1
gstreamer1 dep: base

[attachment deleted by admin]
Title: Re: update-requests are missed by sce-update -a
Post by: Jason W on November 16, 2015, 12:25:40 PM
I see on my install what is happening, SCEs with a .dep file are having the contents of dependent SCEs checked against the main SCEs md5sum file and since those entries are not there, they are failing md5sum check and being listed as needing updating.   I am getting closer to a fix, hopefully sometime today.
Title: Re: update-requests are missed by sce-update -a
Post by: Jason W on November 16, 2015, 01:17:31 PM
Found a test that produced false update info.  Hopefully fixed now or at least back to where we were.  New release candidates, please test.
Title: Re: update-requests are missed by sce-update -a
Post by: jls on November 17, 2015, 04:43:11 AM
Hi :
I tried again sce-update xorg-all
and I got
No updates available for chosen SCEs at this time.
Thanks
Title: Re: update-requests are missed by sce-update -a
Post by: netnomad on November 26, 2015, 02:21:46 PM
hi jason,

with the last cut i experienced the known problem that sce-purge deleted the outdated dpkg-package dpkg_1.17.25_i386.deb, but sce-update -a missed the update routine.
afterwards the sce-import of my 000-base-jessie-package fetched the updated dpkg-package immediately.

dpkg_1.17.26_i386.de 100% |*******************************|  2943k  0:00:00 ETA

tc@box:~$ md5sum /mnt/sdb1/live/dcore-current/boot/dCore-jessie.gz
7ba705c468ce144070b2daeb8ac4969d  /mnt/sdb1/live/dcore-current/boot/dCore-jessie.gz

probably these following packages are missed, too.
deleting tce/import/debs/libnspr4_4.10.7-1_i386.deb
deleting tce/import/debs/libnspr4-0d_4.10.7-1_i386.deb

thank you for your interest and help.
Title: Re: update-requests are missed by sce-update -a
Post by: Jason W on November 26, 2015, 02:32:13 PM
Ok, is this with the release candidate that was posted less than an hour ago?  Just wanting to make sure before looking further.
Title: Re: update-requests are missed by sce-update -a
Post by: jls on November 28, 2015, 04:00:30 AM
Hi
I'm on dCore-trusty, md5: 9811286163766581fd3db58f495a524d
sce-update e20-terminology finds no updates, while sce-import on the same extension downloads e20 libefl, etc.
Code: [Select]
jls@box:~$ cat /opt/debextra/*
http://ppa.launchpad.net/enlightenment-git/ppa/ubuntu trusty main
http://ppa.launchpad.net/niko2040/e19/ubuntu trusty main
http://dl.google.com/linux/talkplugin/deb/ stable main
http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu trusty main
http://ftp5.gwdg.de/pub/opensuse/repositories/home:/jgeboski/xUbuntu_14.04 ./
http://sourceforge.net/projects/ubuntuzilla/files/mozilla/apt all main
http://ppa.launchpad.net/whatsapp-purple/ppa/ubuntu trusty main
http://archive.canonical.com/ubuntu/ trusty partner
http://packages.bodhilinux.com/bodhi trusty main
http://giano.com.dist.unige.it/ubuntu trusty-updates main
http://giano.com.dist.unige.it/ubuntu trusty-updates multiverse
http://giano.com.dist.unige.it/ubuntu trusty-updates restricted
http://giano.com.dist.unige.it/ubuntu trusty-updates universe
jls@box:~$ cat /opt/debmirror
http://giano.com.dist.unige.it/ubuntu
jls@box:~$ cat /opt/securitymirror
http://giano.com.dist.unige.it/ubuntujls@box:/mnt/sdb1/tce/sce$ cat e20-terminology.sce.lst
e20
terminology
jls@box:/mnt/sdb1/tce/sce$ cat e20-terminology.sce.dep
gstreamer1
jls@box:/mnt/sdb1/tce/sce$ cat gstreamer1.sce.lst
gstreamer1.0-plugins-good
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-ugly
gstreamer1.0-libav
jls@box:/mnt/sdb1/tce/sce$ cat gstreamer1.sce.dep
xorg-all
jls@box:/mnt/sdb1/tce/sce$ cat xorg-all.sce.dep
base
jls@box:/mnt/sdb1/tce/sce$ cat base.sce.lst
linux-firmware
alsa-utils
pulseaudio-module-x11
vim
wireless
grep
kernel-all-3.16.6-tinycore
policykit-1
udisks2
Xprogs
base-locale
language-pack-it
language-pack-gnome-it-base
language-pack-fr
language-pack-gnome-fr-base
ntpdate
xdg-utils
libmount1
connman
jls@box:/mnt/sdb1/tce/sce$


Title: Re: update-requests are missed by sce-update -a
Post by: Jason W on November 28, 2015, 06:48:40 AM
Ok, I will look into it this evening.
Title: Re: update-requests are missed by sce-update -a
Post by: Jason W on November 28, 2015, 02:32:31 PM
Does sce-import download those packages repeatedly if re-imported back to back times, or just one time?  Does sce-debpurge remove anything that sce-import later redownloads? 

Title: Re: update-requests are missed by sce-update -a
Post by: jls on November 28, 2015, 02:45:37 PM
the packages are downloaded just one time, sce-debpurge correctly remove obsolete ones.
Title: Re: update-requests are missed by sce-update -a
Post by: Jason W on November 28, 2015, 05:22:38 PM
Ok, I think I see something that may have been causing it when it comes to the order of repos to search in - prebuilt, extra, security, and main is the proper order and the update function had extra ahead of prebuilt.

Uploaded to release candidates.