Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292537 - sys-libs/tdb-1.1.5-r1 and net-fs/samba-3.0.37 file collisions
Summary: sys-libs/tdb-1.1.5-r1 and net-fs/samba-3.0.37 file collisions
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 294327 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-09 15:47 UTC by Joseph D. Wieber, Jr.
Modified: 2012-03-15 17:06 UTC (History)
4 users (show)

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


Attachments
my keywords file (package.keywords,8.39 KB, text/plain)
2009-11-09 15:48 UTC, Joseph D. Wieber, Jr.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph D. Wieber, Jr. 2009-11-09 15:47:00 UTC
sys-libs/tdb-1.1.5-r1 and net-fs/samba-3.0.37 both report owning tdbdump, tdbtool, and tdbbackup resulting in a collision when emerging sys-libs/tdb with net-fs/samba already emerged.

These files were brought down as a series of update world commands related to kde 4.3.3 and have had to unmask a series of packages. 


Reproducible: Always

Steps to Reproduce:
1.with kde 4.3.2 installed run emerge -uDN world
2.
3.

Actual Results:  
Package 'sys-libs/tdb-1.1.5-r1' NOT merged due to file collisions.

Expected Results:  
Successful completion of the emerge process.
Comment 1 Joseph D. Wieber, Jr. 2009-11-09 15:48:50 UTC
Created attachment 209752 [details]
my keywords file

These are the tilde packages I have installed on my system.
Comment 2 Rafał Mużyło 2009-11-09 16:08:16 UTC
Mixing stable and unstable.
Keyword >=samba-3.3.9.
Comment 3 Patrick Lauer gentoo-dev 2009-11-09 16:32:05 UTC
I do wonder what pulls in tdb - it's only a dependency of newer samba versions.

The "bug" that it should block samba <3.3 is mostly valid :)
Comment 4 Joseph D. Wieber, Jr. 2009-11-09 22:35:18 UTC
(In reply to comment #3)
> I do wonder what pulls in tdb - it's only a dependency of newer samba versions.
> 
> The "bug" that it should block samba <3.3 is mostly valid :)
> 

When I take sys-libs/tdb out of my package.keywords file this is the message I get.

!!! All ebuilds that could satisfy "sys-libs/tdb" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-libs/tdb-1.1.5-r1 (masked by: ~amd64 keyword)
- sys-libs/tdb-1.1.5 (masked by: ~amd64 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "net-fs/samba-client-3.4.3" [ebuild])
(dependency required by "kde-base/kdebase-kioslaves-4.3.3-r1" [ebuild])
(dependency required by "kde-base/konqueror-4.3.3" [installed])
(dependency required by "net-wireless/kdebluetooth4-0.4_beta1" [installed])
(dependency required by "world" [argument])
Comment 5 Preston Crow 2009-11-11 20:17:04 UTC
I hit this when upgrading net-fs/samba-libs.    The solution was to unmerge samba-libs, then remerge the newer version, which pulled in sys-libs/tdb.

What we have here is a newer version of a package that moves a portion of its contents to another package that it now depends on, but you can't install that package first if you already have the older version of the primary package installed.
Comment 6 Joseph D. Wieber, Jr. 2009-11-11 21:37:28 UTC
Thanks for the info Preston. All is updating nicely now.
Comment 7 Patrick Lauer gentoo-dev 2009-11-24 09:41:50 UTC
*** Bug 294327 has been marked as a duplicate of this bug. ***
Comment 8 Daniel Díaz 2010-12-22 03:54:05 UTC
I hit this one today (yeah, this late).

 * Messages for package sys-libs/tdb-1.2.1:

 * 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):
 * 
 * 	/usr/share/man/man8/tdbtool.8.bz2
 * 	/usr/share/man/man8/tdbbackup.8.bz2
 * 	/usr/share/man/man8/tdbdump.8.bz2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * net-fs/samba-3.0.37
 * 	/usr/share/man/man8/tdbbackup.8.bz2
 * 	/usr/share/man/man8/tdbdump.8.bz2
 * 	/usr/share/man/man8/tdbtool.8.bz2
 * 
 * Package 'sys-libs/tdb-1.2.1' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

tdb-1.x should block on Samba < 3.4. I don't have Samba nor tdb in /etc/portage/package.{keywords,unmask}.

Why is this bug marked as invalid?
Comment 9 MarisN 2010-12-28 09:04:01 UTC
Remind me - why file collisions is enduser problem?

 * package sys-libs/tdb-1.2.1-r1 NOT merged
 *
 * Detected file collision(s):
 *
 *      /usr/include/tdb.h
 *      /usr/lib/libtdb.so
 *      /usr/lib/libtdb.so.1
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * net-fs/samba-3.2.13-r2
 *      /usr/include/tdb.h
 *      /usr/lib/libtdb.so
 *      /usr/lib/libtdb.so.1
 *
 * Package 'sys-libs/tdb-1.2.1-r1' NOT merged due to file collisions.
Comment 10 MarisN 2010-12-28 09:09:15 UTC
Spoke too soon:
* package sys-libs/talloc-2.0.1-r1 NOT merged
 *
 * Detected file collision(s):
 *
 *      /usr/include/talloc.h
 *      /usr/lib/libtalloc.so
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * net-fs/samba-3.2.13-r2
 *      /usr/include/talloc.h
 *      /usr/lib/libtalloc.so
Comment 11 Martin Mokrejš 2012-03-15 17:06:23 UTC
Mee too.

 * net-fs/samba-3.0.37
 *      /usr/bin/tdbbackup
 *      /usr/bin/tdbdump
 *      /usr/bin/tdbtool
 *      /usr/share/man/man8/tdbbackup.8.bz2
 *      /usr/share/man/man8/tdbdump.8.bz2
 *      /usr/share/man/man8/tdbtool.8.bz2
 * 
 * Package 'sys-libs/tdb-1.2.9' NOT merged due to file collisions. ...