Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#11763 - Pacman can delete itself using -Rc
Attached to Project:
Pacman
Opened by No. (Nov) - Thursday, 16 October 2008, 10:07 GMT
Last edited by Dan McGee (toofishes) - Friday, 31 October 2008, 23:55 GMT
Opened by No. (Nov) - Thursday, 16 October 2008, 10:07 GMT
Last edited by Dan McGee (toofishes) - Friday, 31 October 2008, 23:55 GMT
|
DetailsDescription:
When running pacman -Rc <some packages, was X, wine, xmp amongst some others i unfortunently cant remember> It deleted pacman itself, whilest i have pacman in HoldPkg.. see log for more Additional info: I've attached pacman.conf and pacman.log Steps to reproduce: When running pacman -Rc <some packages, was X, wine, xmp amongst some others i unfortunently cant remember> |
This task depends upon
Closed by Dan McGee (toofishes)
Friday, 31 October 2008, 23:55 GMT
Reason for closing: Won't fix
Additional comments about closing: No response from reporter, comments explain everything.
Friday, 31 October 2008, 23:55 GMT
Reason for closing: Won't fix
Additional comments about closing: No response from reporter, comments explain everything.
pacman.conf
Anyway, this just looks like a huge user mistake to me, if you remove a critical dependency using -Rc, then ALL packages which depend directly and indirectly on it will be removed...
You did much worse than removing pacman, you removed many critical components of your system...
pacman always ask you for confirmation when using -Rc, it shows you the list of packages it is going to remove and you have to press enter before it starts doing so. That huge list of packages should have alerted you.
However, you have a very good point about HoldPkg not having effect with -Rc and thus being quite useless. We already noticed that before, see
FS#9173for that.So this bug can apparently be closed, but let's wait for an eventual answer from the reporter :)