WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: sce-update query...  (Read 2335 times)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
sce-update query...
« on: April 27, 2016, 07:42:50 PM »
Running latest:
You are running dCore-jessie:2016.04.25.21.13, the latest release candidate.

- Ran sce-update xorg-intel and rebooted.
- Ran sce-update alsa-utils, which has xorg-intel as a dependency, had to check xorg-intel all over again, in the end no updates required.
- Without rebooting, immediately after ran sce-update asciijump, which also has same xorg-intel as dependency, again needed to check xorg again, aborted due to time restraint.

Takes many minutes just to check xorg-intel for updates. Even though it was just updated, rebooted, update check with alsa-utils confirms no update, then asciijump update check wants to check all over again. Shouldn't the updated xorg-intel.sce.debinx file be good enough to confirm no updates required?

Code: [Select]
tc@box:/mnt/sdb4/tce/sce$ sce-update alsa-utils
Fetching updated DEBINX...
 
Distro: debian
 
Syncing Debian Index: debian_jessie_main_i386_Packages
#################### 100.0% 0.0 kBps DONE   

verifying download...checksum matches OK
used 11411456 local, fetched 0
 
Syncing Debian Security Index: debian_jessie_security_i386_Packages
#################### 100.0% 0.0 kBps DONE   

verifying download...checksum matches OK
used 446464 local, fetched 0
 
Using the repo http://security.debian.org jessie main
 
Searching for available updates for alsa-utils.sce.
         xorg-intel.sce update check...
         alsa-utils.sce update check...
 
No updates available for alsa-utils.sce or any dependency SCE(s).
tc@box:/mnt/sdb4/tce/sce$ sce-update asciijump
Fetching updated DEBINX...
 
Distro: debian
 
Syncing Debian Index: debian_jessie_main_i386_Packages
#################### 100.0% 29.4 kBps DONE     

verifying download...checksum matches OK
used 11411456 local, fetched 0
 
Syncing Debian Security Index: debian_jessie_security_i386_Packages
#################### 100.0% 0.0 kBps DONE   

verifying download...checksum matches OK
used 446464 local, fetched 0
 
Using the repo http://security.debian.org jessie main
 
Searching for available updates for asciijump.sce.
         xorg-intel.sce update check...
^C

Code: [Select]
tc@box:/mnt/sdb4/tce/sce$ ll | grep xorg
-rw-rw-r-- 1 tc staff  30M Apr 27 17:08 xorg-intel.sce
-rw-rw-r-- 1 tc staff   33 Apr 27 17:34 xorg-intel.sce.debinx
-rw-rw-r-- 1 tc staff   49 Apr 27 17:08 xorg-intel.sce.md5.txt

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update query...
« Reply #1 on: April 27, 2016, 08:34:43 PM »
Yeah, once there is an xorg-intel.sce.debinx file it should not run the full check on it again unless any of the debinx data has changed. 

Try again after doing these commands:
sudo debGetEnv
sudo md5sum /etc/sysconfig/tcedir/import/debinx/NEWDEBINX
cat /etc/sysconfig/tcedir/sce/xorg-intel.sce.debinx

or any other .debinx file in the SCE directory.  If they match, then no full update check should be run on the extension.  If they don't, a check will be issued. Please try those commands, and if getting a same md5sum for both of them and a full update check occurs, let me know.



Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: sce-update query...
« Reply #2 on: April 27, 2016, 11:52:45 PM »
Okay, ran the commands, md5sum match. If checking xorg-intel standalone update check correctly exits immediately with no updates available, BUT if xorg-intel is a dependency of another SCE being checked then it goes through the long xorg-intel update check again. So it appears just a bug if the SCE is listed as a dependency of another then the quick debinx check is not getting done.

As below md5sums match, checking bsdgames-nonfree should ouput 'xorg-intel.sce up to date' not 'xorg-intel.sce update check...', plus the update check should only take seconds not minutes.

Code: [Select]
tc@box:/mnt/sdb4/tce/sce$ sudo debGetEnv
Fetching updated DEBINX...
 
Distro: debian
 
Syncing Debian Index: debian_jessie_main_i386_Packages
#################### 100.0% 29.4 kBps DONE     

verifying download...checksum matches OK
used 11411456 local, fetched 0
 
Syncing Debian Security Index: debian_jessie_security_i386_Packages
#################### 100.0% 0.0 kBps DONE   

verifying download...checksum matches OK
used 446464 local, fetched 0
 
Using the repo http://security.debian.org jessie main

tc@box:/mnt/sdb4/tce/sce$ sudo md5sum /etc/sysconfig/tcedir/import/debinx/NEWDEB
INX
b47527b09a2c66ad8ccf24da4c27fc8d  /etc/sysconfig/tcedir/import/debinx/NEWDEBINX

tc@box:/mnt/sdb4/tce/sce$ cat /etc/sysconfig/tcedir/sce/xorg-intel.sce.debinx
b47527b09a2c66ad8ccf24da4c27fc8d

tc@box:/mnt/sdb4/tce/sce$ sce-update -c xorg-intel
Fetching updated DEBINX...
 
Distro: debian
 
Syncing Debian Index: debian_jessie_main_i386_Packages
#################### 100.0% 0.0 kBps DONE   

verifying download...checksum matches OK
used 11411456 local, fetched 0
 
Syncing Debian Security Index: debian_jessie_security_i386_Packages
#################### 100.0% 0.0 kBps DONE   

verifying download...checksum matches OK
used 446464 local, fetched 0
 
Using the repo http://security.debian.org jessie main
 
xorg-intel.sce is up to date.

tc@box:/mnt/sdb4/tce/sce$ sce-update -c bsdgames-nonfree
Fetching updated DEBINX...
 
Distro: debian
 
Syncing Debian Index: debian_jessie_main_i386_Packages
#################### 100.0% 0.0 kBps DONE   

verifying download...checksum matches OK
used 11411456 local, fetched 0
 
Syncing Debian Security Index: debian_jessie_security_i386_Packages
#################### 100.0% 0.0 kBps DONE   

verifying download...checksum matches OK
used 446464 local, fetched 0
 
Using the repo http://security.debian.org jessie main
 
Searching for available updates for bsdgames-nonfree.sce.
         xorg-intel.sce update check...
         bsdgames-nonfree.sce update check...
 
No updates available for bsdgames-nonfree.sce or any dependency SCE(s).

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update query...
« Reply #3 on: April 28, 2016, 05:16:13 AM »
Ok, I see the issue in sce-update, will fix.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update query...
« Reply #4 on: April 30, 2016, 05:56:14 PM »
Should be fixed now in the latest RC.  Thanks.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: sce-update query...
« Reply #5 on: May 01, 2016, 04:50:01 AM »
Re-tested, fixed in latest RC, thanks Jason.