Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#27214 - [pacman] Can't upgrade pacman when gcc-multilib is installed
Attached to Project:
Pacman
Opened by Marti (intgr) - Monday, 21 November 2011, 18:57 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 April 2012, 09:42 GMT
Opened by Marti (intgr) - Monday, 21 November 2011, 18:57 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 April 2012, 09:42 GMT
|
|
DetailsDescription: When I tried to upgrade pacman to 4.0.1 today, it told me it needs to install gcc-libs and uninstall gcc-multilib. But that fails since gcc-multilib depends on that package. This shouldn't happen, right?
The workaround is to reinstall normal gcc manually (sudo pacman -S gcc-libs gcc), then upgrade pacman, then reinstall gcc-multilib. Steps to reproduce: 1. Downgrade to pacman 4.0.0-2 2. Install gcc-libs-multilib :: The following packages should be upgraded first : pacman :: Do you want to cancel the current operation :: and upgrade these packages now? [Y/n] resolving dependencies... looking for inter-conflicts... :: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] y error: failed to prepare transaction (could not satisfy dependencies) :: gcc-multilib: requires gcc-libs-multilib=4.6.2-1 |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 22 April 2012, 09:42 GMT
Reason for closing: Fixed
Additional comments about closing: Fix is in pacman-4.0.3.
Sunday, 22 April 2012, 09:42 GMT
Reason for closing: Fixed
Additional comments about closing: Fix is in pacman-4.0.3.
Dan's workaround worked for me as well, although I had an additional package with a gcc-libs-multilib dependency that I had to uninstall temporarily.
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: gcc-libs and gcc-libs-multilib are in conflict
I don't know if it's fixed already (I've encountered the bug today with pacman 4.0.1)
pacman -S pacman
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] y
:: gcc and gcc-multilib are in conflict. Remove gcc-multilib? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc-fortran: requires gcc=4.6.2-7
:: libtool-multilib: requires gcc-multilib=4.6.2
I am not sure exactly why, but "pacman -S gcc-fortran libtool" succeeded, and now pacman -Su manages to satisfy all dependencies.
The given workarounds still work, however a permanent fix is required.
Walkaround is:
pacman -S pacman
pacman -Syu