You are not logged in.

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

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

[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
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,699
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.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

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

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

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


dots (or just the awesomewm config)

$ whatis this?
this?: nothing appropriate.

Offline

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

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

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: 438

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.


dots (or just the awesomewm config)

$ whatis this?
this?: nothing appropriate.

Offline

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

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,092
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: 147

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,058

Re: [SOLVED] warning: dependency cycle detected

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

Offline

Board footer

Powered by FluxBB