USM - Updates fail

Post here if you are a new Porteus member and you're looking for some help.
User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

USM - Updates fail

Post#16 by Ed_P » 03 Apr 2019, 14:54

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?
Ed

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

USM - Updates fail

Post#17 by Ed_P » 04 Apr 2019, 06:48

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.
Ed

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

USM - Updates fail

Post#18 by Ed_P » 04 Apr 2019, 14:41

BTW This slackware mirror is what works for me.

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

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

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

USM - Updates fail

Post#19 by Ed_P » 04 Apr 2019, 17:50

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.
Ed

donald
Full of knowledge
Full of knowledge
Posts: 2063
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

USM - Updates fail

Post#20 by donald » 05 Apr 2019, 05:12

Must be a problem at your end -- i updated (usm -u all) ~5min ago without problems.

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

USM - Updates fail

Post#21 by Ed_P » 05 Apr 2019, 05:17

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?
Ed

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

USM - Updates fail

Post#22 by brokenman » 13 Apr 2019, 19:54

Could this be firewall or IP range bans for india?
How do i become super user?
Wear your underpants on the outside and put on a cape.

raja
Shogun
Shogun
Posts: 434
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and Porteus-Artix-64
Location: Chennai,India

USM - Updates fail

Post#23 by raja » 19 Apr 2019, 08:58

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?
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit

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

USM - Updates fail

Post#24 by Ed_P » 19 Apr 2019, 23:49

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?
Ed

lksnip
White ninja
White ninja
Posts: 13
Joined: 23 Aug 2018, 01:05
Distribution: 4.0

USM - Updates fail

Post#25 by lksnip » 21 May 2019, 10:06

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

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

USM - Updates fail

Post#26 by Ed_P » 21 May 2019, 12:22

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. :)
Ed

lksnip
White ninja
White ninja
Posts: 13
Joined: 23 Aug 2018, 01:05
Distribution: 4.0

USM - Updates fail

Post#27 by lksnip » 20 Jul 2019, 07:07

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

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

USM - Updates fail

Post#28 by Ed_P » 20 Jul 2019, 13:43

Two options; 1. rerun sesm.sh, 2. manually tweak the problem mirror's mirror list files.
Ed

lksnip
White ninja
White ninja
Posts: 13
Joined: 23 Aug 2018, 01:05
Distribution: 4.0

USM - Updates fail

Post#29 by lksnip » 21 Jul 2019, 03:04

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

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

USM - Updates fail

Post#30 by Ed_P » 21 Jul 2019, 03:50

:good:

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

:)
Ed

Post Reply