You are not logged in.
Pages: 1
Maybe pacman should show a warning, if the user tries to remove it?
Offline
Why? You're allowed to remove it. Should we also add some warnings into 'rm' to prevent users from doing stupid things?
Offline
I removed something (can't remember) apt-get required to work when I first tried kubuntu, I wasn't great at compiling stuff from source back then. Of course I got a whole lot better very quickly;)
Offline
there is always pacman.static
Offline
pacman is just a pkg like al other pkgs, i don't see why it should be treated any differently, after all it's a dependency to the system .. it's a fundamental part of it, but not a dependency, if someone decides to remove for whatever reason, that's there own decision, it isn't forced on them .. btw, all that's required to restore it is to extract the pkg onto the fs.
you can go download the pkg, or check the cache ... then un-tar/gz it onto / then reinstall pacman with -f
Offline
You can always use the HoldPkg line in your pacman.conf options.
HoldPkg = pacman
I assume it's still a functional option in pacman3.
Offline
Yes, pacman is even in HoldPkg by default with glibc (in pacman.conf), so it already gives a warning :
pacman -R pacman ~
:: pacman is designated as a HoldPkg. Remove anyway? [Y/n]
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
I guess that when some new clients of the libalpm emerge, pacman should no longer be designated as a HoldPkg, but until then this seems like the wisest decision.
Last edited by Lord_Bad (2007-06-19 10:33:26)
Offline
emerge pacman
pun intended?
Offline
Read the entire sentence again. I meant that client of the libalpm would eventually emerge. Not to be confused with the famous tool "emerge" from Gentoo's portage.
Offline
Lord_Bad wrote:emerge pacman
pun intended?
lol, I read that too the first time, so I guess so
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Pages: 1