Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1256 - portage erronously removes empty directories during unmerge
Summary: portage erronously removes empty directories during unmerge
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-20 08:17 UTC by ralf
Modified: 2011-10-30 22:21 UTC (History)
1 user (show)

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 ralf 2002-03-20 08:17:22 UTC
during the emerge update process, several versions of a package can be
installed. after that, trying to unmerge the old version will remove
empty directories common to both the old and the new package, thus
possibly damaging the installation of the new package.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2002-10-23 11:08:32 UTC
make a .keep in the ebuilds.
Empty directories are assumed unneeded which is a practical solution.
An ebuild should have .keep's for a directory that needs to be
persistant. This will maintain the directory and it's ownership
to the newest package.