USM bug reports
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM bug reports
Merged packages go to /tmp/usm or wherever you changed the destination to. Merge function works but oft times creates a package with the name of a dependency (to be fixed in next update).
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 7671
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM bug reports
Well I took a chance that the 10 MB /tmp/usm/samba-4.1.9-x86_64-1_slack14.1.xzm module actually contained all the required dependencies and got this:
samba-4.1.9-x86_64-1_slack14.1.xzm was the only module in /tmp/usm/ that came close to being the 15 MB USM said it would be but it was only 10 MB.
For whatever reason USM did not merge all the xzm files.
------ update ---------
I tried USM with a different samba version, same results.
Code: Select all
guest@porteus:~$ samba
samba: error while loading shared libraries: libgnutls.so.28: cannot open shared object file: No such file or directory
guest@porteus:~$
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# usm -v
You are using USM version: 3.1.2
root@porteus:/home/guest#
------ update ---------
I tried USM with a different samba version, same results.
Code: Select all
root@porteus:/home/guest# ls -s /tmp/usm/
total 31604
236 gc-7.2d-x86_64-1.txz
252 gc-7.2d-x86_64-1.xzm
2020 gnutls-3.1.25-x86_64-1_slack14.1.txz
1736 gnutls-3.1.25-x86_64-1_slack14.1.xzm
3068 guile-2.0.9-x86_64-1.txz
3244 guile-2.0.9-x86_64-1.xzm
16 libaio-0.3.109-x86_64-1.txz
16 libaio-0.3.109-x86_64-1.xzm
400 libunistring-0.9.3-x86_64-1.txz
412 libunistring-0.9.3-x86_64-1.xzm
9908 samba-4.1.0-x86_64-2.txz
10296 samba-4.1.0-x86_64-2.xzm
root@porteus:/home/guest#
Ed
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM bug reports
I just tested under both GUI and CLI (on two machines) and the merge function is working fine. Samba was merged into the name of a dependency (bug already mentioned) with the suffix of 'bundle'. For example: dbus-python-1.2.0-x86_64-bundle.xzm
You MUST only report bugs that are reproducible when booting in ALWAYS FRESH mode with no extra or modified files.
Please read the rules about bug reports before posting.
You MUST only report bugs that are reproducible when booting in ALWAYS FRESH mode with no extra or modified files.
Please read the rules about bug reports before posting.
Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug").
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 7671
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM bug reports
Thanks beny but I don't see it there. I only have 3 desktop icons so it should stand out if it was there.beny wrote:if i remeber well the merged packages are on desktop...

Always Fresh mode.
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# usm -v
You are missing required database files!
Please run: usm -u all
root@porteus:/home/guest# usm -u all
Starting alien database update
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
gzip: /var/usm/alien/CHECKSUMS.md5.gz: unexpected end of file
==============================================================================
WARNING! WARNING! WARNING! WARNING! WARNING!
==============================================================================
One or more errors occurred while usm was running:
FATAL ERROR!
usm update_database 184
Could not decompress: CHECKSUMS.md5.gz
==============================================================================
root@porteus:/home/guest#
Ed
- Ed_P
- Contributor
- Posts: 7671
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM bug reports
Tried Always Fresh mode. Number of dependent modules dramatically larger. And no single merged module that I see. Do you?
And no extra module on the desktop or in the Downloads folder.
Code: Select all
guest@porteus:~$ ls -s /tmp/usm
total 69960
124 dbus-python-1.2.0-x86_64-1.txz
132 dbus-python-1.2.0-x86_64-1.xzm
232 dnspython-1.10.0-x86_64-1alien.tgz
172 dnspython-1.10.0-x86_64-1alien.xzm
80 foomatic-filters-4.0.12-x86_64-1.txz
76 foomatic-filters-4.0.12-x86_64-1.xzm
236 gc-7.2d-x86_64-1.txz
252 gc-7.2d-x86_64-1.xzm
13108 ghostscript-9.07-x86_64-2.txz
14200 ghostscript-9.07-x86_64-2.xzm
2024 gnutls-3.1.16-x86_64-1.txz
1728 gnutls-3.1.16-x86_64-1.xzm
3068 guile-2.0.9-x86_64-1.txz
3244 guile-2.0.9-x86_64-1.xzm
2232 gutenprint-5.2.9-x86_64-1.txz
3176 gutenprint-5.2.9-x86_64-1.xzm
16 libaio-0.3.109-x86_64-1.txz
16 libaio-0.3.109-x86_64-1.xzm
400 libunistring-0.9.3-x86_64-1.txz
412 libunistring-0.9.3-x86_64-1.xzm
20 notify-python-0.1.1-x86_64-3.txz
20 notify-python-0.1.1-x86_64-3.xzm
48 pycairo-1.8.10-x86_64-2.txz
44 pycairo-1.8.10-x86_64-2.xzm
64 pycups-1.9.61-x86_64-1.txz
60 pycups-1.9.61-x86_64-1.xzm
52 pycurl-7.19.0-x86_64-2.txz
48 pycurl-7.19.0-x86_64-2.xzm
404 pygobject-2.28.6-x86_64-2.txz
444 pygobject-2.28.6-x86_64-2.xzm
1708 pygtk-2.24.0-x86_64-1.txz
1916 pygtk-2.24.0-x86_64-1.xzm
9908 samba-4.1.0-x86_64-2.txz
10296 samba-4.1.0-x86_64-2.xzm
guest@porteus:~$
Ed
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: USM bug reports
- Shortcoming
Code: Select all
root@porteus:/home/guest# usm -S /home/guest/p10/Por/usm -g openjre-7u51_b31-i486-2gv.txz /usr/bin/usm: line 214: set_storage: command not found root@porteus:/home/guest# usm -S /home/guest/p10/Por/usm /usr/bin/usm: line 214: set_storage: command not found
- Anomaly (Replicated)
- Create & Activate Module
Code: Select all
root@porteus:/home/guest# usm -g openjre-7u51_b31-i486-2gv.txz ... Downloading: aaa_elflibs-14.1-i486-3.txz DONE ... Downloading: openjre-7u51_b31-i486-2gv.txz DONE ... Downloading: pygtk-2.24.0-i486-1.txz DONE root@porteus:/home/guest# deactivate openjre-7u51_b31-i486-2gv.xzm Updating shared library links: /sbin/ldconfig guest@porteus:~$ rm openjre-7u51_b31-i486-2gv.xzm guest@porteus:~$ cp p10/Por/tmp/usm/aaa_elflibs-14.1/openjre-7u51_b31-i486-2gv.txz . root@porteus:/home/guest# txz2xzm openjre-7u51_b31-i486-2gv.txz Verifying package openjre-7u51_b31-i486-2gv.txz. Installing package openjre-7u51_b31-i486-2gv.txz: ... Executing install script for openjre-7u51_b31-i486-2gv.txz. Package openjre-7u51_b31-i486-2gv.txz installed. Creating /home/guest/openjre-7u51_b31-i486-2gv.xzm root@porteus:/home/guest# activate openjre-7u51_b31-i486-2gv.xzm Updating shared library links: /sbin/ldconfig
- Redo Dependency Search
Code: Select all
root@porteus:/home/guest# usm -d /var/log/packages/openjre-7u51_b31-i486-2gv Processing openjre-7u51_b31-i486-2gv #################################### libmawt.so => not found Required by: openjre-7u51_b31-i486-2gv (/usr/lib/java/jre/lib/i386/libjawt.so) #################################### Searching libmawt.so: found 4 packages. Choose a package to download or choose 'None' to neglect 1) openjdk-7u65_b32-i486-1alien.txz 4) openjre-7u51_b31-i486-2gv.txz 2) openjre-7u51_b31-i486-2gv.txz 5) None 3) openjdk-7u65_b32-i486-1alien.txz #? 5 The following packages are ready to download: Press [r] to remove packages, [q] to quit, or enter to start downloading. root@porteus:/home/guest# usm -s libmawt.so ----------------------------- Are you searching for a library file? libmawt.so, it seems a library. Would you like to find the package for it? [y/n] libmawt.so was found in openjre-7u51_b31-i486-2gv.txz
- Create & Activate Module
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM bug reports
1) Thanks. This has already been reported.
2) Yes this is an anomaly. I created a process to accommodate these. You will probably find that the library in question is a symlink and doesn't appear in the /var/log/packages file.
Please open /etc/usm/suppliment-optifest.txt
and add the lines:
openjre-7u51_b31-i486-2gv.txz
libmawt.so
ENDOF
Test again. I will add this to the file for the next release. Thanks.
2) Yes this is an anomaly. I created a process to accommodate these. You will probably find that the library in question is a symlink and doesn't appear in the /var/log/packages file.
Please open /etc/usm/suppliment-optifest.txt
and add the lines:
openjre-7u51_b31-i486-2gv.txz
libmawt.so
ENDOF
Test again. I will add this to the file for the next release. Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 7671
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM bug reports
brokenman would it help if I send you my usm module so you can test it in Always Fresh mode and see if you can get samba and it's dependencies to merge?
Latest USM attempt:
Latest USM attempt:
Code: Select all
guest@porteus:~$ ls -s /tmp/usm
total 31600
236 gc-7.2d-x86_64-1.txz 16 libaio-0.3.109-x86_64-1.txz
252 gc-7.2d-x86_64-1.xzm 16 libaio-0.3.109-x86_64-1.xzm
2024 gnutls-3.1.16-x86_64-1.txz 400 libunistring-0.9.3-x86_64-1.txz
1728 gnutls-3.1.16-x86_64-1.xzm 412 libunistring-0.9.3-x86_64-1.xzm
3068 guile-2.0.9-x86_64-1.txz 9908 samba-4.1.0-x86_64-2.txz
3244 guile-2.0.9-x86_64-1.xzm 10296 samba-4.1.0-x86_64-2.xzm
guest@porteus:~$ ls -s /tmp
total 4
4 out 0 qtsingleapp-qlippe-2dfb-3e8= 0 usm/
0 plugtmp/ 0 qtsingleapp-qlippe-2dfb-3e8-lockfile 0 usm.RdryHD/
guest@porteus:~$ ls -s /tmp/usm.RdryHD
/bin/ls: cannot open directory /tmp/usm.RdryHD: Permission denied
guest@porteus:~$ su
Password:
root@porteus:/home/guest# ls -s /tmp/usm.RdryHD
total 28
4 filelist 0 sbocategs 0 term1.tmp 4 welcome.bak
4 help-pkgtools.tmp 4 searchType 4 vercheck.txt
4 sbo-categories.tmp 0 tailbox.dmp 4 welcome
root@porteus:/home/guest# usm -v
Usm is already active.
If this information is not correct, you can remove the following file and rerun the script:
/var/lock/usm
root@porteus:/home/guest# ls /var/lock/usm
/bin/ls: cannot access /var/lock/usm: No such file or directory
root@porteus:/home/guest#
Ed
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM bug reports
Not really since usm is machine dependent. It will give different results on different machines. Tomorrow I will boot a RazorQT boxand generate a merged samba module for you. After my current project I will push an update to USM.
Your ouput looks like you chose to convert each package to a module. Having both options (module and merge) makes no sense. I will take a look at the code tomorrow. 1am here now.
Your ouput looks like you chose to convert each package to a module. Having both options (module and merge) makes no sense. I will take a look at the code tomorrow. 1am here now.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 7671
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM bug reports
12:45am here.1am here now.
!! Wasn't expecting that.brokenman wrote:Not really since usm is machine dependent. It will give different results on different machines.
I truly appreciate that. But I would prefer figuring out how I can do it. I may run into the problem with other packages.Tomorrow I will boot a RazorQT boxand generate a merged samba module for you.
!! Another surprise. I thought to create a module, which I want samba to be, I had to select the Module option. And if it had dependencies that I want included I had to select Merge. Let me try single options tomorrow. I will get back to you.Your ouput looks like you chose to convert each package to a module. Having both options (module and merge) makes no sense.
Thanks brokenman.

Ed
- Ed_P
- Contributor
- Posts: 7671
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM bug reports
Ok. This is what I see.
So if I want a single samba module with all it's dependencies included I use the USM Merge modules option and when USM finishes I have to manually run dir2xzm on the /tmp/usm directory with all the .txz files. Yes?
Code: Select all
guest@porteus:~$ ls -s /tmp/usm
total 15648
236 gc-7.2d-x86_64-1.txz 16 libaio-0.3.109-x86_64-1.txz
2020 gnutls-3.1.25-x86_64-1_slack14.1.txz 400 libunistring-0.9.3-x86_64-1.txz
3068 guile-2.0.9-x86_64-1.txz 9908 samba-4.1.0-x86_64-2.txz
guest@porteus:~$ su
Password:
root@porteus:/home/guest# usm -v
You are using USM version: 3.1.2
root@porteus:/home/guest# echo Above directory result of USM Merge modules option.
Above directory result of USM Merge modules option.
root@porteus:/home/guest# rm /tmp/usm/*
root@porteus:/home/guest# ls /tmp/usm
root@porteus:/home/guest# ls -s /tmp/usm
total 31604
236 gc-7.2d-x86_64-1.txz
252 gc-7.2d-x86_64-1.xzm
2020 gnutls-3.1.25-x86_64-1_slack14.1.txz
1736 gnutls-3.1.25-x86_64-1_slack14.1.xzm
3068 guile-2.0.9-x86_64-1.txz
3244 guile-2.0.9-x86_64-1.xzm
16 libaio-0.3.109-x86_64-1.txz
16 libaio-0.3.109-x86_64-1.xzm
400 libunistring-0.9.3-x86_64-1.txz
412 libunistring-0.9.3-x86_64-1.xzm
9908 samba-4.1.0-x86_64-2.txz
10296 samba-4.1.0-x86_64-2.xzm
root@porteus:/home/guest# echo Above directory result of USM Convert to modules option.
Ed
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM bug reports
No you don't need to do it manually. Are you using the command line interface or the GUI? Here is my output from a merge command using CLI.
As you can see there is a file with a 'bundle' suffix containing all the packages in one. Please upload your usm package so I can check it out.
Code: Select all
root@yourhostname:/# usm -g libisoburn
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) libisoburn-1.3.4-x86_64-1gv.txz
#? 1
Processing: libisoburn-1.3.4-x86_64-1gv.txz
Libraries required: 10
Libraries found in system: 7
Libraries to resolve: 3
Processing library: libburn.so.4
Processing library: libisoburn.so.1
Processing library: libisofs.so.6
Processing: libburn-1.3.4-x86_64-1gv.txz
Libraries required: 2
Libraries found in system: 1
Libraries to resolve: 1
Processing library: libburn.so.4
Processing: libisofs-1.3.4-x86_64-1gv.txz
Libraries required: 4
Libraries found in system: 4
Libraries to resolve: 0
The following packages are required.
libburn-1.3.4-x86_64-1gv.txz [266K]
libisoburn-1.3.4-x86_64-1gv.txz [622K]
libisofs-1.3.4-x86_64-1gv.txz [205K]
Total size: 1 MB
Multiple packages were detected.
Would you like to merge the packages into one module? [y/n] y
Press [r] to remove packages, [q] to quit, or enter to start downloading.
Downloading: libburn-1.3.4-x86_64-1gv.txz DONE
Downloading: libisoburn-1.3.4-x86_64-1gv.txz DONE
Downloading: libisofs-1.3.4-x86_64-1gv.txz DONE
libburn-1.3.4-x86_64-1gv: a library for reading, mastering and writing o [770K]
libisoburn-1.3.4-x86_64-1gv: a frontend for libraries libburn and libiso [1.5M]
libisofs-1.3.4-x86_64-1gv: a library to create an ISO-9660 filesystem [680K]
Parallel mksquashfs: Using 8 processors
Creating 4.0 filesystem on /tmp/usm/libburn-1.3.4-x86_64-bundle.xzm, block size 262144.
[===============================================================================================================================================================================-] 60/60 100%
root@yourhostname:/# ls /tmp/usm
libburn-1.3.4-x86_64-1gv.txz libburn-1.3.4-x86_64-bundle.xzm libisoburn-1.3.4-x86_64-1gv.txz libisofs-1.3.4-x86_64-1gv.txz
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 7671
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM bug reports
GUIbrokenman wrote:Are you using the command line interface or the GUI?
8!! Nice machine!!Parallel mksquashfs: Using 8 processors
I PMed you the link. Hopefully it works.Please upload your usm package so I can check it out.
Thank you brokenman.

Ed
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM bug reports
My dev machine is fast as lightning. I'm always compiling something in the background.
I will push another USM update tonight or tomorrow which address several bugs.
I will push another USM update tonight or tomorrow which address several bugs.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: USM bug reports
brokenman wrote:2) Yes this is an anomaly. I created a process to accommodate these. You will probably find that the library in question is a symlink and doesn't appear in the /var/log/packages file.
Please open /etc/usm/suppliment-optifest.txt
and add the lines:
openjre-7u51_b31-i486-2gv.txz
libmawt.so
ENDOF
Test again.
Code: Select all
root@porteus:/home/guest# vi /etc/usm/suppliment-optifest.txt root@porteus:/home/guest# cat /etc/usm/suppliment-optifest.txt clucene-2.3.3.4-x86_64-2.txz libclucene-core.so.1 libclucene-shared.so.1 ENDOF clucene-2.3.3.4-i486-2.txz libclucene-core.so.1 libclucene-shared.so.1 ENDOF vlc-2.1.3-x86_64-1alien.txz libvlc.so.5 ENDOF vlc-2.1.3-i486-1alien.txz libvlc.so.5 ENDOF openjre-7u51_b31-i486-2gv.txz libmawt.so ENDOF
Code: Select all
root@porteus:/home/guest# usm -d /var/log/packages/openjre-7u51_b31-i486-2gv Processing openjre-7u51_b31-i486-2gv #################################### libmawt.so => not found Required by: openjre-7u51_b31-i486-2gv (/usr/lib/java/jre/lib/i386/libjawt.so) #################################### Searching libmawt.so: found 4 packages. Choose a package to download or choose 'None' to neglect 1) openjdk-7u65_b32-i486-1alien.txz 4) openjre-7u51_b31-i486-2gv.txz 2) openjre-7u51_b31-i486-2gv.txz 5) None 3) openjdk-7u65_b32-i486-1alien.txz #? 5 The following packages are ready to download: Press [r] to remove packages, [q] to quit, or enter to start downloading.
Code: Select all
guest@porteus:~$ ldd /usr/lib/java/jre/lib/i386/libjawt.so linux-gate.so.1 (0xb77d5000) libawt.so => /usr/lib/java/jre/lib/i386/libawt.so (0xb771d000) libmawt.so => not found libjava.so => /usr/lib/java/jre/lib/i386/libjava.so (0xb76e6000) libjvm.so => /usr/lib/libjvm.so (0xb6a48000) libc.so.6 => /lib/libc.so.6 (0xb68bc000) libm.so.6 => /lib/libm.so.6 (0xb687a000) libdl.so.2 => /lib/libdl.so.2 (0xb6875000) libverify.so => /usr/lib/java/jre/lib/i386/libverify.so (0xb6869000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6781000) libpthread.so.0 => /lib/libpthread.so.0 (0xb6766000) /lib/ld-linux.so.2 (0xb77d6000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb674a000)

Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB