WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: sce-update problems  (Read 7395 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
sce-update problems
« on: November 29, 2015, 07:59:04 AM »
using dCore-trusty md5sum: e15547707404f106db7d8a5bb0128462

tried sce-update conky:
Code: [Select]
jls@box:~$jls@box:/mnt/sdb1/tce/sce$ sce-update conky
ubuntu
#################### 100.0% 17.7 kBps DONE

verifying download...checksum matches OK
used 11134976 local, fetched 0
#################### 100.0% 0.0 kBps DONE

verifying download...checksum matches OK
used 870400 local, fetched 0
Using the repo http://ppa.launchpad.net/enlightenment-git/ppa/ubuntu trusty main
Using the repo http://ppa.launchpad.net/niko2040/e19/ubuntu trusty main
Using the repo http://dl.google.com/linux/talkplugin/deb/ stable main
Using the repo http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu trusty main
Using the repo http://ftp5.gwdg.de/pub/opensuse/repositories/home:/jgeboski/xUbuntu_14.04 trusty ./
Using the repo http://sourceforge.net/projects/ubuntuzilla/files/mozilla/apt all main
Using the repo http://ppa.launchpad.net/whatsapp-purple/ppa/ubuntu trusty main
Using the repo http://archive.canonical.com/ubuntu/ trusty partner
Using the repo http://packages.bodhilinux.com/bodhi trusty main
Using the repo http://giano.com.dist.unige.it/ubuntu trusty-updates main
Using the repo http://giano.com.dist.unige.it/ubuntu trusty-updates multiverse
Using the repo http://giano.com.dist.unige.it/ubuntu trusty-updates restricted
Using the repo http://giano.com.dist.unige.it/ubuntu trusty-updates universe
Using the repo http://giano.com.dist.unige.it/ubuntu trusty-backports main
Using the repo http://giano.com.dist.unige.it/ubuntu trusty-backports multiverse
Using the repo http://giano.com.dist.unige.it/ubuntu trusty-backports restricted
Using the repo http://giano.com.dist.unige.it/ubuntu trusty-backports universe
Using the repo http://giano.com.dist.unige.it/ubuntu trusty main

Searching for available updates for conky.sce.
Using the -d option.
Using the -r option.
Using the -n option.
Using the -p option.


Importing conky.


Using Package Index: /etc/sysconfig/tcedir/import/debinx/ubuntu_trusty_main_i386_Packages

Using Package Index: /etc/sysconfig/tcedir/import/debinx/ubuntu_trusty_security_i386_Packages

Using ubuntu Mirror: http://giano.com.dist.unige.it/ubuntu

Using ubuntu Security Mirror: http://giano.com.dist.unige.it/ubuntu

conky is a standard ubuntu trusty package.
Gathering dependency info..



The below SCE's in your SCE directory will be used as
to provide dependencies for conky.sce.

seamonkey-mozilla-build


Merging libxmmsclient6
Merging liblua5.1-0
Merging libid3tag0
Merging libimlib2
Merging libaudclient2
Merging conky-std
Merging conky
Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on /etc/sysconfig/tcedir/sce/update/conky.sce, block size 4096.
[===============================================================|] 503/503 100%
Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 4096
compressed data, compressed metadata, compressed fragments, no xattrs
duplicates are removed
Filesystem size 813.69 Kbytes (0.79 Mbytes)
43.19% of uncompressed filesystem size (1883.84 Kbytes)
Inode table size 1972 bytes (1.93 Kbytes)
44.37% of uncompressed inode table size (4444 bytes)
Directory table size 873 bytes (0.85 Kbytes)
53.04% of uncompressed directory table size (1646 bytes)
Number of duplicate files found 4
Number of inodes 76
Number of files 48
Number of fragments 5
Number of symbolic links  8
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 20
Number of ids (unique uids + gids) 2
Number of uids 1
root (0)
Number of gids 2
root (0)
staff (50)
Done.
Refer to /tmp/updateavailable for details of package updates.

jls@box:~$ cat /tmp/updateavailable
SCE:  base
  Available package updates:
SCE:  xorg-all
  Available package updates:
SCE:  gstreamer1
  Available package updates:
SCE:  e20-terminology
  Available package updates:
SCE:  seamonkey-mozilla-build
  Available package updates:
SCE:  conky
  Available package updates:
    libffi6        http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main
    libpng12-0        http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main
    libxml2        http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main http://giano.com.dist.unige.it/ubuntu trusty-updates main


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
http://giano.com.dist.unige.it/ubuntu trusty-backports main
http://giano.com.dist.unige.it/ubuntu trusty-backports multiverse
http://giano.com.dist.unige.it/ubuntu trusty-backports restricted
http://giano.com.dist.unige.it/ubuntu trusty-backports universe

Another thing:
before sce-update conky I've added hicolor-icon-theme to base.sce.lst, but it didn't gets updated
« Last Edit: November 29, 2015, 08:02:19 AM by jls_legalize »
dCore user

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update problems
« Reply #1 on: November 29, 2015, 10:15:18 AM »
Ok, I will look into the adding to list files.

Does a second run of "sce-update conky" right after the first update show any updates available?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update problems
« Reply #2 on: November 29, 2015, 10:44:36 AM »
Ok, I found a critical error in dealing with extra repos.  New cut in release candidates.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update problems
« Reply #3 on: November 29, 2015, 04:01:22 PM »
New release candidate that seems to fix the adding to the .lst file issue.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: sce-update problems
« Reply #4 on: November 30, 2015, 02:00:57 AM »
hi jason,

sce-update -a of the last cut needs now so much time for the checking-process:

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

perhaps 10 times so long?


Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update problems
« Reply #5 on: November 30, 2015, 07:59:56 AM »
Yeah, that is the loop within a loop to check for packages that are in the SCE that are now not needed.

But I think I can trim it down, if not then we just have to know to re-import an SCE if you take an item off it's .lst file which is simple.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: sce-update problems
« Reply #6 on: November 30, 2015, 05:18:27 PM »
I attach updateavailable

[attachment deleted by admin]
dCore user

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update problems
« Reply #7 on: November 30, 2015, 09:26:12 PM »
Thank you, but I have spent many hours since the last cut perfecting the update routine, much trial and error, but I think I have it in the bag.  I want it to cover all the bases so to speak, and I want to to test it out extensively in the next few days before I upload the fix. 

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update problems
« Reply #8 on: December 03, 2015, 12:10:32 AM »
I am working on this , testing it from every angle.  It is almost there, I just want to have it right before releasing it as it is easier for me to test my own errors I see than for others to see a glitch and report it and me ask for info and then testing it.  Saves us all time.   Hopefully in the coming days.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: sce-update problems
« Reply #9 on: December 03, 2015, 03:26:19 AM »
thank you for your time and commitment... we appreciate it :-)

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: sce-update problems
« Reply #10 on: December 03, 2015, 09:11:40 AM »
+1 :-)

Enviado mediante Tapatalk


Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update problems
« Reply #11 on: December 04, 2015, 03:44:37 PM »
Ok, there were things needing fixing and hopefully that is done now.  Existing .lst files if edited will be taken into account but not to allow manual editing rather the differences are found in what an SCE has but doesn't need, or need but doesn't have.   Existing .dep files should never be edited manually, a re-import with using the select menu when asked do you want to use the existing dep fie should be used instead.  List .lst files can be copied and pasted and then used during a re-import.

However, with a list file is changed even via re-import, it can affect packages that have that SCE in their .dep files.  If during a re-import a .dep file is changed, it should not afffect those SCEs that depend on that SCE since either way the SCE being used as a dep will have at least the packages that it needs.  Whether in the SCE itself or in it's deps that will be loaded.

This brings me to the need for a tool that allows editing of the dep or list files, which will determine any affected SCEs and re-import them if needed.  That way the integrity of the data in each SCE's /usr/local/sce/ directory stays intact.


Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: sce-update problems
« Reply #12 on: December 06, 2015, 05:12:42 PM »
Hi
tried again sce-update -a and sce-update e20-termonology, but the response is no update available, which is not true since there are updates in the "e" packages which are build every day on the ppa
dCore user

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update problems
« Reply #13 on: December 06, 2015, 06:23:07 PM »
Ok, I will test it out tonight.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update problems
« Reply #14 on: December 06, 2015, 09:16:44 PM »
Ok, it was a bug in the importupdatecheck script.  New RC uploaded.