Code: Select all
touch /var/usm/slacky/{CHECKSUMS.md5,LIBS.TXT,OPTIFEST,PACKAGES.TXT};
Code: Select all
touch /var/usm/slacky/{CHECKSUMS.md5,LIBS.TXT,OPTIFEST,PACKAGES.TXT};
Or maybe that's completely wrong because all the VLC xzm does is crash crash crash. I'd downloaded vlc-3.0.12-x86_64-1alien.txzBob1414 wrote: ↑12 Apr 2021, 13:12
I have been, after all, trying to download and use standalone programs. This is not the same as, for example, using the Nodejs package manager (npm, for javascript and nothing to do with Linux) wherein almost every download has dependencies that will get simultaneously downloaded if missing.
I've just successfully installed VLC, quick and easy once the trick is known.
download / activateOr maybe that's completely wrong because all the VLC xzm does is crash crash crash. I'd downloaded vlc-3.0.12-x86_64-1alien.txz
Thanks, Donald. Apparently, unlike most Linux(es), everything for Porteus has to be in a module customized for the Porteus version and probably for the Cinnamon DE, too. I'll try the QT5 tool, after I get the basics hammered out for using Porteus if/when my update-damaged Windows fails to start.
usmupdate2021.shdonald wrote: ↑12 Apr 2021, 11:33Code: Select all
touch /var/usm/slacky/{CHECKSUMS.md5,LIBS.TXT,OPTIFEST,PACKAGES.TXT};
Code: Select all
#!/bin/sh
# Based on suggestions from donald:
# https://forum.porteus.org/viewtopic.php?p=82013#p82013
function Title() {
echo -en "\033]0;$1\a";
}
Title "USM Update"
if [ `whoami` != "root" ]; then
echo "Enter root's password" $(tput bold)$(tput setaf 1) # 1-red, 2-green, 6-cyan, 7-white
su -c "sh $0 $1 $2"; exit
fi
echo $(tput sgr0)
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 --force /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."
echo "Press Enter to Exit."
read
Code: Select all
root@porteus:/home/guest# ./usmupdate2021.sh
find: "/tmp/xdg-runtime-guest/gvfs": Keine Berechtigung
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
rm: das Entfernen von '/var/usm/slacky/*' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
USM Update done.
^C
root@porteus:/home/guest# cd /var/usm/
root@porteus:/var/usm# ls
alien/ ponce/ sbo/ slackware/ slacky/
local/ salix/ slackonly/ slackwarepatches/
root@porteus:/var/usm#
because the DIR was empty, but the update did work,no?Error message from script:
Removing the slacky file is not possible. file not found
* is a wildcard - goggle it.But what does * mean?
Kulle none of my /var/usm/ folders have sub-folders. Why does your /var/usm/slacky have one?
Ok.
Thank you donald.
Code: Select all
List of video drivers:
nouveau
modesetting
configuration failed .. error (2)
Code: Select all
List of video drivers (the same):
nouveau (the same as above)
modesetting (the same as above)
configuration failed .. error (2)