Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1256

Summary: portage erronously removes empty directories during unmerge
Product: Portage Development Reporter: ralf
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED INVALID    
Severity: normal CC: carpaski
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.