Porteus – USM error – Page 5

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.

User avatar Rava Contributor
Contributor Posts: 2288 Joined: 11 Jan 2011, 02:46 Distribution: Porteus 4.0 x86-64 XFCe Location: Forests of Germany

Re: Porteus – USM error

Post#61 by Rava » 16 Dec 2018, 21:45

Ed_P wrote:

16 Dec 2018, 21:26

A user searching for thunderbird that gets this error sees the name thunderbird under the heading labeled

File

not repository. And said user may not know what a repository is. And the error may not apply to all files in the repository.

:happy62:

Seems by just going with what was quoted I misunderstood stuff. My bad.

:oops:

Cheers!
Yours Rava

Rava User avatar Rava Contributor
Contributor Posts: 2288 Joined: 11 Jan 2011, 02:46 Distribution: Porteus 4.0 x86-64 XFCe Location: Forests of Germany

Re: Porteus – USM error

Post#62 by Rava » 02 Feb 2019, 08:12

Trying to update the usm databases for my usm databases backup into a module script

usmdb.sh

Code: Select all

#!/bin/bash # Version 0.1 by rava@forum.porteus.org targetdir=/tmp/usmdb-$(date +%Y-%m-%d) xzmdbmodule=/tmp/usmdb-$(date +%Y-%m-%d).xzm if [ -d $targetdir ]; then rm -r $targetdir fi mkdir $targetdir cp -a –parents /var/usm/ $targetdir dir2xzm $targetdir $xzmdbmodule echo -e “Your module is created as $. Make sure to copy it outside the union prior shutdown or reboot.” read

It all worked well yesterday, but I had to reboot, and today the databases update fails and fails:

Code: Select all

root@porteus:~# usm -u all find: ‘/tmp/xdg-runtime-guest/gvfs’: Permission denied 14.2+ alien was updated 1350 seconds ago. Skipping. salix was updated 70 seconds ago. Skipping. slacky was updated 1347 seconds ago. Skipping. ponce was updated 1344 seconds ago. Skipping. slackware was updated 1334 seconds ago. Skipping. slackwarepatches was updated 1317 seconds ago. Skipping. slackonly was updated 1298 seconds ago. Skipping. Starting sbo database update Downloading: vercheck.txt DONE SLACKBUILDS.TXT.gz Downloading: SLACKBUILDS.TXT.gz DONE gzip: /var/usm/sbo/SLACKBUILDS.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 275 Could not decompress: SLACKBUILDS.TXT.gz ============================================================================== root@porteus:~# l /var/usm/sbo/ total 0 drwxr-xr-x 2 root 60 2019-02-02 08:55 . drwxr-xr-x 18 root 220 2019-02-02 08:33 .. -rw-r–r– 1 root 0 2019-02-02 08:55 SLACKBUILDS.TXT.gz

What is the best approach to force usm in using another mirror for, in this case, the sbo database?

Repeating usm -u all just keeps getting the same error.

Also, the

help doesn’t name sbo as one of the databases

:

Code: Select all

root@porteus:~# usm -h find: ‘/tmp/xdg-runtime-guest/gvfs’: Permission denied Usage: usm

Cheers!
Yours Rava

Rava User avatar ncmprhnsbl DEV Team
DEV Team Posts: 2317 Joined: 20 Mar 2012, 03:42 Distribution: 5.0rc1-64bit all-DE+more Location: australia Contact:

Re: Porteus – USM error

Post#63 by ncmprhnsbl » 02 Feb 2019, 09:08

Rava wrote:

02 Feb 2019, 08:12

What is the best approach to force usm in using another mirror for, in this case, the sbo database?

to edit: /etc/usm/mirrors-sbo.txt

you have a mirror in mind? this is one i found:

https://slackware.uk/slackbuilds.org/

Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

ncmprhnsbl User avatar Rava Contributor
Contributor Posts: 2288 Joined: 11 Jan 2011, 02:46 Distribution: Porteus 4.0 x86-64 XFCe Location: Forests of Germany

Re: Porteus – USM error

Post#64 by Rava » 02 Feb 2019, 09:20

Sadly, the error is still the same:

Code: Select all

root@porteus:~# cat /etc/usm/mirrors-sbo.txt # mirrors – List of SBo Linux mirrors https://slackware.uk/slackbuilds.org/ #http://slackbuilds.org/slackbuilds root@porteus:~# usm -u sbo find: ‘/tmp/xdg-runtime-guest/gvfs’: Permission denied 14.2+ Starting sbo database update Downloading: vercheck.txt DONE SLACKBUILDS.TXT.gz Downloading: SLACKBUILDS.TXT.gz DONE gzip: /var/usm/sbo/SLACKBUILDS.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 275 Could not decompress: SLACKBUILDS.TXT.gz ============================================================================== :(

There should be enough free space in the union, right?

Code: Select all

root@porteus:~# dx / 02.02.2019 10:19:17 ____________________________________________________________ Filesystem Type 1M-blocks Used Available Use% Mounted on aufs aufs 777 534 244 69% /

My dx function prints the df in MBs. And omits ‘tmpfs|/mnt/live/run|squashfs’

:)

Offtopic weirdness, but after I deleted some stuff from /tmp my / aufs had less free space than before:

Code: Select all

root@porteus:/tmp# dx / 02.02.2019 10:23:06 ____________________________________________________________ Filesystem Type 1M-blocks Used Available Use% Mounted on aufs aufs 777 566 212 73% /

How could that be? Are deleted files still stored in / aufs?

I really expected the / aufs having more free space after deleting stuff from the union, e.g. from /tmp. Why is that the very opposite, then?

Cheers!
Yours Rava

Rava User avatar Ed_P Contributor
Contributor Posts: 5209 Joined: 06 Feb 2013, 22:12 Distribution: 4.0 Cinnamon 64-bit ISO Location: Western NY, USA

Re: Porteus – USM error

Post#65 by Ed_P » 02 Feb 2019, 17:01

Try it now.

Code: Select all

guest@porteus:~$ su Password: root@porteus:/home/guest# usm -u sbo Starting sbo database update Downloading: vercheck.txt DONE SLACKBUILDS.TXT.gz Downloading: SLACKBUILDS.TXT.gz DONE sbo database updated. root@porteus:/home/guest#

Ed

Ed_P User avatar Rava Contributor
Contributor Posts: 2288 Joined: 11 Jan 2011, 02:46 Distribution: Porteus 4.0 x86-64 XFCe Location: Forests of Germany

Re: Porteus – USM error

Post#66 by Rava » 02 Feb 2019, 17:37

Ed_P wrote:

02 Feb 2019, 17:01

Try it now.

nope, still the same error, be it the default or the

https://slackware.uk/slackbuilds.org/

mirror.

:wall:

Ed_P could you please upload the module by the usm update + database script you posted the other day?

That sure would solve my issue for now. Unless the database got to old and a update might be required, but let’s think positive and not presume this error is ongoing forever.

Cheers!
Yours Rava

Rava User avatar Ed_P Contributor
Contributor Posts: 5209 Joined: 06 Feb 2013, 22:12 Distribution: 4.0 Cinnamon 64-bit ISO Location: Western NY, USA

Re: Porteus – USM error

Post#67 by Ed_P » 03 Feb 2019, 03:30

:lol:

If I can find that script I will see what I can do.

But the fact that I can update sbo (2x) and

ncmp

can too implies that the problem is not with the mirror but with your system. And that being so the file I create may not help you. Have you tried doing the sbo update in AF mode?

Another thought would be to add the USM database backup to the rootcopy backup that you create. It’s what I do to my changes module.

Ed

Ed_P User avatar Rava Contributor
Contributor Posts: 2288 Joined: 11 Jan 2011, 02:46 Distribution: Porteus 4.0 x86-64 XFCe Location: Forests of Germany

Re: Porteus – USM error

Post#68 by Rava » 03 Feb 2019, 03:58

Ed_P wrote:

03 Feb 2019, 03:30

:lol:

If I can find that script I will see what I can do.

Here you go:

usm-usm+db_backup.sh

Code: Select all

#!/bin/bash # Get usm current version, inlining /etc/usm/version.txt results in a valid $USMVERSION . /etc/usm/version.txt # Save USM as a mod file MOD=USM_V$USMVERSION_$(date +%Y-%m-%d) if [ `whoami` != “root” ]; then echo “Enter root’s password” su -c “sh $0 $1” exit fi if [ -d /tmp/mod/ ]; then rm -rf /tmp/mod fi mkdir -p /tmp/mod # copy mod files cp -a –parents /etc/usm/* /tmp/mod/ cp -a –parents /var/usm/ /tmp/mod/ cp -a –parents /usr/bin/usmgui /tmp/mod/ cp -a –parents /usr/bin/usm /tmp/mod/ cp -a –parents /usr/bin/gksu /tmp/mod/ cp -a –parents /opt/porteus-scripts/xorg/psu /tmp/mod/ cp -a –parents /usr/share/icons/hicolor/48×48/apps/usm.png /tmp/mod/ cp -a –parents /usr/share/applications/usm.desktop /tmp/mod/ echo du -ch /tmp/mod/ echo Changed files copied. Press Enter to create module, Ctrl+C to exit. read du -h /tmp/mod/ echo dir2xzm /tmp/mod /tmp/$MOD.xzm && rm -rf /tmp/mod echo ls -sh /tmp/*.xzm echo echo Finished! read

Update thanks for the PM and the uploaded USM module, I was not quick enough sending you my version of the usm and db backup script. xD

Cheers!
Yours Rava

Rava User avatar Ed_P Contributor
Contributor Posts: 5209 Joined: 06 Feb 2013, 22:12 Distribution: 4.0 Cinnamon 64-bit ISO Location: Western NY, USA

Re: Porteus – USM error

Post#69 by Ed_P » 03 Feb 2019, 04:48

My version is in the module in the PM.

;)

Ed

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

Porteus – USM error

Post#70 by francois » 21 Jan 2020, 01:18

Code: Select all

root@porteus:~# usm -u all slackware was updated 233 seconds ago. Skipping. Starting slackwarepatches 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: root@porteus:~#

Something to do about it?

Prendre son temps, profiter de celui qui passe.

francois User avatar Ed_P Contributor
Contributor Posts: 5209 Joined: 06 Feb 2013, 22:12 Distribution: 4.0 Cinnamon 64-bit ISO Location: Western NY, USA

Porteus – USM error

Post#71 by Ed_P » 21 Jan 2020, 06:33

Not many options. Try again.

Ed

Ed_P User avatar Ed_P Contributor
Contributor Posts: 5209 Joined: 06 Feb 2013, 22:12 Distribution: 4.0 Cinnamon 64-bit ISO Location: Western NY, USA

Porteus – USM error

Post#72 by Ed_P » 21 Jan 2020, 23:42

I just ran a complete USM update

francois

.

Code: Select all

usm -u all sh-4.4# 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 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 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 Please restart the application to refresh the database. sh-4.4#

Ed

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

Porteus – USM error

Post#73 by francois » 22 Jan 2020, 02:25

Works now.

Prendre son temps, profiter de celui qui passe.

francois

Source

Leave a Reply

Your email address will not be published. Required fields are marked *