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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity High
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
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.
Comment by Xavier (shining) - Thursday, 16 October 2008, 11:49 GMT
Why does your log end here? What comes after?

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#9173  for that.

So this bug can apparently be closed, but let's wait for an eventual answer from the reporter :)

Loading...