Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405505 - sys-fs/udev-init-scripts-8 collides with sys-fs/udev-175-r1
Summary: sys-fs/udev-init-scripts-8 collides with sys-fs/udev-175-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-24 04:08 UTC by Alec Meyers
Modified: 2012-03-20 12:35 UTC (History)
3 users (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 Alec Meyers 2012-02-24 04:08:09 UTC
sys-fs/udev-init-scripts-8 (a dependency of udev-181) collides with the currently-installed sys-fs/udev-175-r1

>>> Installing (2 of 3) sys-fs/udev-init-scripts-8
 * checking 10 files for package collisions
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 * 	/lib/udev/write_root_link_rule
 * 	/lib/udev/net.sh
 * 	/lib/udev/rules.d/90-network.rules
 * 	/lib/udev/rules.d/40-gentoo.rules
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-fs/udev-175-r1
 * 	/lib/udev/net.sh
 * 	/lib/udev/rules.d/40-gentoo.rules
 * 	/lib/udev/rules.d/90-network.rules
 * 	/lib/udev/write_root_link_rule
 * 
 * Package 'sys-fs/udev-init-scripts-8' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

Reproducible: Always

Steps to Reproduce:
1. emerge =udev-181
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-24 05:06:43 UTC
jer@wieneke /newaches/gentoo/cvs/gentoo-x86/sys-fs/udev-init-scripts $ ebuildvar RDEPEND
   udev-init-scripts-8.ebuild : RDEPEND=">=sys-fs/udev-180"
udev-init-scripts-9999.ebuild : RDEPEND=">=sys-fs/udev-180"
Comment 2 Alec Meyers 2012-02-24 05:20:17 UTC
(In reply to comment #1)
> jer@wieneke /newaches/gentoo/cvs/gentoo-x86/sys-fs/udev-init-scripts $
> ebuildvar RDEPEND
>    udev-init-scripts-8.ebuild : RDEPEND=">=sys-fs/udev-180"
> udev-init-scripts-9999.ebuild : RDEPEND=">=sys-fs/udev-180"

Sorry, but how do I up to >=udev-180 if >=udev-180 depends on udev-init-scripts-8, which collides with the currently installed version?

To be clear:
- sys-fs/udev-175-r1 is installed.
- I try to update udev to 181
- portage tries to install udev-init-scripts <-- collision
- sys-fs/udev-181 fails to install due to failed dependency

So there needs to be a blocker, or post-dependency, or something else to ensure that old udev gets unmerged before udev-init-scripts gets installed.

I'm reopening this.
Comment 3 Richard Grenville 2012-02-24 11:17:14 UTC
emerge --unmerge (-C) forcefully uninstalls a package, disregarding dependencies. So you could use:

emerge -C udev
emerge '=udev-181'

Another possibility is to disable "protect-owned" and "collision-protect" in FEATURES temporarily when installing sys-fs/udev-init-scripts.

But I guess there indeed should be a blocker in sys-fs/udev-init-scripts.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-03-20 12:35:12 UTC
Fixed in version 10 and 9999 by setting some more blockers