Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74085 - xorg-x11 does not remove fonts.dir/encodings.dir on unmerge
Summary: xorg-x11 does not remove fonts.dir/encodings.dir on unmerge
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
Depends on:
Reported: 2004-12-11 04:43 UTC by Peter S. Mazinger
Modified: 2005-05-24 01:20 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
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:
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.