You are not logged in.

#1 2012-04-11 12:11:45

tougle
Member
Registered: 2012-04-11
Posts: 1

[SOLVED] gnupg and gnupg2 in conflict after trying to upgrade

Hey there!

I just tried to update my system with the regular

sudo pacman -Syu

and ran into the following:

:: 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...
warning: dependency cycle detected:
warning: udev will be installed before its util-linux dependency
looking for inter-conflicts...
:: gnupg and gnupg2 are in conflict. Remove gnupg2? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-6

if i try to upgrade my system or install any new packages i am asked to upgrade pacman which results in the error above.. hitting "y" will result in the message above, hitting "n" will just abort the update..

i found one thread with a similar issue ( https://bbs.archlinux.org/viewtopic.php?id=139229 ), but i didn't really get any further with it.. besides that i found a pastebin ( http://pastebin.com/WBgXmSqJ ) with the exact same issue, but i couldn't find any other links or references to the said pastebin on the web..

i would be happy to supply further information but i am not sure about what kind of information is useful here..

tougle

edit: after finding this thread https://bbs.archlinux.org/viewtopic.php?id=139412 (dealing with gcc-libs and not gnupg which i was searching for) i upgraded pacman by itself as Dav suggested.. another pacman -Syu outputs the following:

:: Starting full system upgrade...
:: Replace gnupg2 with core/gnupg? [Y/n]

since i am not using gnupg anyway and the replacement should be due to the implementation of the keyring functionality in the latest pacman version, i am assuming i cant do any harm with that replacement? i will just postpone the update, wait for possible replies and do the update tomorrow if no warnings popped up here.. after i upgraded i will mark the thread as solved.. sorry for the thread.. it appears i have been searching in the wrong places..

edit2: as suggested by Gcool and karol i just agreed to replace gnupg2 after updating pacman by itself and, as expected, it fixed the issue nicely. thanks!

Last edited by tougle (2012-04-12 19:10:06)

Offline

#2 2012-04-11 12:47:05

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] gnupg and gnupg2 in conflict after trying to upgrade

Welcome to the forums.

Good to see you managed to solve your issue by searching around, we highly encourage that around here.

Also, replacing gnupg2 with gnupg is fine (it's version 2.0.19-1, so no need for a separate gnupg2 anymore).


Burninate!

Offline

#3 2012-04-11 15:50:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] gnupg and gnupg2 in conflict after trying to upgrade

Packages sometimes get merged or split, renamed, moved from one repo to another or dropped to the AUR.
Different issues may require different approaches to solve / make sure you're doing it right. Usually it's OK to just agree to what pacman suggests.

If you're curious what happened, check one of the recent commits to the gnupg package [1] that talks about fixing a bug [2]



[1] https://projects.archlinux.org/svntogit … c1448fe0eb
[2] https://bugs.archlinux.org/task/28931

Offline

Board footer

Powered by FluxBB