Page 2 of 2

USM - Updates fail

Posted: 03 Apr 2019, 14:54
by Ed_P
Disregard the find error. See Re: Simple Screen Recorder (Post by donald #68064) and Porteus - USM error

Are you able to download packages with USM? Are you using command line or GUI? What databases aren't updating?

USM - Updates fail

Posted: 04 Apr 2019, 06:48
by Ed_P
Ok. Try this approach.

Code: Select all

#!/bin/sh
# https://forum.porteus.org/viewtopic.php?f=125&t=6759&p=54673#p54673
#set -x;

if [ `whoami` != "root" ]; then
    echo "Enter root password below"
    su -c "sh $0 $1"
    exit
fi

#usm -u slackware
usm -u slackwarepatches
usm -u slacky
usm -u salix
usm -u alien
usm -u ponce
usm -u slackonly
usm -u sbo
I do not know why the slackware update is failing for you after you ran sesm.sh. I suspect your safm.sh run may have impacted it.

USM - Updates fail

Posted: 04 Apr 2019, 14:41
by Ed_P
BTW This slackware mirror is what works for me.

http://mirror.its.dal.ca/slackware/

And I don't ever recall using safm.sh.

USM - Updates fail

Posted: 04 Apr 2019, 17:50
by Ed_P
There are reams of mirrors for the slackware and slackwarepatches databases. I am amazed sesm.sh can't find working mirrors for each of them for you.

As noted previously I use

Code: Select all

http://mirror.its.dal.ca/slackware/
for slackware and

Code: Select all

http://hpc-mirror.usc.edu/pub/linux/distributions/slackware/
for slackwarepatches.

Both work for me. If the one sesh.sh doesn't work for you manually edit the two /etc/usm/ mirror files and try the two mirrors that work for me.

Slackware is evolving and USM too but at this point the only database USM is having problems with is aliens.

USM - Updates fail

Posted: 05 Apr 2019, 05:12
by donald
Must be a problem at your end -- i updated (usm -u all) ~5min ago without problems.

USM - Updates fail

Posted: 05 Apr 2019, 05:17
by Ed_P
Strange. Well, we will be here when you get back.

When you ran sesm.sh for slackware did it return a list of mirrors it connected to?

USM - Updates fail

Posted: 13 Apr 2019, 19:54
by brokenman
Could this be firewall or IP range bans for india?

USM - Updates fail

Posted: 19 Apr 2019, 08:58
by raja
Strange, I get this message in recent time while updating , usm-slackwarepatches.

Code: Select all

root@porteus:/home/guest# usm -u slackwarepatches
find: `/tmp/xdg-runtime-guest/gvfs': Permission denied
 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:
All others, get updated. I tried different mirrors. Same result. Any solution?

USM - Updates fail

Posted: 19 Apr 2019, 23:49
by Ed_P
It's working for me raja.

Code: Select all

root@porteus:/home/guest# usm -u slackwarepatches
 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
File verification was good.
Optimizing manifest
 slackwarepatches  database updated. 

root@porteus:/home/guest# 
Have you run sesm.sh for the distro?

USM - Updates fail

Posted: 21 May 2019, 10:06
by lksnip
hi all,
i got same error as raja.
Ed_p how to use sesm.sh, type at terminal but get error
bash: sesm.sh: No such file or directory

USM - Updates fail

Posted: 21 May 2019, 12:22
by Ed_P
Hi Iksnip.

sesm.sh needs to be made executable. Open terminal in the folder where you saved sesm.sh and enter:

Code: Select all

chmod  +x  sesm.sh
then run sesm.sh. :)

USM - Updates fail

Posted: 20 Jul 2019, 07:07
by lksnip
this day i encounter error when updating usm, i already using sesm.sh and safm.sh
still error, there is 3 error

Code: Select all

root@porteus:/home/guest/Downloads/porteus usm# usm -u slackware
find: `/tmp/xdg-runtime-guest/gvfs': Permission denied
 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: 

root@porteus:/home/guest/Downloads/porteus usm# usm -u slackwarepatches
find: `/tmp/xdg-runtime-guest/gvfs': Permission denied
 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:/home/guest/Downloads/porteus usm# usm -u slacky
find: `/tmp/xdg-runtime-guest/gvfs': Permission denied
 Starting slacky 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/slacky/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 248
Could not decompress: CHECKSUMS.md5.gz
 
============================================================================== 
other update is fine
is there anyway to fix it

USM - Updates fail

Posted: 20 Jul 2019, 13:43
by Ed_P
Two options; 1. rerun sesm.sh, 2. manually tweak the problem mirror's mirror list files.

USM - Updates fail

Posted: 21 Jul 2019, 03:04
by lksnip
Ed_P wrote:
20 Jul 2019, 13:43
Two options; 1. rerun sesm.sh, 2. manually tweak the problem mirror's mirror list files.
Thanks Ed_P
for slacky can be fix by re-run sesm.sh
and for slackware and slackwarepatches i use 2 mirror from your earlier post
uncomment

Code: Select all

http://mirror.its.dal.ca/slackware/ 
at /etc/usm/mirror-slackware.text
and

Code: Select all

http://hpc-mirror.usc.edu/pub/linux/distributions/slackware/ 
at /etc/usm/mirror-slackwarepatches.text

USM - Updates fail

Posted: 21 Jul 2019, 03:50
by Ed_P
:good:

Hopefully you commented out the mirrors that weren't working for you. :happy62:

:)