FS#18603 - [pacman] removes wrong files
Attached to Project:
Pacman
Opened by Kyle Keen (keenerd) - Monday, 08 March 2010, 04:00 GMT
Last edited by Dan Griffiths (Ghost1227) - Monday, 08 March 2010, 04:37 GMT
Opened by Kyle Keen (keenerd) - Monday, 08 March 2010, 04:00 GMT
Last edited by Dan Griffiths (Ghost1227) - Monday, 08 March 2010, 04:37 GMT
|
Details
Description:
Pacman will remove a lot of files that are not packages or database listings. It uses a very heavy handed function, rmrf() to nuke everything. Despite there being a predictable naming scheme for just about all the files. Additional info: pacman 3.3.3 (only half evil) Steps to reproduce: pacman -Scc --cachedir / |
This task depends upon
Closed by Dan Griffiths (Ghost1227)
Monday, 08 March 2010, 04:37 GMT
Reason for closing: Not a bug
Additional comments about closing: It specified 'cache directory: /' if you're not paying enough attention to say 'oh crap, deleting everything in root is bad' that's your problem... try taking away your own access to sudo.
Monday, 08 March 2010, 04:37 GMT
Reason for closing: Not a bug
Additional comments about closing: It specified 'cache directory: /' if you're not paying enough attention to say 'oh crap, deleting everything in root is bad' that's your problem... try taking away your own access to sudo.
> pacman -U IAMNOTAPACKAGE
loading package data...
checking dependencies...
(1/1) checking for file conflicts [#####################] 100%
(1/1) upgrading abs [#####################] 100%
> pacman -Scc --cachedir /
Cache directory: /
Do you want to remove ALL files from cache? [y/N]
It is quite clear what that operation will be doing.