FS#75439 - [libsbsms] File conflicts with old package sbsms

Attached to Project: Community Packages
Opened by Peter Cordes (pcordes) - Thursday, 28 July 2022, 00:37 GMT
Last edited by Toolybird (Toolybird) - Saturday, 20 May 2023, 03:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: upgrade failed because the new libsbsms package owns the same files as the old sbsms, but apparently doesn't tell the package manage that it replaces it.

It seems nothing on my system depends on it anymore, so I can proceed by just removing it. But if any future users still have this old package around, it'd be nice if they didn't have to manually investigate and repair.

The sbsms package on my system was from the official repositories, installed as part of a system update from its previous version, not from AUR. My pacman.log has:

[2019-01-25 02:07] [ALPM] upgraded sbsms (2.0.2-2 -> 2.0.2-3)


Additional info:
* package version(s): libsbsms-2.3.0-3 is the new package, the old one is sbsms-2.0.2-3

$ pacman -Qii 'sbsms'
Name : sbsms
Version : 2.0.2-3
Description : Library for time stretching and pitch scaling of audio
Architecture : x86_64
URL : http://sbsms.sourceforge.net/
Licenses : GPL
Groups : None
Provides : None
Depends On : gcc-libs
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 264.00 KiB
Packager : Felix Yan <felixonmars@archlinux.org>
Build Date : Tue 05 Jun 2018 02:12:09 PM
Install Date : Fri 25 Jan 2019 02:07:13 AM
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
Backup Files :
(none)


I do still have audacity 1:2.4.1-7 installed, but it doesn't depend directly on sbsms (any more, if it ever did?) I removed some packages I rarely use in preparation for this update, but I don't think any of them depended on it, either. So IDK when it became an orphaned dependency on my system. (And I don't know how to query what non-installed packages might depend on it.)

The last system-wide upgrade I did was 2022.01.30, embarrassingly long ago :/

The actual error I encountered was during an update:

$ sudo pacman -Syu
...
:: Proceed with installation? [Y/n]
(1192/1192) checking keys in keyring [######################################################################################] 100%
(1192/1192) checking package integrity [######################################################################################] 100%
(1192/1192) loading package files [######################################################################################] 100%
(1192/1192) checking for file conflicts [######################################################################################] 100%
error: failed to commit transaction (conflicting files)
libsbsms: /usr/include/sbsms.h exists in filesystem (owned by sbsms)
libsbsms: /usr/lib/libsbsms.so exists in filesystem (owned by sbsms)
libsbsms: /usr/lib/pkgconfig/sbsms.pc exists in filesystem (owned by sbsms)
Errors occurred, no packages were upgraded.
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 20 May 2023, 03:07 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Too much time has passed now. Anyone still affected will have to resolve manually.
Comment by Toolybird (Toolybird) - Thursday, 28 July 2022, 07:51 GMT
sbsms was dropped from main repos to AUR 2019-04-03 [1]. A conflicts entry for sbsms<=2.3.0 might be warranted?

https://aur.archlinux.org/cgit/aur.git/commit/?h=sbsms&id=992b27f8
Comment by Dolores (meskarune) - Friday, 29 July 2022, 09:53 GMT
I just wanted to confirm I also get this error and like OP I have a very old arch system and sbsms seems to be an orphan.

error: failed to commit transaction (conflicting files)
libsbsms: /usr/include/sbsms.h exists in filesystem (owned by sbsms)
libsbsms: /usr/lib/libsbsms.so exists in filesystem (owned by sbsms)
libsbsms: /usr/lib/pkgconfig/sbsms.pc exists in filesystem (owned by sbsms)
Errors occurred, no packages were upgraded.


Name : sbsms
Version : 2.0.2-3
Description : Library for time stretching and pitch scaling of audio
Architecture : x86_64
URL : http://sbsms.sourceforge.net/
Licenses : GPL
Groups : None
Provides : None
Depends On : gcc-libs
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 264.00 KiB
Packager : Felix Yan <felixonmars@archlinux.org>
Build Date : 2018-06-05T20:12:09 EEST
Install Date : 2018-07-17T19:27:02 EEST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
Backup Files :

Loading...