Page 1 of 3

usm error

Posted: 02 Feb 2020, 09:34
by Kulle
Using usm -u all

Code: Select all

....
Downloading: LIBS.TXT.gz  DONE
gzip: /var/usm/slackonly/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 248
Could not decompress: CHECKSUMS.md5.gz
And now?
What can I do?

usm error

Posted: 02 Feb 2020, 14:08
by Ed_P
Well you could exit USM, restart USM, Update the databases individually skipping the slackonly one. :pardon:

usm error

Posted: 03 Feb 2020, 09:13
by Kulle
Thanks Ed_P
I tried again today.
usm worked today.
My advice: Wait a day if you have problems like this or similar with usm

usm error

Posted: 04 Feb 2020, 17:02
by Rava
Kulle wrote:
03 Feb 2020, 09:13
My advice: Wait a day if you have problems like this or similar with usm
Unfortunately, usm is not 100% error free. Aber machmal liegt der Fehler auch an den Daten der jeweiligen Distributionen. Und da kann dann usm nix für.

usm error

Posted: 05 Mar 2020, 21:47
by Shadow0815
usm also has a bug not liking some files in the current dir so if getting a module gives errors try cd to empty dir and then do usm -g package ...

usm error

Posted: 25 Mar 2021, 00:45
by francois
I git this output error:

Code: Select all

Starting slacky database update 
Downloading: CHECKSUMS.md5.gz  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT.gz  DONE
Downloading: LIBS.TXT.gz  DONE

gzip: /var/usm/slacky/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 248
Could not decompress: CHECKSUMS.md5.gz
 
============================================================================== 
Though I have the following no repo instructions in my slacky.txt

Code: Select all

# mirrors - List of Slacky Linux mirrors

## EUROPE
##http://repository.slacky.eu/

## UNITED KINGDOM
## http://slackware.org.uk/slacky

## SLOVAKIA
## http://slack.isper.sk/pub
Any explanation?
Thanks.

usm error

Posted: 25 Mar 2021, 10:37
by raja
uncomment "http://slackware.org.uk/slacky" and try!

usm error

Posted: 25 Mar 2021, 10:43
by beny
hi slacky repos is obsolete or outdated usm hang on this stone,try to use slpkg instead of usm,because you can choose the repository with usm you don't.

usm error

Posted: 05 Apr 2021, 10:27
by francois
Hello raja. I did it this way because the http://slackware.org.uk/slacky would not work.
It would freeze.

Code: Select all

root@porteus:~# usm -u all
slackware was updated 83 seconds ago. Skipping.
slackwarepatches was updated 73 seconds ago. Skipping.
 Starting slacky database update 
Downloading: vercheck.txt  DONE
Downloading: CHECKSUMS.md5.gz --> 
And the same for http://slack.isper.sk/pub

Code: Select all

root@porteus:~# usm -u all
slackware was updated 220 seconds ago. Skipping.
slackwarepatches was updated 210 seconds ago. Skipping.
 Starting slacky database update 
Downloading: vercheck.txt  DONE
Downloading: CHECKSUMS.md5.gz --> 
http://repository.slacky.eu/

Code: Select all

root@porteus:~# usm -u all
slackware was updated 300 seconds ago. Skipping.
slackwarepatches was updated 290 seconds ago. Skipping.
 Starting slacky 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/slacky/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 248
Could not decompress: CHECKSUMS.md5.gz
 
============================================================================== 

root@porteus:~#

usm error

Posted: 05 Apr 2021, 10:32
by francois
@beny:
There must be a way to remove slacky from the code. Isn´t it? I have looked the error messages and they are not present in the /usr/bin/usm script file. It must call some other scripts.

Code: Select all

root@porteus:~# usm -u slackonly
grep: /etc/usm/mirrors-slacky.txt: No such file or directory
 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. 


root@porteus:~# usm -g abiword
grep: /etc/usm/mirrors-slacky.txt: No such file or directory

 You are missing required database files! 
 Please run: usm -u all

root@porteus:~# usm -g abiword

 You are missing required database files! 
 Please run: usm -u all

root@porteus:~#
I will get to slpkg and to sbopkg. We will need them for porteus 5.0 anyway.
Thanks.

usm error

Posted: 05 Apr 2021, 13:38
by donald
francois wrote:
05 Apr 2021, 10:32
There must be a way to remove slacky from the code.
Hi francois
remove slacky from the DISTROS line:
DISTROS="slackware slackwarepatches salix alien ponce slackonly"
in /etc/usm/usm.conf

Code: Select all

root@porteus:/home/guest# usm -u all
 Starting slackware database update 
Downloading: vercheck.txt  DONE
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. 

Updating config file

 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 salix database update 
Downloading: CHECKSUMS.md5  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
Downloading: OPTIFEST.gz  DONE
 salix  database updated. 

 Starting alien 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
 alien  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
Optimizing manifest
 ponce  database updated. 

 Starting slackonly 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
 slackonly  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

root@porteus:/home/guest# 
EDIT
Another way to circumvent the "gzip: /var/usm/slacky/CHECKSUMS.md5.gz: unexpected end of file" error:
a)Leave usm.conf as is
b)Downlosd that file from the slacky repo > extract it [[ e.g. with P7ZIP [the extracted file is readable in a text editor]]
> copy the CHECKSUMS.md5 file into the /var/usm/slacky folder.
Should work - not tested yet. :)

usm error

Posted: 06 Apr 2021, 22:30
by francois
Donald you save my life! What is your address? I will send you some goodies from the Québec industrial complex.

And naturally it works. :D

usm error

Posted: 07 Apr 2021, 07:34
by Kulle
Hi Donald,
I tried your method.
But apparently you don't have to unzip

Code: Select all

 Starting slacky 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/slacky/CHECKSUMS.md5.gz: not in gzip format
          

==============================================================================
WARNING!        WARNING!        WARNING!        WARNING!        WARNING!
==============================================================================
One or more errors occurred while usm was running:                       
 
FATAL ERROR!
usm update_database 248
Could not decompress: CHECKSUMS.md5.gz

usm error

Posted: 07 Apr 2021, 09:46
by Kulle
"> copy the CHECKSUMS.md5 file into the /var/usm/slacky folder"

Even if I copy CHECKSUMS.md5.gz into the /var/usm/slacky folder, the error persists

Code: Select all

 Starting slacky 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/slacky/CHECKSUMS.md5.gz: not in gzip format

usm error

Posted: 07 Apr 2021, 10:12
by donald
Yep, forget the slacky crap, the mirrors [etc/usm/mirrors-slacky.txt] do not work at all
or deliver wrong files.

example: [ slackware.org.uk/slacky chosen in mirrors-slacky.txt ]

check the file (copied from /var/usm/slacky/)
guest@porteus:~/Test$ file CHECKSUMS.md5.gz
CHECKSUMS.md5.gz: HTML document, ASCII text, with very long lines
-- rename it .html > open in Browser = it is just the front page.

Conclusion:
Remove slacky from the DISTROS line -- until there is a working mirror.

Correct me if I'm wrong, isn't slacky the experimental (read slackware current) version
of salix?
If so, using this repo (w)could break the porteus install anyway.