Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24052 - It is possible to make an installation unremovable
Summary: It is possible to make an installation unremovable
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-07 08:49 UTC by Michael Cummings (RETIRED)
Modified: 2011-10-30 22:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Cummings (RETIRED) gentoo-dev 2003-07-07 08:49:11 UTC
Not sure if this counts as a bug or a feature, but while trying to work on a 
problem I found that if you add an echo "" > /path/to/CONTENTS in pkg_postinst, 
from then on even if you attempt to unmerge the package, the files remain in 
place (which is pretty obvious, I know, since the CONTENTS file is used to back 
out an installation). Just passing on,

Mike

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2003-07-10 21:04:42 UTC
uhh you're right ... not quite sure to say about this :) 
 
if you `rm -rf /` then it is possible to make your system unbootable ... 
Comment 2 SpanKY gentoo-dev 2003-07-10 21:05:23 UTC
in other words, yes, if you delete the db outlining what an installed package contains, 
then you cant remove it later ...