usm errors
usm errors
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?
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?
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: usm errors
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:
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
Reason: typo
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
Re: usm errors
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
heres what you asked for
guest@porteus:~$ cat /proc/cmdline
quiet from=/Porteus-RazorQT-v3.0.1-x86_64.iso
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: usm errors
Gee, not due to .wh files!! What a surprise!!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

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.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: usm errors
Yes. A surprise. Almost sounds like the same person no? 

How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: usm errors
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.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: usm errors
Running always fresh, got into a mess with usm, by inadvertently omitting to update usm, running usm -u all froze:
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: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?
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
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
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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: usm errors
I certainly didn't say that.You honestly think I am the only one USM doesn't work for?
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.I'm just the only one willing to tell you about them so you can work on them.
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.
Wear your underpants on the outside and put on a cape.
Re: usm errors
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
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
- francois
- Contributor
- Posts: 6497
- 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
@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.
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.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: usm errors
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
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.
Wear your underpants on the outside and put on a cape.
Re: usm errors
"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.
i do not know how to touch usm.conf file. was new to porteus. may try 3.1 when final out.
Re: usm errors
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!
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!
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: usm errors
Also run 32 bit on a machine capable of 64 bit.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)
Avoid sudo, easiest to run usm as root.
Think it's just suppoed to show in the gui.The test-package in USM doesn't download at all.
In the case of longer output, please use code blocks thus: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:
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:
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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: usm errors
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.
Wear your underpants on the outside and put on a cape.