usm errors

Post here if you are a new Porteus member and you're looking for some help.
tipark
White ninja
White ninja
Posts: 4
Joined: 28 Aug 2014, 03:38
Distribution: porteus 3.0.1
Location: usa

usm errors

Post#1 by tipark » 28 Aug 2014, 03:52

trying porteus. it has some pluses. not instlled until i'm sure I will be using it. running 3.0.1 in always fresh mode I get this

guest@porteus:~$ usm -g libreoffice

Only root can do that.
guest@porteus:~$ su
Password:
root@porteus:/home/guest# usm -g libreoffice

You are missing required database files!
Please run: usm -u 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

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

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

root@porteus:/home/guest# usm -v

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

root@porteus:/home/guest# usm -u usm
Downloading: vercheck.txt DONE

/usr/share/usm/funcupdateDatabase: line 338: [: -gt: unary operator expected
No database updates were found.

/usr/share/usm/funcupdateDatabase: line 351: [: -gt: unary operator expected
You have the current USM version.

root@porteus:/home/guest#


what do I need to do?

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: usm errors

Post#2 by brokenman » 28 Aug 2014, 14:48

Ed. First thing to try is to try again. I just tested a vanilla 3.0.1 porteus and USM updates fine.

Please give the output of: cat /proc/cmdline

Also please manually update USM to the latest version from a terminal like so:

Code: Select all

wget --trust-server-names http://sourceforge.net/projects/usm/files/usm-latest-0.0-noarch-1.xzm/download -P /tmp
installpkg /tmp//usm-latest-0.0-noarch-1.xzm
Last edited by brokenman on 28 Aug 2014, 14:48, edited 1 time in total.
Reason: typo
How do i become super user?
Wear your underpants on the outside and put on a cape.

tipark
White ninja
White ninja
Posts: 4
Joined: 28 Aug 2014, 03:38
Distribution: porteus 3.0.1
Location: usa

Re: usm errors

Post#3 by tipark » 29 Aug 2014, 06:00

ok will try that. thanks.

heres what you asked for

guest@porteus:~$ cat /proc/cmdline
quiet from=/Porteus-RazorQT-v3.0.1-x86_64.iso

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

Re: usm errors

Post#4 by Ed_P » 02 Sep 2014, 18:36

brokenman wrote:Also please manually update USM to the latest version from a terminal like so:

Code: Select all

wget --trust-server-names http://sourceforge.net/projects/usm/files/usm-latest-0.0-noarch-1.xzm/download -P /tmp
installpkg /tmp//usm-latest-0.0-noarch-1.xzm
Gee, not due to .wh files!! What a surprise!! :D

When USM is experiencing this error couldn't it invoke what you are proposing automatically? Or give some kind of error msg indicating what is wrong and then the option to download and install the upgrade. Less manual intervention would be needed on your part.
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: usm errors

Post#5 by brokenman » 02 Sep 2014, 22:50

Yes. A surprise. Almost sounds like the same person no? :wink:
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: usm errors

Post#6 by Ed_P » 02 Sep 2014, 23:24

You honestly think I am the only one USM doesn't work for? I'm just the only one willing to tell you about them so you can work on them.
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: usm errors

Post#7 by Bogomips » 03 Sep 2014, 00:39

Running always fresh, got into a mess with usm, by inadvertently omitting to update usm, running usm -u all froze:

Code: Select all

root@porteus:/home/guest# usm -v
 You are using USM version:  3.1.4
root@porteus:/home/guest# usm -u all
...
 Starting slacky database update 
Downloading: CHECKSUMS.md5.gz  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT.gz  DONE
Downloading: LIBS.TXT.gz --> ^C
rm: cannot remove ‘/tmp/usm/LIBS.TXT.gz’: No such file or directory

root@porteus:/home/guest# usm -u usm
Downloading: vercheck.txt  DONE
No database updates were found.
You have the current USM version.

root@porteus:/home/guest# usm -v
 You are missing required database files! 
 Please run: usm -u all

root@porteus:/home/guest# usm -u all
alien was already updated today. Skipping.
salix was already updated today. Skipping.
...
Downloading: extra-deps.txt  DONE

root@porteus:/home/guest# usm -u usm
Downloading: vercheck.txt  DONE
No database updates were found.
You have the current USM version.

root@porteus:/home/guest# usm -v
 You are using USM version:  3.1.4
Then removed usm-latest-0.0-noarch-1.txz from $STORAGE in the hope that update would go through, but there was no change. Deleting various usm files and combinations did not help either. In desperation installed the 3.0.1 usm package:

Code: Select all

root@porteus:/home/guest# installpkg --terse usm-latest-0.0-noarch-1.txz
usm-latest-0.0-noarch-1:                                                 [310K]
root@porteus:/home/guest# usm -v
 You are using USM version:  3.1.4
root@porteus:/home/guest# usm -u usm
Downloading: vercheck.txt  DONE
 An update is available for the usm database files.
 Please run:  usm -u all 
 A new version of USM is available.
 Would you like to download it now? [y/n]
Downloading: usm-latest-0.0-noarch-1.txz  DONE
 Would you like to install it now? [y/n]
...
Removing package /var/log/packages/usm-latest-0.0-noarch-1...
...
WARNING: Unique directory /var/usm/slacky/ contains new files
WARNING: Unique directory /var/usm/slackware/ contains new files
WARNING: Unique directory /var/usm/salix/ contains new files
WARNING: Unique directory /var/usm/ponce/ contains new files
WARNING: Unique directory /var/usm/local/ contains new files
WARNING: Unique directory /var/usm/alien/ contains new files
WARNING: Unique directory /var/usm/ contains new files
  --> Deleting empty directory /usr/src/po/skeleton/
  --> Deleting empty directory /usr/src/po/ja/
  --> Deleting empty directory /usr/src/po/
  --> Deleting empty directory /usr/share/usm/
  --> Deleting empty directory /etc/usm/
  Installing new version now 
usm-latest-0.0-noarch-1:                                                 [310K]
 USM was updated successfully
 You are currently using:
 USM-v 

root@porteus:/home/guest# usm -v
 You are using USM version:  3.1.6
Hopefully retrieving the situation this way will not cause further complications.

EDIT
Another thought for a clean restart: rm -r /var/usm/*, and for good measure delete /etc/usm/usm.conf before running installpkg on usm-latest-0.0-noarch-1.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

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: usm errors

Post#8 by brokenman » 03 Sep 2014, 11:53

You honestly think I am the only one USM doesn't work for?
I certainly didn't say that.
I'm just the only one willing to tell you about them so you can work on them.
Check the changelogs. Plenty of people submitting valid bugs. And when I ask them to follow a procedure THEY actually do it. This is what helps me work on them, not ignoring every suggestion and then still complaining that things don't work. I stand by what I have always said and until you start doing it, I won't answer your posts anymore.

Bogomips, this should be ok. Updating manually will overwrite any existing files. Removing /var/usm/* will not hurt in relation to installation. Deleting usm.conf should not be necessary as it will be overwritten in any case. Now that you are on 3.1.6 all version checks have been removed from usm.conf and reside in a dedicated file /etc/usm/version.txt. Thanks.

Please direct all future bugs to the bug report thread or start your own thread for unrelated problems. This thread was hijacked. Future unrelated posts to this thread will be removed.
How do i become super user?
Wear your underpants on the outside and put on a cape.

tipark
White ninja
White ninja
Posts: 4
Joined: 28 Aug 2014, 03:38
Distribution: porteus 3.0.1
Location: usa

Re: usm errors

Post#9 by tipark » 03 Sep 2014, 13:49

i thought this was a more friendly place.

this is what i got from following the instructions


guest@porteus:~$ wget --trust-server-names http://sourceforge.net/projects/usm/fil ... m/download -P /tmp
--2014-09-03 09:38:49-- http://sourceforge.net/projects/usm/fil ... m/download
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourceforge.net/projec ... uperb-dca2 [following]
--2014-09-03 09:38:51-- http://downloads.sourceforge.net/projec ... uperb-dca2
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://superb-dca2.dl.sourceforge.net/p ... arch-1.xzm [following]
--2014-09-03 09:38:51-- http://superb-dca2.dl.sourceforge.net/p ... arch-1.xzm
Resolving superb-dca2.dl.sourceforge.net (superb-dca2.dl.sourceforge.net)... 209.61.193.20
Connecting to superb-dca2.dl.sourceforge.net (superb-dca2.dl.sourceforge.net)|209.61.193.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 65536 (64K) [application/octet-stream]
Saving to: ‘/tmp/usm-latest-0.0-noarch-1.xzm’

100%[======================================>] 65,536 38.4KB/s in 1.7s

2014-09-03 09:38:53 (38.4 KB/s) - ‘/tmp/usm-latest-0.0-noarch-1.xzm’ saved [65536/65536]

guest@porteus:~$ installpkg /tmp//usm-latest-0.0-noarch-1.xzm
bash: installpkg: command not found
guest@porteus:~$ su
Password:
root@porteus:/home/guest# installpkg /tmp//usm-latest-0.0-noarch-1.xzm
Cannot install /tmp//usm-latest-0.0-noarch-1.xzm: file does not end in .tgz, .tbz, .tlz, or .txz
root@porteus:/home/guest#


bye

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

Re: usm errors

Post#10 by francois » 03 Sep 2014, 15:00

@tipark:

Sorry for this bad impression. Please don't judge us by some few lines of this thread. People are curteous and very helpful on this forum compared to the average linux forum.

The atmosphere is very seldom troubled by acrymonic exchanges. It happens that the developers once and a while, though very very patient, ask for a little more rigor from some members. They merit this right, they really work hard and share their knowledge and their work freely.

Porteus is a quite unique distribution. I hope you will enjoy the rest of your stay.
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: usm errors

Post#11 by brokenman » 03 Sep 2014, 15:49

Code: Select all

wget --trust-server-names http://sourceforge.net/projects/usm/files/usm-latest-0.0-noarch-1.txz/download -P /tmp
installpkg /tmp/usm-latest-0.0-noarch-1.txz
Please change the command to the above.

EDIT:
In regards to this error:
/usr/share/usm/funcupdateDatabase: line 338: [: -gt: unary operator expected

There is only one situation where this error can be generated. Have you touched your usm.conf file at all, in any way?
How do i become super user?
Wear your underpants on the outside and put on a cape.

tipark
White ninja
White ninja
Posts: 4
Joined: 28 Aug 2014, 03:38
Distribution: porteus 3.0.1
Location: usa

Re: usm errors

Post#12 by tipark » 21 Oct 2014, 12:05

"There is only one situation where this error can be generated. Have you touched your usm.conf file at all, in any way?"

i do not know how to touch usm.conf file. was new to porteus. may try 3.1 when final out.

monetone
Ronin
Ronin
Posts: 3
Joined: 20 Feb 2016, 23:16
Distribution: 3.17.4-porteus
Location: italy

Re: usm errors

Post#13 by monetone » 21 Feb 2016, 20:50

Soon after install, downloaded Porteus yesterday to run off a USB with persistence, a problem with usm (3.1.9). I am using 32-bit Porteus on a 64-bit machine if that could be a problem (I plan to run it off both 32 bit and 64 bit machines):

guest@porteus:~$ sudo usm -u all

You need the following programs to continue:
installpkg
removepkg

using su command instead of sudo gives different info:

root@porteus:/home/guest# usm -u all
alien was updated 2520 seconds ago. Skipping.
salix was updated 2513 seconds ago. Skipping.
slacky was updated 2507 seconds ago. Skipping.
ponce was updated 2501 seconds ago. Skipping.
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
There was a problem downloading the file:

The test-package in USM doesn't download at all.

Cheers then!

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: usm errors

Post#14 by Bogomips » 21 Feb 2016, 21:38

monetone wrote: I am using 32-bit Porteus on a 64-bit machine if that could be a problem (I plan to run it off both 32 bit and 64 bit machines)
Also run 32 bit on a machine capable of 64 bit.

Avoid sudo, easiest to run usm as root.
The test-package in USM doesn't download at all.
Think it's just suppoed to show in the gui.
monetone wrote:root@porteus:/home/guest# usm -u all
alien was updated 2520 seconds ago. Skipping.
salix was updated 2513 seconds ago. Skipping.
slacky was updated 2507 seconds ago. Skipping.
ponce was updated 2501 seconds ago. Skipping.
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
There was a problem downloading the file:
In the case of longer output, please use code blocks thus:

Code: Select all

root@porteus:/home/guest# usm -u all
alien was updated 2520 seconds ago. Skipping.
salix was updated 2513 seconds ago. Skipping.
slacky was updated 2507 seconds ago. Skipping.
ponce was updated 2501 seconds ago. Skipping.
 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
 There was a problem downloading the file:
Just some minutes ago done this on 32 bit, last bit of output.
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

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: usm errors

Post#15 by brokenman » 22 Feb 2016, 14:16

I just synced the 32 bit repo last night. Please check again.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply