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

Bug 74085

Summary: xorg-x11 does not remove fonts.dir/encodings.dir on unmerge
Product: Gentoo Linux Reporter: Peter S. Mazinger <ps.m>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter S. Mazinger 2004-12-11 04:43:12 UTC
I have unmerge xorg-x11 and it left files back in /usr/share/fonts/*
having collision-protect in USE flags, on the next merge of xorg-x11
it failed, because these files where present
* = local/encodings/misc/CID in my case
also fonts-cache.1 is there
maybe this should be handled in pkg_prerm, so that the directory cleanup
work too

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-12-11 12:52:16 UTC
Yeah, that happens because those files are generated in pkg_postinst().

If we remove them in pkg_*rm(), won't that remove them in the upgrade case too, when they need to stay? Since package removal takes place after installation, that's what I would think.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-24 01:20:10 UTC
This is a problem because they're often regenerated later. Not much we can do.
I've removed all force-regeneration I can find.