If you are going to bomb out anyway, what is to stop one from trying to decompress all the normally used formats, and only execute "file $ERROR-FILENAME" if none are error free?Rava wrote:easily implemented to have a error function, that executes e.g. "file $ERROR-FILENAME" and the user would get an useful info what kind of file that really was, and when he posts the screenshot you would get the info ASAP as well...
USM bug reports
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: USM bug reports
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
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Re: USM bug reports
I think any code should start by trying to solve any issue the most easy way, since more complicated code also means more potential bugs. So, I suggest it should go the usual known way but include a handling only when an error occurs...Bogomips wrote:If you are going to bomb out anyway, what is to stop one from trying to decompress all the normally used formats, and only execute "file $ERROR-FILENAME" if none are error free?
Cheers!
Yours Rava
Yours Rava
- francois
- Contributor
- Posts: 6456
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: USM bug reports
Code: Select all
root@porteus:~# usm -g libcelt0
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) libcelt0.so.2,libm.so.6,libogg.so.0
2) libcelt051.so.0,libm.so.6,libogg.so.0
#? 1
Processing: libcelt0.so.2,libm.so.6,libogg.so.0
==============================================================================
WARNING! WARNING! WARNING! WARNING! WARNING!
==============================================================================
One or more errors occurred while usm was running:
FATAL ERROR!
resolve_deps 356
Brokenman needs to update database. Could not find: LIBS.TXT
==============================================================================
root@porteus:~#
Prendre son temps, profiter de celui qui passe.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: USM bug reports: Minor Issues
- Erroneous Message?
- After updating All
Code: Select all
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. sbo was updated 75 seconds ago. Skipping. Downloading: extra-deps.txt DONE Downloading: ignore-deps.txt DONE You can change the time limit for skipping in: /etc/usm/usm.conf The default is 3 hours
- End up with contradictory message
Code: Select all
root@porteus:/home/guest# usm -g vlc The following items were found. Choose an number to confirm. ctrl+c to quit 1) vlc-2.1.2-i486-1sl.txz 4) vlc-2.2.4-i486-1alien.txz 2) vlc-2.1.2-i686-1dj.txz 5) vlc-qt-0.10.0-i486-1sl.txz 3) vlc-2.1.5-i486-3_slack.txz #? 4 Processing: vlc-2.2.4-i486-1alien.txz Ignored libraries: Libraries required: 116 Libraries found in system: 108 Libraries to resolve: 8 Processing library: libGLEW.so.1.9 Processing library: libgcrypt.so.11 More than one package contains: libgcrypt.so.11 libgcrypt15-1.5.4-i486-1_slonly.txz 224K slackonly visual-studio-code-0.9.2-i486-1_slonly.txz 45856K slackonly The following items were found. Choose an number to confirm. ctrl+c to quit 1) libgcrypt15-1.5.4-i486-1_slonly.txz 2) visual-studio-code-0.9.2-i486-1_slonly.txz #? 1 Processing library: libgnutls.so.28 Processing library: libhogweed.so.2 Processing library: libnettle.so.4 Processing library: libvlc.so.5 Processing library: libvlc_vdpau.so.0 Processing library: libvlccore.so.8 Processing: libgcrypt15-1.5.4-i486-1_slonly.txz ============================================================================== WARNING! WARNING! WARNING! WARNING! WARNING! ============================================================================== One or more errors occurred while usm was running: FATAL ERROR! resolve_deps 390 Please wait 6 hours for the next database update. Could not find: LIBS.TXT ==============================================================================
- After updating All
- Database Discrepancy?
- Option -i encounters grep pattern issue
Code: Select all
root@porteus:/home/guest# usm -i vlc The following items were found. Choose an number to confirm. ctrl+c to quit 1) vlc-2.2.4-i486-2_slonly.txz 3) npapi-vlc-20160706-i486-1alien.txz 2) vlc-2.2.4-i586-1gv.txz 4) vlc-2.2.4-i486-1alien.txz #? 2 grep: invalid option -- '[' Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. Package: (39650 K) [not installed] vlc: vlc (multimedia player for various audio and video formats)
- vlc-2.2.4-i586-1gv.txz not found when Option -g used:
Code: Select all
root@porteus:/home/guest# usm -g vlc The following items were found. Choose an number to confirm. ctrl+c to quit 1) vlc-2.1.2-i486-1sl.txz 4) vlc-2.2.4-i486-1alien.txz 2) vlc-2.1.2-i686-1dj.txz 5) vlc-qt-0.10.0-i486-1sl.txz 3) vlc-2.1.5-i486-3_slack.txz #? ^C root@porteus:/home/guest# usm -g vlc-2.2.4-i586-1gv Nothing found for: vlc-2.2.4-i586-1gv
- But found with -s Option
Code: Select all
root@porteus:/home/guest# usm -s vlc-2.2.4-i586-1gv vlc-2.2.4-i586-1gv.txz was found in salix [upgrade] Packages found: 1
- Option -i encounters grep pattern issue
- Option -g encounters awk issue
Code: Select all
root@porteus:/home/guest# usm -g npapi The following items were found. Choose an number to confirm. ctrl+c to quit 1) npapi-vlc-20160706-i486-1alien.txz #? 1 Processing: npapi-vlc-20160706-i486-1alien.txz Ignored libraries: Libraries required: 62 Libraries found in system: 61 Libraries to resolve: 1 Processing library: libvlc.so.5 awk: cmd. line:1: (FILENAME=- FNR=1) fatal: attempt to access field -1 More than one package contains: libvlc.so.5 vlc-2.1.2-i686-1dj.txz vlc-2.2.4-i486-1alien.txz 39100K alien
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
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: USM bug reports
Code: Select all
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# usm -g vlc
...
Processing: libgcrypt15-1.5.4-i486-1_slonly.txz
==============================================================================
WARNING! WARNING! WARNING! WARNING! WARNING!
==============================================================================
One or more errors occurred while usm was running:
FATAL ERROR!
resolve_deps 390
Please wait 6 hours for the next database update. Could not find: LIBS.TXT
==============================================================================
Quick question on the side: does USM run fastest mirror when more than three hours elapsed from last invocation? Reason for asking is that fastest mirror seems to vary depending on time of day.
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
- Slaxmax
- Contributor
- Posts: 408
- Joined: 03 Jan 2013, 09:51
- Distribution: KDE4
- Location: Campinas Brazil https://goo.gl/yrxwKi
Re: USM bug reports
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
There was a problem downloading the file:
I update slackonly, ponce, alien etc... but can't search
Code: Select all
root@porteus:/home/guest# usm -g pavu
You are missing required database files!
Please run: usm -u all
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead
― Bill Gates, The Road Ahead
-
- Contributor
- Posts: 1951
- Joined: 09 Aug 2013, 14:25
- Distribution: Nemesis Cinnamon 64
- Location: USA
Re: USM bug reports
I just updated USM with no problem about half hour ago.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.
- Slaxmax
- Contributor
- Posts: 408
- Joined: 03 Jan 2013, 09:51
- Distribution: KDE4
- Location: Campinas Brazil https://goo.gl/yrxwKi
Re: USM bug reports
thx Jack
I changed dns server and now works fine.
This dns have parental filter. Strange deny access to slackware mirror.
I changed dns server and now works fine.
This dns have parental filter. Strange deny access to slackware mirror.
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead
― Bill Gates, The Road Ahead
-
- White ninja
- Posts: 16
- Joined: 13 Jan 2017, 16:31
- Distribution: Porteus 3.2.2 Mate 32bit
- Location: toronto
Re: USM bug reports
Thought this should be reported
Tue 24, 2017 - 11:35 PM
Couldn't update
Wed 25, 2017 - 12:55 PM
Updated OK
Database seems to be contradicting each other
Thanks and regards
frederick
Tue 24, 2017 - 11:35 PM
Couldn't update
Code: Select all
==============================================================================
WARNING! WARNING! WARNING! WARNING! WARNING!
==============================================================================
One or more errors occurred while usm was running:
FATAL ERROR!
usm update_database 259
Could not decompress: LIBS.TXT.gz
==============================================================================
Code: Select all
root@porteus:~/usm -v
You are using USM version: 3.1.9
root@porteus:~/usm -u all
Starting alien database update ......
alien database updated.
Starting salix database update ......
salix database updated.
Starting slacky database update .....
slacky database updated.
Starting ponce database update ......
ponce database updated.
Starting slackware database update
Downloading: CHECKSUMS.md5 DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz DONE
File verification was good.
gzip: /var/usm/slackware/LIBS.TXT.gz: unexpected end of file
==============================================================================
WARNING! WARNING! WARNING! WARNING! WARNING!
==============================================================================
One or more errors occurred while usm was running:
FATAL ERROR!
usm update_database 259
Could not decompress: LIBS.TXT.gz
==============================================================================
Updated OK
Code: Select all
root@porteus:~# usm -v
You are using USM version: 3.1.9
root@porteus:~# 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
File verification was good.
Optimizing manifest
alien database updated.
Updating config file
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 slacky 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
slacky 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 slackware 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
slackware database updated.
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 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:~#
Code: Select all
root@porteus:~/
root@porteus:~/ usm -g python-2.7.13-i486-2_slack14.1.txz
Nothing found for: python-2.7.13-i486-2_slack14.1.txz
root@porteus:~/ usm -s python-2.7.13-i486-2_slack14.1.txz
python-2.7.13-i486-2_slack14.1.txz was found in slackwarepatches [not installed]
Packages found: 1
Use: usm -i <package> for more info
Use: usm -g <package> to download
root@porteus:~/ usm -g python-2.7.13-i486-2_slack14.1.txz
Nothing found for: python-2.7.13-i486-2_slack14.1.txz
root@porteus:~/
frederick
- Slaxmax
- Contributor
- Posts: 408
- Joined: 03 Jan 2013, 09:51
- Distribution: KDE4
- Location: Campinas Brazil https://goo.gl/yrxwKi
Re: USM bug reports
please make a function to check if exist internet connection
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead
― Bill Gates, The Road Ahead
- Ed_P
- Contributor
- Posts: 8805
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: USM bug reports
Strange update all errors.

Code: Select all
:
:
:
Starting salix database update
Downloading: CHECKSUMS.md5 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz http://downloadssourceforgenet/project/usm/142/db/alien/i486/LIBSTXTgz?failedmirror=svwh%7Csvwhdlsourceforg12:19: DONE
Downloading: OPTIFEST.gz DONE
salix 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
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 271
Could not decompress: CHECKSUMS.md5.gz
==============================================================================
Killed
sh-4.3#

- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: USM bug reports
slackonly is down. One reason why I insist on all repositories being vetted and reliable. Hopefully it is back up soon.
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: 8805
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: USM bug reports
No mirror!! What about the URL display in the salix update?brokenman wrote:slackonly is down.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: USM bug reports
Code: Select all
root@porteus:/home/guest# date
Tue Feb 28 19:23:56 BRT 2017
root@porteus:/home/guest# usm -u salix
Starting salix database update
Downloading: vercheck.txt DONE
Downloading: CHECKSUMS.md5 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz DONE
Downloading: OPTIFEST.gz DONE
salix database updated.
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: 8805
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: USM bug reports
hmmm... My updates were via the USM GUI.