Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 429732 - sys-apps/portage: collision between file and directory symlink requires special handling
Summary: sys-apps/portage: collision between file and directory symlink requires speci...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-03 21:10 UTC by Zac Medico
Modified: 2022-10-20 02:43 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 Zac Medico gentoo-dev 2012-08-03 21:10:28 UTC
For example, see bug #429692. The collision check sees that the installed instance "owns" the /usr/lib path, but it doesn't notice that the file types are different. Here is the relevant code in dblink._collision_protect():

	for ver in mypkglist:
		if ver.isowner(f):
			isowned = True
			break