You are not logged in.

#1 2012-04-19 02:50:35

rnarch
Member
Registered: 2012-03-17
Posts: 292

Not able to upgrade- gnupg, pacman, gcc-libs issue[SOLVED]

I tried to upgrade my system with command 'sudo pacman -Syu' but got following error:

:: 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.3-1
[abcd@office_computer ~]$

[abcd@office_computer ~]$ sudo pacman -S gcc-libs
:: 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] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: gnupg and gnupg2 are in conflict
[abcd@office_computer ~]$

[abcd@office_computer ~]$ sudo pacman -S gcc-libs
:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n

resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.3-1
[abcd@office_computer ~]$

How can I solve this?

Last edited by rnarch (2012-04-19 05:21:54)

Offline

#2 2012-04-19 02:53:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,561
Website

Re: Not able to upgrade- gnupg, pacman, gcc-libs issue[SOLVED]

Pacman -Syu and answer "n" to updating pacman first.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2012-04-19 03:01:44

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: Not able to upgrade- gnupg, pacman, gcc-libs issue[SOLVED]

I did try that. See the last part of the output that I have posted above.

Edit:
Sorry. That was for installing gcc-libs. I have give command 'sudo pacman -Syu' and answered n for updating pacman first. It is working now. Thanks for your help.

Last edited by rnarch (2012-04-19 03:04:22)

Offline

#4 2012-04-19 05:06:44

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

Re: Not able to upgrade- gnupg, pacman, gcc-libs issue[SOLVED]

Don't forget to mark your thread as [SOLVED].


Burninate!

Offline

#5 2012-04-19 11:16:52

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: Not able to upgrade- gnupg, pacman, gcc-libs issue[SOLVED]

Marked SOLVED.

Offline

Board footer

Powered by FluxBB