FS#3492 - pacman -U doesnt honour 'provides' or 'replaces'
Attached to Project:
Pacman
Opened by Vinay S Shastry (shastry) - Wednesday, 16 November 2005, 11:47 GMT
Last edited by Xavier (shining) - Tuesday, 15 September 2009, 10:05 GMT
Opened by Vinay S Shastry (shastry) - Wednesday, 16 November 2005, 11:47 GMT
Last edited by Xavier (shining) - Tuesday, 15 September 2009, 10:05 GMT
|
Details
I tried installing a package from AUR
http://aur.archlinux.org/packages/gtk-engines-cvs/gtk-engines-cvs/PKGBUILD
. The pkgbuild is fine, but when i try installing it,
pacman -U gtk-engines-cvs-051116-1.pkg.tar.gz loading package data... done. :: gtk-engines-cvs conflicts with gtk-engines. Remove gtk-engines? [Y/n] error: this will break the following dependencies: gtk-engines: is required by gnome-themes-extras gtk-engines: is required by gnome-themes I think this is a pacman bug because it doesnt seem to check/honour the 'provides' or 'replaces' values. To install this.. i had to remove gtk-engines with --nodeps and then install this. And i believe this is not limited to this package alone. |
This task depends upon
Closed by Xavier (shining)
Tuesday, 15 September 2009, 10:05 GMT
Reason for closing: Fixed
Additional comments about closing: after 4 years, this is fixed, thanks to Nagy, woohoo :) commit 0da96abc90
Tuesday, 15 September 2009, 10:05 GMT
Reason for closing: Fixed
Additional comments about closing: after 4 years, this is fixed, thanks to Nagy, woohoo :) commit 0da96abc90
The difference is smaller in the libpacman code, so we should be able to fix this issue in libpacman.
-Rd is not safe even if you install the replacement package later.
Hopefully sync.c will be cleaned-up soon (to 3.2), so then we can use its power to manage all the transaction types.
See also: http://www.archlinux.org/pipermail/pacman-dev/2007-September/009474.html
but this will be post 3.3.