Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore x86_64 => dCore x86_64 Imported Extensions => Topic started by: jls on July 05, 2019, 01:38:30 AM

Title: sce-update discordance
Post by: jls on July 05, 2019, 01:38:30 AM
Hello, as you can see below, during the update the firefox package is imported but then it's not listed as an available update:
Code: [Select]
Connecting to ppa.launchpad.net (91.189.95.83:80)
firefox_68.0+build1- 100% |*******************************| 48598k  0:00:00 ETA
132/132 firefox.deb2sce: dCore start script.
Connecting to tinycorelinux.net (89.22.99.37:80)
firefox-data.tar.gz  100% |*******************************|  2838   0:00:00 ETA
132/132 firefox-data.tar.gz: firefox extra files.
132/132 firefox
* Processing locale.nopurge file.
* Processing sce.purge file.
Parallel mksquashfs: Using 8 processors
Creating 4.0 filesystem on /etc/sysconfig/tcedir/sce/update/firefox.sce, block size 131072.
[=============================================================/] 2815/2815 100%

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
        compressed data, compressed metadata, compressed fragments, compressed xattrs
        duplicates are removed
Filesystem size 115501.37 Kbytes (112.79 Mbytes)
        38.40% of uncompressed filesystem size (300750.74 Kbytes)
Inode table size 17849 bytes (17.43 Kbytes)
        42.46% of uncompressed inode table size (42037 bytes)
Directory table size 10596 bytes (10.35 Kbytes)
        43.63% of uncompressed directory table size (24284 bytes)
Number of duplicate files found 9
Number of inodes 937
Number of files 622
Number of fragments 111
Number of symbolic links  197
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 118
Number of ids (unique uids + gids) 2
Number of uids 1
        root (0)
Number of gids 2
        root (0)
        staff (50)
* Imported firefox.sce.

Press Enter to review available updates, (n)o to exit:
====  base updates  ====
fltk-1.3      has been removed as a dependency by base.sce or it's SCE deps.


====  xorg-all updates  ====
libfltk1.3    bionic main   is a new dependency in xorg-all.sce or it's SCE deps
.
libfltk-forms1.3    bionic main   is a new dependency in xorg-all.sce or it's SC
E deps.
libfltk-images1.3    bionic main   is a new dependency in xorg-all.sce or it's S
CE deps.
python3-minimal    http://ubuntu.connesi.it/ubuntu bionic-updates main   is a ne
w dependency in xorg-all.sce or it's SCE deps.


====  firefox updates  ====
python3-minimal    http://ubuntu.connesi.it/ubuntu bionic-updates main   is a ne
w dependency in firefox.sce or it's SCE deps.


jls@box:~$

Thank you
Title: Re: sce-update discordance
Post by: Jason W on July 05, 2019, 03:56:02 PM
Hi.  Which extra repo are you using in /opt/debextra for firefox so I can try to reproduce?  Thanks.
Title: Re: sce-update discordance
Post by: Jason W on July 05, 2019, 05:32:31 PM
Hi.  I used the PPA:

sce-ppa-add  ppa:mozillateam/firefox-next

Which gave the entry in /opt/debextra named "/opt/debextra/mozillateam-firefox-next-main"

It's contents are:
Code: [Select]
http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu bionic main

I imported firefox, then changed the md5sum data of the firefox package in firefox.sce, and repacked firefox.sce. 

I ran sce-update on firefox.sce, and it listed an update in /tmp/updateavailable as below:

Code: [Select]
====  firefox updates  ====
firefox    http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu bionic main


With your extra repo entry, I will test it also.  Thanks.

Title: Re: sce-update discordance
Post by: jls on July 07, 2019, 01:12:21 PM
Hi Jason and the other readers
my firefox debextra is:
Code: [Select]
http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu bionic main
Title: Re: sce-update discordance
Post by: Jason W on July 07, 2019, 01:57:59 PM
Hi, did you use "sce-update -f" option, as that is the full check.  Without the -f option, sce-update stops checking and marks an SCE for update at the first found update needed.  The missing or added dependencies are an exception, they list all needed. 

To save confusion, the quick check option perhaps should not write anything to /tmp/updateavailable except noting the quick check is being used and no updates are going to be listed.  If one is interested in seeing available updates of packages inside an sce, -f then can be used. 
Title: Re: sce-update discordance
Post by: jls on July 08, 2019, 02:27:56 AM
Hello Jason,
I didn't use the "-f" option, so now I understand.
If the "-f" option is not used on top of updateavailable it can be written that only the first package is listed