You are not logged in.
Pages: 1
Hey, once I install a driver, if it turns out to be the wrong one, can I just uninstall it and return to how my system was previously?
Say with the pacman -Rsu command?
joe@trusktr.io - joe at true skater dot io.
Offline
Offline
Thanks Allan. What;s the difference?
joe@trusktr.io - joe at true skater dot io.
Offline
"man pacman" is you r friend:
-s, --recursive
Remove each target specified including all of their dependencies, provided that (A) they are not required by other packages; and (B) they were not explicitly installed by the user. This operation is recursive and analogous to a backwards --sync operation, and helps keep a clean system without orphans. If you want to omit condition (B), pass this option twice.
-u, --unneeded
Removes the targets that are not required by any other packages. This is mostly useful when removing a group without using the -c option, to avoid breaking any dependencies.
Offline
So if I don't use the 'u' option, then perhaps it might leave some packages/apps/targets that essentially won't be used for anything, save for their possible handyness in the future?
joe@trusktr.io - joe at true skater dot io.
Offline
-s command:
"Remove each target specified including all of their dependencies"
then have a look at condition (A) of the -s command:
"provided that (A) they are not required by other packages"
compare this to -u:
"Removes the targets that are not required by any other packages."
and than condition (B) of the -s command:
"and (B) they were not explicitly installed by the user."
So you aren't left with any orphans if you use -s and not -u.
Last edited by JackH79 (2010-02-21 04:37:55)
Offline
Hey sorry, Jack in my previous comment i meant 's', not 'u'.
So just using and 's' will then leave packages/apps that perhaps might not even be used for anything, whereas these packages will be deleted by using 'u'.
So if i want my system to be cleaner, then perhaps I should just include the 'u', right?
joe@trusktr.io - joe at true skater dot io.
Offline
Oh, and by "explicitly installed" i'm assuming this means installed without the use of pacman, right?
joe@trusktr.io - joe at true skater dot io.
Offline
Wrong. Please don't make assumptions without doing the necessary research - in this case, a thorough reading of the pacman man page will help.
Offline
Alright, will do. Thanks!
joe@trusktr.io - joe at true skater dot io.
Offline
Pages: 1