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

Bug 160523

Summary: app-admin/sudo-1.6.8_p12-r1 collision
Product: Gentoo Linux Reporter: Rob Clark <hyakuhei>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rob Clark 2007-01-06 17:39:35 UTC
* checking 23 files for package collisions
existing file /usr/bin/sudo is not owned by this package
existing file /usr/bin/sudoedit is not owned by this package
existing file /usr/sbin/visudo is not owned by this package
existing file /usr/libexec/sudo_noexec.la is not owned by this package
existing file /usr/libexec/sudo_noexec.so is not owned by this package
existing file /usr/share/doc/sudo-1.6.8_p12-r1/sample.syslog.conf.gz is not owned by this package
existing file /usr/share/doc/sudo-1.6.8_p12-r1/README.gz is not owned by this package
existing file /usr/share/doc/sudo-1.6.8_p12-r1/UPGRADE.gz is not owned by this package
existing file /usr/share/doc/sudo-1.6.8_p12-r1/PORTING.gz is not owned by this package
existing file /usr/share/doc/sudo-1.6.8_p12-r1/TODO.gz is not owned by this package
existing file /usr/share/doc/sudo-1.6.8_p12-r1/HISTORY.gz is not owned by this package
existing file /usr/share/doc/sudo-1.6.8_p12-r1/TROUBLESHOOTING.gz is not owned by this package
existing file /usr/share/doc/sudo-1.6.8_p12-r1/sample.sudoers.gz is not owned by this package
existing file /usr/share/doc/sudo-1.6.8_p12-r1/sample.pam.gz is not owned by this package
existing file /usr/share/doc/sudo-1.6.8_p12-r1/BUGS.gz is not owned by this package
existing file /usr/share/doc/sudo-1.6.8_p12-r1/CHANGES.gz is not owned by this package
existing file /usr/share/doc/sudo-1.6.8_p12-r1/RUNSON.gz is not owned by this package
existing file /usr/share/man/man5/sudoers.5.gz is not owned by this package
existing file /usr/share/man/man8/visudo.8.gz is not owned by this package
existing file /usr/share/man/man8/sudoedit.8.gz is not owned by this package
existing file /usr/share/man/man8/sudo.8.gz is not owned by this package
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it 
* as a bug for this package on http://bugs.gentoo.org

package app-admin/sudo-1.6.8_p12-r1 NOT merged


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-06 17:41:56 UTC
Well, then tell us what owns those files (emerge gentoolkit, equery b /path/to/file or whatever).
Comment 2 Rob Clark 2007-01-06 17:55:07 UTC
(In reply to comment #1)
> Well, then tell us what owns those files (emerge gentoolkit, equery b
> /path/to/file or whatever).
> 

sudo was removed using "emerge -C sudo"..this worked fine, I then installed sudo using "emerge -atv app-admin/sudo" from here I had the issue.

At your request I ran an "equery b" on a number of the files, each time I just got blank output...

localhost ~ # equery belongs /usr/bin/sudo 
[ Searching for file(s) /usr/bin/sudo in *... ]
localhost ~ # equery belongs /usr/bin/sudoedit  
[ Searching for file(s) /usr/bin/sudoedit in *... ]
localhost ~ # equery belongs /usr/share/man/man5/sudoers.5.gz 
[ Searching for file(s) /usr/share/man/man5/sudoers.5.gz in *... ]

--perhaps the emerge -C didn't do its job. I checked but as far as portage is concerned sudo is no longer installed, maybe its best for me to just delete these files for now and emerge the new sudo...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-06 17:58:59 UTC
Well, sorry but we can't fix collisions with orphaned files at all... Reopen if you find out what installed/orphaned them, AFAICT nothing else does install those. Also emerge --info is usually useful.