USM bug reports
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: USM bug reports
I didn't use a version number because USM will uninstall the existing version during an update. Instead of jumping through hoops to figure out the previous installed version, it is simply 0.0 since it is also not arch dependent. The version is identified through the -v command (or GUI).
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: 8658
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: USM bug reports
But if one updates the USM, shuts down USM, then restarts it and goes to update the databases having USM display a msg indicating USM needs to be updated is misleading and illogical. imo
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: USM bug reports
And does this happen for you Ed_P?
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: 8658
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: USM bug reports
Yes.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: USM bug reports
Please check again to see if it is fixed. I put the wrong date in the config file on the server. Thanks for reporting.
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.
Re: USM bug reports
@brokenman
As I was the original reporter of the USM update issue, until Ed_P replies I can confirm the bug is now fixed my end.
Clicking on update for USM now gives message that "You have the current USM version"
thanks for fixing
As I was the original reporter of the USM update issue, until Ed_P replies I can confirm the bug is now fixed my end.
Clicking on update for USM now gives message that "You have the current USM version"
thanks for fixing
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: USM bug reports
Thanks for reporting it. Simple thing I never would have caught until next upgrade.
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
Experiment Sequence
/etc/usm/usm.conf
/etc/usm/usm.conf
/etc/usm/usm.conf
/etc/usm/usm.conf
Code: Select all
# Storage of database files (e.g PACKAGES.TXT)
DBDIR=/opt/usm
# usm works with the repositories of various slackware based distros.
# The variable below is used to find the mirror for each distro given.
# The mirror files are stored in ${DBDIR}/mirrors-distro.txt
DISTROS="slackware slackwarepatches slacky salix alien"
Code: Select all
root@porteus:/home/guest# usm -u all
Starting alien database update
Downloading: vercheck.txt DONE
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
File verification was good.
Optimizing manifest
alien database updated.
Updating config file
Starting salix database update
Downloading: CHECKSUMS.md5 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz DONE
Downloading: OPTIFEST.gz DONE
salix database updated.
Starting slacky database update
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
File verification was good.
Optimizing manifest
slacky database updated.
Starting ponce database update
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
gzip: /opt/usm/ponce/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 226
Could not decompress: CHECKSUMS.md5.gz
==============================================================================
Code: Select all
# Storage of database files (e.g PACKAGES.TXT)
DBDIR=/var/usm
# usm works with the repositories of various slackware based distros.
# The variable below is used to find the mirror for each distro given.
# The mirror files are stored in ${DBDIR}/mirrors-distro.txt
DISTROS="slackware slackwarepatches slacky salix alien"
Code: Select all
root@porteus:/home/guest# usm -u all
Starting alien database update
Downloading: vercheck.txt DONE
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
File verification was good.
Optimizing manifest
alien database updated.
Starting salix database update
Downloading: CHECKSUMS.md5 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz DONE
Downloading: OPTIFEST.gz DONE
salix database updated.
Starting slacky database update
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
File verification was good.
Optimizing manifest
slacky database updated.
Starting ponce database update
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
gzip: /var/usm/ponce/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 226
Could not decompress: CHECKSUMS.md5.gz
==============================================================================
Code: Select all
# Storage of database files (e.g PACKAGES.TXT)
DBDIR=/var/usm
# usm works with the repositories of various slackware based distros.
# The variable below is used to find the mirror for each distro given.
# The mirror files are stored in ${DBDIR}/mirrors-distro.txt
DISTROS="slackware slackwarepatches slacky salix alien ponce"
# Where packages will be downloaded to.
STORAGE=/tmp/usm
Code: Select all
root@porteus:/home/guest# usm -u all
alien was updated 149 seconds ago. Skipping.
salix was updated 144 seconds ago. Skipping.
slacky was updated 137 seconds ago. Skipping.
Starting ponce database update
Downloading: vercheck.txt DONE
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
Optimizing manifest
ponce database updated.
Starting slackware database update
Downloading: CHECKSUMS.md5 DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz DONE
File verification was good.
Optimizing manifest
slackware database updated.
Starting slackwarepatches database update
Downloading: CHECKSUMS.md5 DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz DONE
File verification was good.
Optimizing manifest
slackwarepatches database updated.
Starting sbo database update
SLACKBUILDS.TXT.gz
Downloading: SLACKBUILDS.TXT.gz DONE
sbo database updated.
Downloading: extra-deps.txt DONE
Downloading: ignore-deps.txt DONE
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
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: USM bug reports
An installed dependency is downloaded all the same and activated. No option given to omit it.
Code: Select all
usm -g kdepim-runtime
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) kdepim-runtime-4.10.5-i486-1.txz
#? 1
Processing: kdepim-runtime-4.10.5-i486-1.txz
Ignored libraries:
Libraries required: 59
Libraries found in system: 31
Libraries to resolve: 28
Processing library: libQtXmlPatterns.so.4
More than one package contains: libQtXmlPatterns.so.4
qt-4.8.5-i486-2.txz 28316K slackware
qt-4.8.7-i486-1_slack14.1.txz 28768K slackwarepatches
paraview-4.0.1-i486-2_slack.txz 85504K slackonly
copasi-4.16.104-i486-1_slack.txz 25700K slackonly
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) qt-4.8.5-i486-2.txz 3) paraview-4.0.1-i486-2_slack.txz
2) qt-4.8.7-i486-1_slack14.1.txz 4) copasi-4.16.104-i486-1_slack.txz
#? 1
...
The following packages are required.
akonadi-1.9.2-i486-1.txz [688K] [not installed]
boost-1.54.0-i486-3.txz [7244K] [not installed]
gpgme-1.4.1-i486-1.txz [236K] [not installed]
gst-plugins-base-0.10.36-i486-2.txz [1312K] [not installed]
gstreamer-0.10.36-i486-2.txz [1332K] [not installed]
kdepim-runtime-4.10.5-i486-1.txz [2352K] [not installed]
kdepimlibs-4.10.5-i486-1.txz [3664K] [not installed]
libaio-0.3.109-i486-1.txz [16K] [not installed]
libassuan-2.1.0-i486-1.txz [104K] [not installed]
libical-1.0-i486-1.txz [228K] [not installed]
libiodbc-3.52.7-i486-2.txz [240K] [not installed]
libvisual-0.4.0-i486-3.txz [132K] [not installed]
mariadb-5.5.32-i486-1.txz [20392K] [not installed]
nepomuk-core-4.10.5-i486-1.txz [736K] [not installed]
qt-4.8.5-i486-2.txz [28316K] [installed]
...
Total size: 66 MB
Multiple packages were detected.
Would you like to merge the packages into one module? [y/n] n
Would you like to create a subfolder for the files? [y/n] y
Would you like to install the package/s? (custom paths are supported) [y/n] n
Press [r] to remove packages, [q] to quit, or enter to start downloading.
...
Downloading: akonadi-1.9.2-i486-1.txz DONE
Downloading: boost-1.54.0-i486-3.txz DONE
Downloading: gpgme-1.4.1-i486-1.txz DONE
Downloading: gst-plugins-base-0.10.36-i486-2.txz DONE (already in /tmp/usm)
Downloading: gstreamer-0.10.36-i486-2.txz DONE (already in /tmp/usm + module)
Downloading: kdepim-runtime-4.10.5-i486-1.txz DONE
Downloading: kdepimlibs-4.10.5-i486-1.txz DONE
Downloading: libaio-0.3.109-i486-1.txz DONE
Downloading: libassuan-2.1.0-i486-1.txz DONE
Downloading: libical-1.0-i486-1.txz DONE (already in /tmp/usm + module)
Downloading: libiodbc-3.52.7-i486-2.txz DONE
Downloading: libvisual-0.4.0-i486-3.txz DONE (already in /tmp/usm)
Downloading: mariadb-5.5.32-i486-1.txz DONE
Downloading: nepomuk-core-4.10.5-i486-1.txz DONE
Downloading: qt-4.8.5-i486-2.txz DONE
Commencing package conversion ...
Verifying package akonadi-1.9.2-i486-1.txz.
...
Verifying package qt-4.8.5-i486-2.txz.
xz: /lib/liblzma.so.5: no version information available (required by xz)
xz: /lib/liblzma.so.5: no version information available (required by xz)
Installing package qt-4.8.5-i486-2.txz:
PACKAGE DESCRIPTION:
# Qt (a multi-platform C++ graphical user interface toolkit)
#
# Qt is a complete and well-developed object-oriented framework for
# developing graphical user interface (GUI) applications using C++.
#
# Homepage: http://qt-project.org/
#
Executing install script for qt-4.8.5-i486-2.txz.
Package qt-4.8.5-i486-2.txz installed.
Creating /tmp/usm/kdepim-runtime-4.10.5/qt-4.8.5-i486-2.xzm
Updating shared library links: /sbin/ldconfig
Updating KDE menu: kbuildsycoca4
Code: Select all
loop16 7:16 0 688K 1 loop /mnt/live/memory/images/akonadi-1.9.2-i486-1.xzm
loop17 7:17 0 8.5M 1 loop /mnt/live/memory/images/boost-1.54.0-i486-3.xzm
loop18 7:18 0 272K 1 loop /mnt/live/memory/images/gpgme-1.4.1-i486-1.xzm
loop19 7:19 0 1.5M 1 loop /mnt/live/memory/images/gst-plugins-base-0.10.36-i486-2.xz
loop20 7:20 0 1.6M 1 loop /mnt/live/memory/images/gstreamer-0.10.36-i486-2.xzm
loop21 7:21 0 2.6M 1 loop /mnt/live/memory/images/kdepim-runtime-4.10.5-i486-1.xzm
loop22 7:22 0 3.8M 1 loop /mnt/live/memory/images/kdepimlibs-4.10.5-i486-1.xzm
loop23 7:23 0 16K 1 loop /mnt/live/memory/images/libaio-0.3.109-i486-1.xzm
loop24 7:24 0 96K 1 loop /mnt/live/memory/images/libassuan-2.1.0-i486-1.xzm
loop25 7:25 0 244K 1 loop /mnt/live/memory/images/libical-1.0-i486-1.xzm
loop26 7:26 0 240K 1 loop /mnt/live/memory/images/libiodbc-3.52.7-i486-2.xzm
loop27 7:27 0 128K 1 loop /mnt/live/memory/images/libvisual-0.4.0-i486-3.xzm
loop28 7:28 0 37.1M 1 loop /mnt/live/memory/images/mariadb-5.5.32-i486-1.xzm
loop29 7:29 0 748K 1 loop /mnt/live/memory/images/nepomuk-core-4.10.5-i486-1.xzm
loop30 7:30 0 29M 1 loop /mnt/live/memory/images/qt-4.8.5-i486-2.xzm
guest@porteus:~$ sudo usm -v
You are using USM version: 3.1.9
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
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Re: USM bug reports
Since the update of usm via usm again not worked for me (sometimes it works, but most times it fails and I have not found out why) another even stranger thing now happened:
I downloaded usm from http://sourceforge.net/projects/usm/fil ... rce=navbar , renamed the xzm to reflect the version number and activated it:
Then I asked usm which version it now has, and it told me: still 3.1.7!
Then I asked the files itself aka usm's own version.txt what version they are and this is where it gets weird:
When I activate a module, the existing file, here /etc/usm/version.txt should be "overwritten" by a same file with the fully qualified file name, in this case, /etc/usm/version.txt should be the same as /mnt/live/memory/images/usm-3.1.9-noarch-1.xzm/etc/usm/version.txt, and both should have USMVERSION=3.1.9; but as you can see in the code above, it is not.
Why is that so? How can that happen at all?
//Update
I now checked with md5sum not only the version.txt, but also usr/bin/usm itself, and it is even more strange:
See? For some very weird reason, the version.txt in /etc was not updated by activating the usm module, but usm itself was, and I presume all other files or at least some have been updated as well.
But why was etc/usm/version.txt omitted from being updated?
Me thinks I finally caught the reason why usm acts so weird on my system, but the question remains: How can that even be possible at all?
Here the file permissions:
I now will check if the file is immune against changes, I will update soon.
//UPDATE2
Seems, lsattr is not possible on the files in the live system:
Then I just tried copying the version.txt from the activated module to its live system file:
That worked, but that is not what should be needed to do, now is it?
When I create a module for any updated or new program, then all files, including all setup files need to be updated in the live system as well.
There was no usm or usmgui running while I did all that, and as you can see, as simple cp was able to replace the outdated version.txt.
But why was activate not able to do so?
I downloaded usm from http://sourceforge.net/projects/usm/fil ... rce=navbar , renamed the xzm to reflect the version number and activated it:
Code: Select all
rava@porteus:/mnt/live/memory/images$ file usm-3.1.9-noarch-1.xzm/
usm-3.1.9-noarch-1.xzm/: directory
Code: Select all
root@porteus:/mnt# usm -v
You are using USM version: 3.1.7
Code: Select all
rava@porteus:/mnt/live/memory/images$ grep USMVERSION usm-3.1.9-noarch-1.xzm/etc/usm/version.txt
USMVERSION=3.1.9
rava@porteus:/mnt/live/memory/images$ grep USMVERSION /etc/usm/version.txt
USMVERSION=3.1.7
Why is that so? How can that happen at all?
//Update
I now checked with md5sum not only the version.txt, but also usr/bin/usm itself, and it is even more strange:
Code: Select all
rava@porteus:/mnt/live/memory/images$ md5sum USMVERSION usm-3.1.9-noarch-1.xzm/usr/bin/usm /usr/bin/usm
md5sum: USMVERSION: No such file or directory
5abb90e28f7eddf6ea7cdba9bf48d6f8 usm-3.1.9-noarch-1.xzm/usr/bin/usm
5abb90e28f7eddf6ea7cdba9bf48d6f8 /usr/bin/usm
rava@porteus:/mnt/live/memory/images$ md5sum usm-3.1.9-noarch-1.xzm/etc/usm/version.txt /etc/usm/version.txt
0492f3be27b597f5bcf566901a022d68 usm-3.1.9-noarch-1.xzm/etc/usm/version.txt
9d06a0c2811d2b89f7c5a36793d04e4a /etc/usm/version.txt
But why was etc/usm/version.txt omitted from being updated?
Me thinks I finally caught the reason why usm acts so weird on my system, but the question remains: How can that even be possible at all?
Here the file permissions:
Code: Select all
rava@porteus:/mnt/live/memory/images$ ls -l usm-3.1.9-noarch-1.xzm/etc/usm/version.txt /etc/usm/version.txt
-rw-r--r-- 1 root root 160 Dec 14 12:35 /etc/usm/version.txt
-rw-r--r-- 1 root root 166 Sep 25 00:26 usm-3.1.9-noarch-1.xzm/etc/usm/version.txt
//UPDATE2
Seems, lsattr is not possible on the files in the live system:
Code: Select all
root@porteus:/mnt# lsattr /etc/usm/version.txt
lsattr: Inappropriate ioctl for device While reading flags on /etc/usm/version.txt
Code: Select all
root@porteus:/mnt# cp /mnt/live/memory/images/usm-3.1.9-noarch-1.xzm/etc/usm/version.txt /etc/usm/version.txt
cp: overwrite ‘/etc/usm/version.txt’? y
root@porteus:/mnt# md5sum /mnt/live/memory/images/usm-3.1.9-noarch-1.xzm/etc/usm/version.txt /etc/usm/version.txt
0492f3be27b597f5bcf566901a022d68 /mnt/live/memory/images/usm-3.1.9-noarch-1.xzm/etc/usm/version.txt
0492f3be27b597f5bcf566901a022d68 /etc/usm/version.txt
root@porteus:/mnt# usm -v
You are using USM version: 3.1.9
When I create a module for any updated or new program, then all files, including all setup files need to be updated in the live system as well.
There was no usm or usmgui running while I did all that, and as you can see, as simple cp was able to replace the outdated version.txt.
But why was activate not able to do so?
Cheers!
Yours Rava
Yours Rava
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: USM bug reports
@Rava
If running AF, why not just install the usm package, and forget about the module?
If running AF, why not just install the usm package, and forget about the 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
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Re: USM bug reports
^
What do you mean by AF?
At least after a reboot, usm -v giv4es me the right version number, but the error is the same as ever: It finds packages, but when I want to download it, it always tells me nothing to be found.
See? That is always happening like so, after "usm -u all", it finds file okay with "usm -s", gives info to files okay, but trying to download always ends with the same "Nothing found for:" error.
What do you mean by AF?
At least after a reboot, usm -v giv4es me the right version number, but the error is the same as ever: It finds packages, but when I want to download it, it always tells me nothing to be found.
Code: Select all
root@porteus:~# usm -v
You are using USM version: 3.1.9
root@porteus:~# usm -s GraphicsMagick
GraphicsMagick-1.3.21-x86_64-2_slack.txz was found in slackonly [not installed]
GraphicsMagick-1.3.19-x86_64-1sl.txz was found in slacky [not installed]
Packages found: 2
Use: usm -i <package> for more info
Use: usm -g <package> to download
root@porteus:~# usm -i GraphicsMagick-1.3.21-x86_64-2_slack.txz
Package: GraphicsMagick-1.3.21-x86_64-2_slack.txz (2000 K) [not installed]
GraphicsMagick: GraphicsMagick (Image Processing System)
GraphicsMagick:
GraphicsMagick: GraphicsMagick is the swiss army knife of image processing.
GraphicsMagick: Provides a robust and efficient collection of tools and libraries
GraphicsMagick: which support reading, writing, and manipulating an image in over
GraphicsMagick: 88 major formats including important formats like DPX, GIF, JPEG,
GraphicsMagick: JPEG-2000, PNG, PDF, PNM, and TIFF.
GraphicsMagick:
GraphicsMagick: Home Page: http://www.graphicsmagick.org/
GraphicsMagick:
GraphicsMagick: This package built @WITHTCL@ Tcl/Tk support (TclMagick)
root@porteus:~# usm -g GraphicsMagick-1.3.21-x86_64-2_slack.txz
Nothing found for: GraphicsMagick-1.3.21-x86_64-2_slack.txz
Cheers!
Yours Rava
Yours Rava
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Re: USM bug reports
UPDATE
Found a possible hint to whats going wrong with my usm
Now, after reboot, it makes the very same error again.
After I updated its databases, the file /etc/usm/ignore-deps.txt gets replaced by a downloaded gzipped html file, that is still named ignore-deps.txt
Same happens with /etc/usm/extra-deps.txt
Here what mcedit shows me of the files start:
Like last time, its html title is both times
brokenman, do you have any idea what could cause usm to act that way?
_____________________
UPDATE2
To check how it is happening, I reverted all back to the original state (by deactivating 3.1.9 xzm and copying the files from /mnt/live/memory/images/001-core.xzm/etc/usm to /etc/usm and did a usm -u all
While it downloaded its database update, nothing was wrong with the two /etc/usm files, but as soon as usm told me at the end
again it created the gzipped html files like I described above:
I also checked /usr/share/usm and all the files there are the ones from version 3.1.7 as it should be after I deactivated the 3.1.9 xzm module...
___________________
UPDATE3
I again activated the usm-3.1.9 module.
All files in /usr/share/usm have been updated.
Three files in /etc/usm have not been updated but are the same as before, the very same as yesterday:
version.txt extra-deps.txt and ignore-deps.txt
So, I again downloaded the most recent usm from http://sourceforge.net/projects/usm/fil ... m/download and did a md5sum on it, and one the one I put into my /porteus/base prior reboot:
Both are the same, but only brokenman can confirm if the md5sum is correct.
Now instead of once again deactivating and activating it all over again, I try installing the txz instead... Stay tuned.
Found a possible hint to whats going wrong with my usm
Now, after reboot, it makes the very same error again.
After I updated its databases, the file /etc/usm/ignore-deps.txt gets replaced by a downloaded gzipped html file, that is still named ignore-deps.txt
Same happens with /etc/usm/extra-deps.txt
Here what mcedit shows me of the files start:
Code: Select all
/etc/usm/ignore-deps.txt 1292/8192+
<!doctype html>
<!-- Server: sfs-consume-17 -->
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]>--> <html lang="en" class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta id="project_name" name="project_name" content="usm">
<meta name="description" content="Unified Slackware package manager">
<meta name="keywords" content="Packaging, Systems Administration, Open
Source, Open Source Software, Development, Community, Source Code, Secure, Down
loads, Free Software">
<noscript>
<meta http-equiv="refresh" content="5; url=http://downloads.sourceforge.net/
project/usm/configs/ignore-deps.txt?r=http%3A%2F%2Fwww.google.com&ts=1450945
705&use_mirror=netassist">
</noscript>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Download usm from SourceForge.net</title>
<link rel="shortcut icon" href="//a.fsdn.com/con/img/sftheme/favicon.ico
">
<!-- CCM Tag -->
<script type="text/javascript">
//ccm informer
Code: Select all
<title>Download usm from SourceForge.net</title>
_____________________
UPDATE2
To check how it is happening, I reverted all back to the original state (by deactivating 3.1.9 xzm and copying the files from /mnt/live/memory/images/001-core.xzm/etc/usm to /etc/usm and did a usm -u all
While it downloaded its database update, nothing was wrong with the two /etc/usm files, but as soon as usm told me at the end
Code: Select all
Downloading: extra-deps.txt DONE
Downloading: ignore-deps.txt DONE
Code: Select all
root@porteus:/etc/usm# ls -o extra-deps.txt ignore-deps.txt
-rw-r--r-- 1 root 16279 Dec 24 20:16 extra-deps.txt
-rw-r--r-- 1 root 16291 Dec 24 20:16 ignore-deps.txt
root@porteus:/etc/usm# file extra-deps.txt ignore-deps.txt
extra-deps.txt: gzip compressed data, from Unix, max speed
ignore-deps.txt: gzip compressed data, from Unix, max speed
___________________
UPDATE3
I again activated the usm-3.1.9 module.
All files in /usr/share/usm have been updated.
Three files in /etc/usm have not been updated but are the same as before, the very same as yesterday:
version.txt extra-deps.txt and ignore-deps.txt
So, I again downloaded the most recent usm from http://sourceforge.net/projects/usm/fil ... m/download and did a md5sum on it, and one the one I put into my /porteus/base prior reboot:
Code: Select all
root@porteus:/mnt/downloaded# md5sum usm-latest-0.0-noarch-1.xzm /x/porteus/base/100-usm-3.1.9-noarch-1.xzm
280a9db46ee87397d44a293a2731394f usm-latest-0.0-noarch-1.xzm
280a9db46ee87397d44a293a2731394f /x/porteus/base/100-usm-3.1.9-noarch-1.xzm
Now instead of once again deactivating and activating it all over again, I try installing the txz instead... Stay tuned.
Cheers!
Yours Rava
Yours Rava
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: USM bug reports
@Rava
Come across this issue before. Something to do with the search algorithm:Using the shorter string brings up more matches!
Come across this issue before. Something to do with the search algorithm:
Code: Select all
root@porteus:/home/guest# usm -s graphicsmagick
GraphicsMagick-1.3.19-i486-1sl.txz was found in slacky [not installed]
Packages found: 1
Use: usm -i <package> for more info
Use: usm -g <package> to download
root@porteus:/home/guest# usm -g GraphicsMagick-1.3.19-i486-1sl.txz
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) GraphicsMagick-1.3.19-i486-1sl.txz
#? ^C
root@porteus:/home/guest# usm -g graphicsmagick
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) GraphicsMagick-1.3.19-i486-1sl.txz
2) GraphicsMagick-1.3.21-i486-1_slack.txz
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
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Re: USM bug reports
Now, downloaded the txz from http://sourceforge.net/projects/usm/files/ and done this:
Most probably it only not did the same error with extra-deps.txt and ignore-deps.txt cause usm thought they have been updated 81 seconds ago, which sure was not when I updated them, most probably it was the time I did the installpkg usm-latest-0.0-noarch-1.txz
Still, I cannot install nothing:
while it still finds stuff:
UPDATE
I now also did a manual download from http://sourceforge.net/projects/usm/files/ , downloading vercheck.txt and extra-deps.txt, putting them both into /etc/usm but the above error stays the same, usm finds stuff, but is unable to download anything...
I also looked into /var/usm and the files there at least look like they have been downloaded just okay:
To verify the error, here another attempt in finding another package: gimp
UPDATE3
Since I looked into the usm code,I realized it either uses curl or wget for downloading, so here is info about these in my Porteus 3.1 x86-64 XFCe :
Me thinks, only brokenman is able to sort out this messy behaviour of usm. Hopefully...
Unless... I created a local /home/rava/.wgetrc as you can see above, that cloaks wget so that sites think its an Firefox, and not wget. But that is a setting by user rava, not a setting that any instance of wget started by root should use...
Code: Select all
root@porteus:/tmp# installpkg usm-latest-0.0-noarch-1.txz
Verifying package usm-latest-0.0-noarch-1.txz.
Installing package usm-latest-0.0-noarch-1.txz:
PACKAGE DESCRIPTION:
Package usm-latest-0.0-noarch-1.txz installed.
root@porteus:/tmp# usm -u all
alien was updated 1683 seconds ago. Skipping.
salix was updated 1678 seconds ago. Skipping.
slacky was updated 1673 seconds ago. Skipping.
ponce was updated 1670 seconds ago. Skipping.
slackware was updated 1659 seconds ago. Skipping.
slackwarepatches was updated 1645 seconds ago. Skipping.
Starting slackonly database update
Downloading: vercheck.txt DONE
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
File verification was good.
Optimizing manifest
slackonly database updated.
sbo was updated 37 seconds ago. Skipping.
extra-deps.txt was updated 81 seconds ago. Skipping.
ignore-deps.txt was updated 81 seconds ago. Skipping.
You can change the time limit for skipping in: /etc/usm/usm.conf
The default is 3 hours
Still, I cannot install nothing:
Code: Select all
root@porteus:/etc/usm# usm -g graphicsmagick
Nothing found for: graphicsmagick
Code: Select all
root@porteus:/etc/usm# usm -s graphicsmagick
GraphicsMagick-1.3.21-x86_64-2_slack.txz was found in slackonly [not installed]
GraphicsMagick-1.3.19-x86_64-1sl.txz was found in slacky [not installed]
Packages found: 2
Use: usm -i <package> for more info
Use: usm -g <package> to download
I now also did a manual download from http://sourceforge.net/projects/usm/files/ , downloading vercheck.txt and extra-deps.txt, putting them both into /etc/usm but the above error stays the same, usm finds stuff, but is unable to download anything...
I also looked into /var/usm and the files there at least look like they have been downloaded just okay:
Code: Select all
root@porteus:/var/usm# ls -o *
alien:
total 468
-rw-r--r-- 1 root 174266 Dec 22 14:19 CHECKSUMS.md5
-rw-r--r-- 1 root 56744 Dec 24 20:15 LIBS.TXT
-rw-r--r-- 1 root 91245 Dec 24 20:15 OPTIFEST
-rw-r--r-- 1 root 147729 Dec 24 20:15 PACKAGES.TXT
local:
total 72
-rw-r--r-- 1 root 70065 Dec 24 20:55 libs.txt
ponce:
total 580
-rw-r--r-- 1 root 190717 Aug 17 08:37 CHECKSUMS.md5
-rw-r--r-- 1 root 56766 Dec 24 20:15 LIBS.TXT
-rw-r--r-- 1 root 60966 Dec 24 20:15 OPTIFEST
-rw-r--r-- 1 root 281425 Aug 17 08:37 PACKAGES.TXT
salix:
total 612
-rw-r--r-- 1 root 74573 Dec 23 15:46 CHECKSUMS.md5
-rw-r--r-- 1 root 56744 Dec 24 20:15 LIBS.TXT
-rw-r--r-- 1 root 56754 Dec 24 20:15 OPTIFEST
-rw-r--r-- 1 root 432793 Dec 24 20:15 PACKAGES.TXT
sbo:
total 2784
-rw-r--r-- 1 root 2850622 Dec 24 20:16 SLACKBUILDS.TXT
slackonly:
total 8236
-rw-r--r-- 1 root 3709291 Dec 19 23:43 CHECKSUMS.md5
-rw-r--r-- 1 root 56904 Dec 24 20:44 LIBS.TXT
-rw-r--r-- 1 root 628502 Dec 24 20:44 OPTIFEST
-rw-r--r-- 1 root 4032201 Dec 19 23:26 PACKAGES.TXT
slackware:
total 1116
-rw-r--r-- 1 root 263541 Nov 3 2013 CHECKSUMS.md5
-rw-r--r-- 1 root 56830 Dec 24 20:16 LIBS.TXT
-rw-r--r-- 1 root 152124 Dec 24 20:16 OPTIFEST
-rw-r--r-- 1 root 663291 Dec 24 20:16 PACKAGES.TXT
slackwarepatches:
total 216
-rw-r--r-- 1 root 73335 Dec 23 23:57 CHECKSUMS.md5
-rw-r--r-- 1 root 57048 Dec 24 20:16 LIBS.TXT
-rw-r--r-- 1 root 38909 Dec 24 20:16 OPTIFEST
-rw-r--r-- 1 root 47432 Dec 23 23:57 PACKAGES.TXT
slacky:
total 552
-rw-r--r-- 1 root 156555 Jul 18 05:01 CHECKSUMS.md5
-rw-r--r-- 1 root 56785 Dec 24 20:15 LIBS.TXT
-rw-r--r-- 1 root 50852 Dec 24 20:15 OPTIFEST
-rw-r--r-- 1 root 294487 Jul 18 05:00 PACKAGES.TXT
To verify the error, here another attempt in finding another package: gimp
Code: Select all
root@porteus:/etc/usm# usm -s gimp
gimp-feca_hdr-plugin-2010.04.26-x86_64-1_slack.txz was found in slackonly [not installed]
gimp-lqr-plugin-0.7.1-x86_64-2_slack.txz was found in slackonly [not installed]
gimp-plugin-bimp-1.16-x86_64-1_slack.txz was found in slackonly [not installed]
gimp-wideangle-plugin-1.0.10-x86_64-2_slack.txz was found in slackonly [not installed]
gimp-gap-2.6.0-x86_64-5_slack.txz was found in slackonly [not installed]
gimp-help-2.8.2-x86_64-1_slack.txz was found in slackonly [not installed]
gimp-2.8.6-x86_64-1.txz was found in slackware [not installed]
Packages found: 7
Use: usm -i <package> for more info
Use: usm -g <package> to download
root@porteus:/etc/usm# usm -g gimp
Nothing found for: gimp
root@porteus:/etc/usm# usm -i gimp
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) gimp-feca_hdr-plugin-2010.04.26-x86_64-1_slack.txz
2) gimp-lqr-plugin-0.7.1-x86_64-2_slack.txz
3) gimp-plugin-bimp-1.16-x86_64-1_slack.txz
4) gimp-wideangle-plugin-1.0.10-x86_64-2_slack.txz
5) gimp-gap-2.6.0-x86_64-5_slack.txz
6) gimp-help-2.8.2-x86_64-1_slack.txz
7) gimp-2.8.6-x86_64-1.txz
#? 7
Package: gimp-2.8.6-x86_64-1.txz (12124 K) [not installed]
gimp: gimp (The GNU Image Manipulation Program)
gimp:
gimp: The GIMP is a powerful tool for the preparation and manipulation of
gimp: digital images. The GIMP provides the user with a wide variety of
gimp: image manipulation, painting, processing, and rendering tools. The
gimp: GIMP's open design and extensible architecture make for a very
gimp: powerful end product for photo and image retouching, web graphics
gimp: design, or digital illustration.
gimp:
root@porteus:/etc/usm# usm -g gimp
Nothing found for: gimp
Since I looked into the usm code,I realized it either uses curl or wget for downloading, so here is info about these in my Porteus 3.1 x86-64 XFCe :
Code: Select all
root@porteus:/etc/usm# type curl
curl is /usr/bin/curl
root@porteus:/etc/usm# type wget
wget is /usr/bin/wget
root@porteus:/etc/usm# curl
curl: try 'curl --help' or 'curl --manual' for more information
root@porteus:/etc/usm# wget
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
root@porteus:/etc/usm# curl --version
curl 7.36.0 (x86_64-unknown-linux-gnu) libcurl/7.36.0 OpenSSL/1.0.1c zlib/1.2.8 libidn/1.25
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
root@porteus:/etc/usm# wget --version
GNU Wget 1.14 built on linux-gnu.
+digest +https +ipv6 +iri +large-file +nls +ntlm +opie +ssl/openssl
Wgetrc:
/home/rava/.wgetrc (user)
/etc/wgetrc (system)
Locale: /usr/share/locale
Compile: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc"
-DLOCALEDIR="/usr/share/locale" -I. -I../lib -I../lib -O2 -fPIC
Link: gcc -O2 -fPIC -lssl -lcrypto -lz -ldl -lz -lz -lidn -luuid -lpcre
ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
Please send bug reports and questions to <bug-wget@gnu.org>.
Me thinks, only brokenman is able to sort out this messy behaviour of usm. Hopefully...
Unless... I created a local /home/rava/.wgetrc as you can see above, that cloaks wget so that sites think its an Firefox, and not wget. But that is a setting by user rava, not a setting that any instance of wget started by root should use...
Cheers!
Yours Rava
Yours Rava