Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532996 - Symlink protection makes uninstall of kde packages terribly slow
Summary: Symlink protection makes uninstall of kde packages terribly slow
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-19 01:02 UTC by Wiktor Garbacz
Modified: 2014-12-20 16:32 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 Wiktor Garbacz 2014-12-19 01:02:35 UTC
Uninstalling a bigger group of kde packages takes a really long time due to many symlink protection checks.
Symlinks are of form
 /usr/share/doc/HTML/en/{app_name}/common -> /usr/share/doc/HTML/en/common
which seems to be safe to remove and were found so on my system.
There are 2 possible solutions:
 1. exclude the symlinks from protection
 2. check and remove them all at the end of emerge (each check took ~15s which is not tragic but I was depcleaning ~80 packages)
Comment 1 Zac Medico gentoo-dev 2014-12-20 16:32:36 UTC
I don't think there's any need to optimize this case, since it only occurs when you remove the kde packages, not when you upgrade.