usm error

Non release banter
Kulle
Warlord
Warlord
Posts: 591
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

usm error

Post#1 by Kulle » 02 Feb 2020, 09:34

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?

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

usm error

Post#2 by Ed_P » 02 Feb 2020, 14:08

Well you could exit USM, restart USM, Update the databases individually skipping the slackonly one. :pardon:
Ed

Kulle
Warlord
Warlord
Posts: 591
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

usm error

Post#3 by Kulle » 03 Feb 2020, 09:13

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

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

usm error

Post#4 by Rava » 04 Feb 2020, 17:02

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.
Cheers!
Yours Rava

Shadow0815
Black ninja
Black ninja
Posts: 33
Joined: 16 Jul 2015, 03:50
Distribution: Porteus,Xubuntu,Arch
Location: DE

usm error

Post#5 by Shadow0815 » 05 Mar 2020, 21:47

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 ...

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

usm error

Post#6 by francois » 25 Mar 2021, 00:45

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.
Prendre son temps, profiter de celui qui passe.

raja
Shogun
Shogun
Posts: 434
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and Porteus-Artix-64
Location: Chennai,India

usm error

Post#7 by raja » 25 Mar 2021, 10:37

uncomment "http://slackware.org.uk/slacky" and try!
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit

beny
Full of knowledge
Full of knowledge
Posts: 2083
Joined: 02 Jan 2011, 11:33
Location: italy

usm error

Post#8 by beny » 25 Mar 2021, 10:43

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.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

usm error

Post#9 by francois » 05 Apr 2021, 10:27

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:~#
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

usm error

Post#10 by francois » 05 Apr 2021, 10:32

@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.
Prendre son temps, profiter de celui qui passe.

donald
Full of knowledge
Full of knowledge
Posts: 2061
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

usm error

Post#11 by donald » 05 Apr 2021, 13:38

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. :)

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

usm error

Post#12 by francois » 06 Apr 2021, 22:30

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
Prendre son temps, profiter de celui qui passe.

Kulle
Warlord
Warlord
Posts: 591
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

usm error

Post#13 by Kulle » 07 Apr 2021, 07:34

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

Kulle
Warlord
Warlord
Posts: 591
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

usm error

Post#14 by Kulle » 07 Apr 2021, 09:46

"> 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

donald
Full of knowledge
Full of knowledge
Posts: 2061
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

usm error

Post#15 by donald » 07 Apr 2021, 10:12

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.

Post Reply