You are not logged in.

#1 2012-04-06 10:03:03

stp002
Member
Registered: 2011-12-26
Posts: 44

Cannot Update Circular Dependency problem

Hi everyone,
I wanted to update a few packages but ran into dependency cycle problem.I did pacman -Syu and then tried to update but all in vain.I searched the forum and found some solutions but I am still unable to solve the problem.This is the error message that I get:

 extra is up to date
 community is up to date
:: 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
:: kmod and module-init-tools are in conflict. Remove module-init-tools? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-5

I am not sure about the real approach to this problem.I cannot update pacman neither can I delete all the packages to resolve dependencies.
Any help will be appreciated Thanks.

Last edited by stp002 (2012-04-06 10:03:48)

Offline

#2 2012-04-06 10:47:26

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

Re: Cannot Update Circular Dependency problem

This is really handled in quite alot of threads on the forums already. Simply running:

# pacman -S pacman

should fix it for you.

Additional info about the kmod/module-init-tools warning.


Burninate!

Offline

#3 2012-04-06 13:53:16

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Cannot Update Circular Dependency problem

Better to say 'no' to the syncfirst prompt and just let everything be updated at once.

Offline

#4 2012-04-08 10:49:05

stp002
Member
Registered: 2011-12-26
Posts: 44

Re: Cannot Update Circular Dependency problem

Thank You very much for your reply.It means that I have to do full system upgrade.

Offline

#5 2012-04-08 11:20:13

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

Re: Cannot Update Circular Dependency problem

stp002 wrote:

Thank You very much for your reply.It means that I have to do full system upgrade.

You should always do a full upgrade. Partial upgrades are not supported, you can't just "update a few packages" w/o running the risk of breaking things.

Offline

Board footer

Powered by FluxBB