FS#36022 - [ldb][samba] file conflicts

Attached to Project: Arch Linux
Opened by Andrew Gaydenko (student975) - Thursday, 04 July 2013, 13:18 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 04 July 2013, 16:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 62
Private No

Details

Got on system updating:

error: failed to commit transaction (conflicting files)
/usr/bin/ldbadd exists in both 'ldb' and 'samba'
/usr/bin/ldbdel exists in both 'ldb' and 'samba'
/usr/bin/ldbedit exists in both 'ldb' and 'samba'
/usr/bin/ldbmodify exists in both 'ldb' and 'samba'
/usr/bin/ldbrename exists in both 'ldb' and 'samba'
/usr/bin/ldbsearch exists in both 'ldb' and 'samba'
/usr/lib/python2.7/site-packages/ldb.so exists in both 'ldb' and 'samba'
/usr/share/man/man1/ldbadd.1.gz exists in both 'ldb' and 'samba'
/usr/share/man/man1/ldbdel.1.gz exists in both 'ldb' and 'samba'
/usr/share/man/man1/ldbedit.1.gz exists in both 'ldb' and 'samba'
/usr/share/man/man1/ldbmodify.1.gz exists in both 'ldb' and 'samba'
/usr/share/man/man1/ldbrename.1.gz exists in both 'ldb' and 'samba'
/usr/share/man/man1/ldbsearch.1.gz exists in both 'ldb' and 'samba'
/usr/share/man/man3/ldb.3.gz exists in both 'ldb' and 'samba'
Errors occurred, no packages were upgraded
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 04 July 2013, 16:58 GMT
Reason for closing:  Fixed
Comment by Gustavo Alvarez (sl1pkn07) - Thursday, 04 July 2013, 13:23 GMT
roger Laurent
Comment by Laurent Carlier (lordheavy) - Thursday, 04 July 2013, 14:16 GMT
Please use "Add vote" instead of "Same here" or +1

Comments deleted!
Comment by Joaquín Ignacio Aramendía (Samsagax) - Thursday, 04 July 2013, 15:23 GMT
Looking into the file lists for both. Shouldn't Samba provide ldb? And just conflict with the ldb package? Or split ldb package out of samba one
Comment by Andrew (Rasmussen) - Thursday, 04 July 2013, 15:44 GMT
Removing ldb package is not enough - conflict still appears in this case.
Comment by Joaquín Ignacio Aramendía (Samsagax) - Thursday, 04 July 2013, 15:48 GMT
Yes, because samba currently depends on 'ldb' package. But provides the same binaries... that's confusing, maybe upstream samba merged ldb inside the default installation.
Comment by Sid Karunaratne (sakaru) - Thursday, 04 July 2013, 16:12 GMT
Weirdly, if I rebuild the samba package locally I don't get those conflicting files in the .tar.xz:

sid samba > pacman -Qlp samba-4.0.7-1-x86_64.pkg.tar.xz | ack ldb
samba /usr/include/samba-4.0/ldb_wrap.h
samba /usr/include/samba-4.0/util_ldb.h
samba /usr/lib/python2.7/site-packages/samba/_ldb.so
samba /usr/lib/samba/ldb/
samba /usr/lib/samba/ldb/acl.so
samba /usr/lib/samba/ldb/aclread.so
samba /usr/lib/samba/ldb/anr.so
samba /usr/lib/samba/ldb/descriptor.so
samba /usr/lib/samba/ldb/dirsync.so
samba /usr/lib/samba/ldb/extended_dn_in.so
samba /usr/lib/samba/ldb/extended_dn_out.so
samba /usr/lib/samba/ldb/extended_dn_store.so
samba /usr/lib/samba/ldb/ildap.so
samba /usr/lib/samba/ldb/instancetype.so
samba /usr/lib/samba/ldb/lazy_commit.so
samba /usr/lib/samba/ldb/ldbsamba_extensions.so
samba /usr/lib/samba/ldb/linked_attributes.so
samba /usr/lib/samba/ldb/local_password.so
samba /usr/lib/samba/ldb/new_partition.so
samba /usr/lib/samba/ldb/objectclass.so
samba /usr/lib/samba/ldb/objectclass_attrs.so
samba /usr/lib/samba/ldb/objectguid.so
samba /usr/lib/samba/ldb/operational.so
samba /usr/lib/samba/ldb/partition.so
samba /usr/lib/samba/ldb/password_hash.so
samba /usr/lib/samba/ldb/ranged_results.so
samba /usr/lib/samba/ldb/repl_meta_data.so
samba /usr/lib/samba/ldb/resolve_oids.so
samba /usr/lib/samba/ldb/rootdse.so
samba /usr/lib/samba/ldb/samba3sam.so
samba /usr/lib/samba/ldb/samba3sid.so
samba /usr/lib/samba/ldb/samba_dsdb.so
samba /usr/lib/samba/ldb/samba_secrets.so
samba /usr/lib/samba/ldb/samldb.so
samba /usr/lib/samba/ldb/schema_data.so
samba /usr/lib/samba/ldb/schema_load.so
samba /usr/lib/samba/ldb/secrets_tdb_sync.so
samba /usr/lib/samba/ldb/show_deleted.so
samba /usr/lib/samba/ldb/simple_dn.so
samba /usr/lib/samba/ldb/simple_ldap_map.so
samba /usr/lib/samba/ldb/subtree_delete.so
samba /usr/lib/samba/ldb/subtree_rename.so
samba /usr/lib/samba/ldb/update_keytab.so
samba /usr/lib/samba/ldb/wins_ldb.so


Can someone else confirm?
Comment by GI Jack (GI_Jack) - Thursday, 04 July 2013, 16:33 GMT
affects me too now, got hit with this today on pacman -Syu
Comment by Mike Cloaked (mcloaked) - Thursday, 04 July 2013, 16:38 GMT
Until this gets fixed doing "pacman -Syu --ignore samba" at least updates everything else at the moment.
Comment by Kiril Vladimiroff (Vladimiroff) - Thursday, 04 July 2013, 16:41 GMT
I had the same issue until less than a minute ago. Just synced and everything seems to be fine now. Could anyone else confirm it?
Comment by Sid Karunaratne (sakaru) - Thursday, 04 July 2013, 16:44 GMT
Yep 4.0.7-2 is rebuilt against correct tdb and ldb (https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/samba&id=913dd179e7bcef7a0816a3b863d21fb9c74d1635)

Should be fixed now.
Comment by Mike Cloaked (mcloaked) - Thursday, 04 July 2013, 16:53 GMT
I am still seeing the same errors at the moment on i686 machines. I resynced and the package file for 4.0.7-2 downloaded again but the conflict remains!

PS - On my x86_64 machines pacman updates samba fine now - so maybe it is still an issue for i686 machines? Anyone else confirm?

Final note - now new version 4.0.7-3 does work on i686 so this really is fixed now. Thank you for fixing it within the few hours.

Loading...