You are not logged in.

#1 2013-01-19 14:59:59

MickeyKnox
Member
Registered: 2010-02-27
Posts: 169

[SOLVED] warning: dependency cycle detected

I was just trying to update my system and i get this:

warning: dependency cycle detected:
warning: lib32-gcc-libs will be installed before its gcc-libs-multilib dependency
warning: dependency cycle detected:
warning: filesystem will be installed before its systemd dependency
looking for inter-conflicts...
warning: removing 'libgl' from target list because it conflicts with 'nvidia-utils'
error: failed to prepare transaction (could not satisfy dependencies)
:: nouveau-dri: requires libgl=9.0.1

What i don't get is, why are there dependency cycles in the first place?
Shouldn't the dependency graph be a tree, thus cycle free?
(I do know some graph theory, but i don't know package management)

This isn't the first time i have this and i remember it always to be a pain in the ass.
Now, i would like to know why dependency cycles occur and how to deal with them
in generell. If somebody has a solution to my particular problem at hand, that
would be appreciated as well.

Last edited by MickeyKnox (2013-01-20 11:58:23)

Offline

#2 2013-01-19 15:11:33

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

Re: [SOLVED] warning: dependency cycle detected

I don't know the details of this specific incidence, but generally this sort of error can be resolved by (temporarily) removing nouveau-dri, updating, then reisntalling nouveau-dri.  Note that that is the only error, the dependency cycles are just warnings and would (I think) be handled suitably by pacman.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-01-19 15:20:54

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: [SOLVED] warning: dependency cycle detected

MickeyKnox wrote:

Now, i would like to know why dependency cycles occur and how to deal with them in general.

relevant: https://bbs.archlinux.org/viewtopic.php … 31#p979331

Offline

#4 2013-01-19 15:31:41

MickeyKnox
Member
Registered: 2010-02-27
Posts: 169

Re: [SOLVED] warning: dependency cycle detected

Ok, thanks for the explanation.

I tried to remove nouveau-dri, but it doesn't seem to be a package:

> sudo pacman -R nouveau-dri
error: target not found: nouveau-dri
> sudo pacman -Q nouveau-dri
error: package 'nouveau-dri' was not found

Now what?

Offline

#5 2013-01-19 17:29:52

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: [SOLVED] warning: dependency cycle detected

falconindy wrote:

This usually happens when the toolchain gets an update -- multilib lags behind by a day or two. Looks like we just pushed out the the multilib toolchain today, so I'd wait a few hours for your mirror to sync up and then try again.

Offline

#6 2013-01-19 17:35:19

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

Re: [SOLVED] warning: dependency cycle detected

tdy wrote:
falconindy wrote:

This usually happens when the toolchain gets an update -- multilib lags behind by a day or two. Looks like we just pushed out the the multilib toolchain today, so I'd wait a few hours for your mirror to sync up and then try again.

Taking this quote out of context is silly. There's been no toolchain update in nearly a month.

Offline

#7 2013-01-19 17:47:30

MickeyKnox
Member
Registered: 2010-02-27
Posts: 169

Re: [SOLVED] warning: dependency cycle detected

Anyway, i found, that there is a nouveau-dri package, but it
is not installed on my system. But i found a xf86-video-nouveau
package installed on my system. After removing that, the upgrade
ran smoothly. A little confusing.

I would have marked this as solved, but didn't find a way to edit
the topic. Thanks for all the answers.

Offline

#8 2013-01-20 00:05:39

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] warning: dependency cycle detected

FYI you can edit your first post and change the title there.

Offline

Board footer

Powered by FluxBB