How-to reinstall all packages [answered]
After some slightly non-standard backup recovery procedure, I’d like to fix things further by redownloading and reinstalling all rpm packages. What is the easiest way of doing that on Sailfish OS?
After some slightly non-standard backup recovery procedure, I’d like to fix things further by redownloading and reinstalling all rpm packages. What is the easiest way of doing that on Sailfish OS?
for p in $(rpm -q -a --qf "%{NAME}\n" | sort); do echo $p; pkcon install $p; done
I guess I have a serious problem: the command above returns "Failed - Could not find package xxx" (for ALL listed packages)
objectifnul ( 2017-04-17 00:25:35 +0300 )editSame issue after pkcon refresh :-(
(Since a weird incident yesterday, several apps are now broken or semi-broken, that's why I believed your post could maybe save my life)
Will try again tomorrow with zypper instead of pkcon
objectifnul ( 2017-04-17 00:46:00 +0300 )editI suspect the issue is this: pkcon install zypper will work but pkcon install zypper-1.8.3-1.1.39-armv7hl (with version number) won't. How do I format rpm output to keep only the package name?
Asked: 2017-04-15 21:39:02 +0300
Seen: 975 times
Last updated: Apr 17 '17