I using porteus 4.0 and usm says error occured when updating.
fatal error
usm update_database 248
could not decompress: checksums.md5.gz
how do I download packages?
usm error
-
- White ninja
- Posts: 6
- Joined: 03 Sep 2022, 09:53
- Distribution: porteus xfce 5.0
usm error
hi try this for your packages search: https://slakfinder.org/ remember to choose the i386 system,when you have a package listed click on it and you can see the deps if you have any.
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
usm error
yasir try this script for USM.
Code: Select all
#!/bin/sh
if [ `whoami` != "root" ]; then
echo -e "Enter root's password\033[1;31m"
su -c "sh $0 $1 $2"; exit
fi
echo -e "\033[0m"; echo -en "\033]0;USM update fix\a"
if [ ! -e /etc/usm/usm.conf.bkup ]; then
cp /etc/usm/usm.conf /etc/usm/usm.conf.bkup
fi
sed -i 's^patches slacky salix^patches salix^' /etc/usm/usm.conf
usm -u all
rm /var/usm/slacky/*
touch /var/usm/slacky/{CHECKSUMS.md5,LIBS.TXT,OPTIFEST,PACKAGES.TXT};
#https://forum.porteus.org/viewtopic.php?p=82046#p82046
cp /etc/usm/usm.conf.bkup /etc/usm/usm.conf
echo "USM Update done."
read
Ed
-
- White ninja
- Posts: 6
- Joined: 03 Sep 2022, 09:53
- Distribution: porteus xfce 5.0
usm error
I saved that script as "usm" and tried executing the script from my /home/guest/ but it says only root can execute it.Ed_P wrote: ↑08 Sep 2022, 16:03yasir try this script for USM.Code: Select all
#!/bin/sh if [ `whoami` != "root" ]; then echo -e "Enter root's password\033[1;31m" su -c "sh $0 $1 $2"; exit fi echo -e "\033[0m"; echo -en "\033]0;USM update fix\a" if [ ! -e /etc/usm/usm.conf.bkup ]; then cp /etc/usm/usm.conf /etc/usm/usm.conf.bkup fi sed -i 's^patches slacky salix^patches salix^' /etc/usm/usm.conf usm -u all rm /var/usm/slacky/* touch /var/usm/slacky/{CHECKSUMS.md5,LIBS.TXT,OPTIFEST,PACKAGES.TXT}; #https://forum.porteus.org/viewtopic.php?p=82046#p82046 cp /etc/usm/usm.conf.bkup /etc/usm/usm.conf echo "USM Update done." read
So, I used "sudo usm" and entered the root password "toor" but it says invalid password.
What am I doing wrong?
-
- Full of knowledge
- Posts: 2070
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
usm error
Not knowing what you already did , I start fresh:
copy the script - mine is in /home/guest/Test/ named usm like you did.
open terminal in that folder where the script is and try to run it, you will most likely
see this:
guest@porteus:~/Test$ ./usm
bash: ./usm: Permission denied
now run
guest@porteus:~/Test$ chmod +x ./usm
and run the script once more.
guest@porteus:~/Test$ ./usm
Enter root's password
Password:
enter root Pw and it should work as it did for me ---- no sudo please.
btw
I would add a line at the end/bottom of the script to make it more obvious.
echo "USM Update done."
echo "Press Enter to exit" <-- this is the additional line
read
copy the script - mine is in /home/guest/Test/ named usm like you did.
open terminal in that folder where the script is and try to run it, you will most likely
see this:
guest@porteus:~/Test$ ./usm
bash: ./usm: Permission denied
now run
guest@porteus:~/Test$ chmod +x ./usm
and run the script once more.
guest@porteus:~/Test$ ./usm
Enter root's password
Password:
enter root Pw and it should work as it did for me ---- no sudo please.
Code: Select 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 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
USM Update done.
guest@porteus:~/Test$
I would add a line at the end/bottom of the script to make it more obvious.
echo "USM Update done."
echo "Press Enter to exit" <-- this is the additional line
read