USM Error in Porteus 5

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"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
aitherkilin
Ronin
Ronin
Posts: 3
Joined: 22 Apr 2020, 02:15
Distribution: Porteus

USM Error in Porteus 5

Post#1 by aitherkilin » 22 Apr 2020, 02:41

i start a few days to use porteus 5 KDE version and the usm package manager dont work

this my usm info:
++++++++++++++++++++++++++++++
usm application information

USM version: 3.2.0
DB version: 161003
Current storage: /home/guest/usm/
Current config: /etc/usm/usm.conf
Current platform: Porteus-v5.0
Current arch: x86_64
Slackware Slackware 14.1+
Current kernel 5.1.5-porteus
Current distros: slacky sbo
quiet changes=/porteus initrd=/boot/syslinux/initrd.xz BOOT_IMAGE=/boot/syslinux/vmlinuz

i edit my usm.conf for use only a few repos, and for o reason usm try to update only alien repo and get error:

DISTROS="slacky sbo"


and this is the error:

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

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 270
Could not decompress: CHECKSUMS.md5.gz

==============================================================================

please help!and Thanks

User avatar
Ed_P
Contributor
Contributor
Posts: 8343
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

USM Error in Porteus 5

Post#2 by Ed_P » 22 Apr 2020, 03:53

USM doesn't work in the 5.0 test system.
Last edited by Ed_P on 16 Jul 2020, 17:54, edited 1 time in total.
Reason: I misspoke. :-(
Ed

michalpelszyk
White ninja
White ninja
Posts: 14
Joined: 16 Apr 2020, 17:42
Distribution: Porteus OpenBox

USM Error in Porteus 5

Post#3 by michalpelszyk » 22 Apr 2020, 18:37

Yeah, I found about it too.
Main problem is, I found, that it doesn't recognise when a file is unavailable at the expected location, creates an empty one and then tries to decompress it.
This is the gzip: /var/usm/alien/CHECKSUMS.md5.gz: unexpected end of file type of error. It would be great if the usm script knew the file does not exist and produced appropriate error.
For example, at the moment the default Slacky repository of repository.slacky.eu does not work.

Second thing is the procedure to update sbo does not work. It tries to download from https://slackbuilds.org/slackbuilds/current, but there is no "current" there.
It worked for me when I edited /usr/share/usm/funcupdateDatabase and changed line 89 from

Code: Select all

for a in $FILES; do echo $a; download $REPO_SBO/$SLACKVER/$a $SDIR; done
to

Code: Select all

for a in $FILES; do echo $a; download $REPO_SBO/14.2/$a $SDIR; done
With this workaround I was finally able to get usm to work on 5.0rc1 edition.

Post Reply