You are not logged in.

#1 2007-11-28 09:20:51

dale77
Member
From: Down under
Registered: 2007-02-10
Posts: 102
Website

Dependency cycle?

What does all this mean (from the output of today's -Syu)

resolving dependencies... warning: dependency cycle detected:
warning: readline will be installed before its glibc dependency
warning: dependency cycle detected:
warning: ncurses will be installed before its glibc dependency
warning: dependency cycle detected:
warning: tzdata will be installed before its glibc dependency
warning: dependency cycle detected:
warning: db will be installed before its coreutils dependency
warning: dependency cycle detected:
warning: shadow will be installed before its coreutils dependency

This is with pacman-git v3.1 from testing by the way...

Thanks

Dale

Offline

#2 2007-11-28 10:01:57

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Dependency cycle?

You don't read arch ML, do you? smile
It has been mentioned several times there.
Stonecrest worked on a little script, partly for that reason, to detect dep cycles.
I believe the last version is the following one :
http://archlinux.org/pipermail/arch-gen … 16238.html

Afaik some of these cycles have already been fixed.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2007-11-28 10:42:23

dale77
Member
From: Down under
Registered: 2007-02-10
Posts: 102
Website

Re: Dependency cycle?

Guilty as charged. So... help me out here, what does that stuff mean for *my* pacman db?

Offline

#4 2007-11-28 10:49:14

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: Dependency cycle?

I'd say it means nothing for your pacman db as it will be updated as soon as these packages are and thus have the dependency cycle removed.

Offline

#5 2007-11-28 10:53:23

dale77
Member
From: Down under
Registered: 2007-02-10
Posts: 102
Website

Re: Dependency cycle?

So, I'll just Syu as though those klaxons never sounded then.

Thanks

Offline

#6 2007-11-28 11:03:22

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Dependency cycle?

As mentioned in the warning, the only problem is that pacman can't sort the packages correctly.
readline depends on glibc and glibc depends (indirectly) on readline. So pacman can't install the dep first.
But I guess the order generally doesn't matter. So you can ignore these warnings.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB