Porteus - USM error

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.
yldouright
Black ninja
Black ninja
Posts: 80
Joined: 04 Mar 2015, 16:27
Distribution: Porteus (slackware 12.1)
Location: NY

Firefox Quantum

Post#31 by yldouright » 26 Feb 2018, 15:29

Yeah, root got rid of it, thanks. Okay, so USM on Porteus 3.2.2 is acting weird on a Dell E6510 laptop install of Mate. I had the same issue on Mate with v3.2.0. After a fresh install you open USM and get the "Missing database files" message. You check and discover USM is the latest version but clicking download for "test-package-name-1.2.3-x86_64-1.txz" times out with no feedback in the terminal. You can't "USM:Updates:Update all" now that Salix and other databases are defunct (that command led to a broken system). I fixed this last time by editing my sources but is there an easier way to resolve this?

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

Firefox Quantum

Post#32 by Ed_P » 26 Feb 2018, 16:19

Yes, the 1st time you use USM on a new install you have to update the database(s), they are all empty. Yes, if a mirror is having problems you have to edit the source files. BUT this is a lot easier by using the sesm.sh script found here: [INFO & SCRIPT] Slackware Mirror Settings for USM
Ed

yldouright
Black ninja
Black ninja
Posts: 80
Joined: 04 Mar 2015, 16:27
Distribution: Porteus (slackware 12.1)
Location: NY

Firefox Quantum

Post#33 by yldouright » 26 Feb 2018, 16:27

Thanks Ed, do we have a list of the current "good sources" anywhere? If not, I'll post them in the bugs forum or make a tutorial. What do you make of the "test-package-name-1.2.3-x86_64-1.txz" download failure described in the post above? The link you provided starts with the "time usm -u all" command which has broken my install before so I'm hesitant to use it. Where do I get the "sesm.sh all" script? Why wouldn't it be better to just comment out or enable the lists in the "usm:settings:edit configuration files" command?

yldouright
Black ninja
Black ninja
Posts: 80
Joined: 04 Mar 2015, 16:27
Distribution: Porteus (slackware 12.1)
Location: NY

Porteus - usm error

Post#34 by yldouright » 26 Feb 2018, 16:30

I'm experiencing the same on a Dell E6510 laptop, fresh install of Porteus 3.2 with Mate. USM states it is the latest version if you try to update it. The update all command breaks the system. I mentioned the problem in this post. It seems the database doesn't update via USM.

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

Firefox Quantum

Post#35 by Ed_P » 26 Feb 2018, 17:16

yldouright wrote:
26 Feb 2018, 16:27
Thanks Ed, do we have a list of the current "good sources" anywhere?
Run the script and you will have a list. But the lists vary depending on the users location so what you might post for NY may not work as well for someone in Australia.
The link you provided starts with the "time usm -u all" command
You need to read the link again. The "usm -u all" command is number 2.. Number 1 is run the sesm.sh script.
Where do I get the "sesm.sh all" script?
It's after the number 4 point. Copy and paste it into your /home/guest/ folder.
Why wouldn't it be better to just comment out or enable the lists in the "usm:settings:edit configuration files" command?
That works but IMHO the sesm.sh script is a whole lot faster and does a better job.
What do you make of the "test-package-name-1.2.3-x86_64-1.txz" download failure described in the post above?
It's a dummy test name nothing more, shown simply as an example.

Example Tutorial

1. Before starting USM download (copy & paste to your /home/guest/ folder) and run the sesm.sh script. USM UPDATE PROCEDURE
2. Start USM.
3. Click Update > Update All
4. Disregard the example test package name. It's not a real file name.

:)
Ed

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

Porteus - usm error

Post#36 by Ed_P » 26 Feb 2018, 17:26

Response posted here: Firefox Quantum

And I just updated my USM databases using the USM GUI with no problem.
Ed

yldouright
Black ninja
Black ninja
Posts: 80
Joined: 04 Mar 2015, 16:27
Distribution: Porteus (slackware 12.1)
Location: NY

Firefox Quantum

Post#37 by yldouright » 26 Feb 2018, 18:50

@Ed_P
Noted and thanks for the hand holding. I've assumed the ones on the top of that thread are the latest versions of these scripts. I copied those 3 scripts (sesm.sh, safm.sh and badm.sh) to plain text files from the 'code:select all' button and will run them as root as directed but before I do, I'm going to review what I think needs to be done first.
1. In the USM:Settings:Edit Configurations, do I need to uncomment all the mirrors in those or leave them be?
2. What is the following code excerpt from that page and where/how is it used? Does the code excerpt below add new mirrors that should be included in the USM configuration lists or is just output from one of the three scripts?
Downloading: extra-deps.txt DONE
Downloading: ignore-deps.txt DONE

3. If I need to remove any of the depository comments from USM, what is the best way to do this?
4. Does the 'safm.sh' script automatically write and append the .usm/badmirrors.txt if the .usm directory exists?
5. The badm.sh script appears to have only one line in it, is this correct?

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

Firefox Quantum

Post#38 by Ed_P » 26 Feb 2018, 19:33

yldouright wrote:
26 Feb 2018, 18:50
I've assumed the ones on the top of that thread are the latest versions of these scripts.
A valid assumption.
1. In the USM:Settings:Edit Configurations, do I need to uncomment all the mirrors in those or leave them be?
Leave them be.
2. What is the following code excerpt from that page and where/how is it used? Does the code excerpt below add new mirrors that should be included in the USM configuration lists or is just output from one of the three scripts?
Downloading: extra-deps.txt DONE
Downloading: ignore-deps.txt DONE
It is the output of running a script.
3. If I need to remove any of the depository comments from USM, what is the best way to do this?
I would leave them alone, I see no need to remove them.
4. Does the 'safm.sh' script automatically write and append the .usm/badmirrors.txt if the .usm directory exists?
5. The badm.sh script appears to have only one line in it, is this correct?
I've never had a need to use them so I don't know. But I believe the answers to both is Yes.
Ed

yldouright
Black ninja
Black ninja
Posts: 80
Joined: 04 Mar 2015, 16:27
Distribution: Porteus (slackware 12.1)
Location: NY

Firefox Quantum

Post#39 by yldouright » 26 Feb 2018, 22:19

Where do we store the scripts to run them? Is the Pluma folder appropriate or is there a better place?

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

Firefox Quantum

Post#40 by Ed_P » 26 Feb 2018, 23:32

I use /home/guest/ for most of my scripts but for these and a couple of others I made a subfolder named USM so I wouldn't loose them. To execute I would open a terminal and enter:

su
pswd
sh USM/sesm.sh all

If I were executing them a lot I would use "chmod +x USM/*.sh" and then execute them via the file manager.

This /home/guest/USM script that I have might interest you also.

Code: Select all

#!/bin/bash
# https://forum.porteus.org/viewtopic.php?f=140&t=6966&p=55568#p55562

[[ -e /usr/share/usm/funcpackageGet.bak ]] || sudo cp -p /usr/share/usm/funcpackageGet  /usr/share/usm/funcpackageGet.bak  # Save original
#cp   /Path/to/funcpackageGet.hic    /usr/share/usm/funcpackageGet
sudo  cp    USM/*.hic                /usr/share/usm/funcpackageGet 
Ed

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

Porteus - usm error

Post#41 by Ed_P » 27 Feb 2018, 04:55

yldouright wrote:
27 Feb 2018, 01:56
I put the three aforementioned scripts in a folder named "usm scripts" in my guest Documents directory.
Make sure you put quotes around the name when you execute them.

su
pswd
sh Documents/"usm scripts"/sesm.sh all
Ed

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

Porteus - USM error

Post#42 by Ed_P » 03 Mar 2018, 16:52

:shock: !!!! All USM updates give:

Code: Select all

gzip: /var/usm/slackware/LIBS.TXT.gz: not in gzip format
gzip: /var/usm/slackwarepatches/LIBS.TXT.gz: not in gzip format
gzip: /var/usm/slacky/LIBS.TXT.gz: not in gzip format
gzip: /var/usm/salix/LIBS.TXT.gz: not in gzip format
gzip: /var/usm/alien/LIBS.TXT.gz: not in gzip format
gzip: /var/usm/ponce/LIBS.TXT.gz: not in gzip format
gzip: /var/usm/slackonly/LIBS.TXT.gz: not in gzip format
:%)

Houston, we have a problem. :(
Ed

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

Porteus - USM error

Post#43 by donald » 03 Mar 2018, 20:32

Ed_P wrote:
03 Mar 2018, 16:52
Houston, we have a problem. :(
Not we, but Sourceforge has.
The LIBS.TXT files are html files - you can use

Code: Select all

hexdump -C LIBS.TXT.gz
to view its content:
--> We're sorry -- the Sourceforge site is currently in Disaster Recovery mode...
Please check back later.<--

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

Porteus - USM error

Post#44 by Ed_P » 03 Mar 2018, 21:20

:o What's Sourceforge got to do with this?? :%) I know SourceForge is under a DoS attack but I thought all the Slackware files were stored on the mirrors' sites.
Ed

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

Porteus - USM error

Post#45 by donald » 03 Mar 2018, 22:30

Ed_P wrote:
03 Mar 2018, 21:20
I thought all the Slackware files were stored on the mirrors' sites.
Apparently not - example:
sourceforge.net/projects/usm/files/14.2/db/slackware/x86_64/
I did not want it to be a link - I'm sure you know how to copy it into a new (browser) tab. ;)

Post Reply