You are not logged in.

#1 2012-10-19 14:11:25

technolog
Member
From: Europe / Slovenia / Grosuplje
Registered: 2012-01-28
Posts: 117

Yaourt: package upgrade requires old version dependencies, too.

in PKGBUILD:

depends=('python2-pygame' 'python2-opengl' 'pil' 'python2-numpy')

resolving dependencies...
looking for inter-conflicts...
:: python2-opengl and python-opengl are in conflict (python-pyopengl). Remove python-opengl? [y/N] y
:: python2-pygame and python-pygame are in conflict. Remove python-pygame? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: fretsonfire: requires python-pygame
:: fretsonfire: requires python-opengl

As you can see, the upgrade produces a conflict, despite the new version doesn't have those dependencies.

Last edited by technolog (2012-10-19 14:12:35)

Offline

#2 2012-10-19 14:12:48

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

Re: Yaourt: package upgrade requires old version dependencies, too.

Remove fretsonfire.

Offline

#3 2012-10-19 14:18:33

technolog
Member
From: Europe / Slovenia / Grosuplje
Registered: 2012-01-28
Posts: 117

Re: Yaourt: package upgrade requires old version dependencies, too.

I could do that, but then I also have to remove all it's dependencies (song packages, which are quite big).

Last edited by technolog (2012-10-19 14:20:21)

Offline

#4 2012-10-19 14:20:28

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

Re: Yaourt: package upgrade requires old version dependencies, too.

package manager is trying to tell you, that you're about to break some of your installed packages.
The version of fretsonfire you have installed depends on python-pygame and python-opengl so you can't remove these packages w/o breaking fretsonfire. Remove it first, upgrade, build and install the new version.

technolog wrote:

I could do that, but then I also have to remove all it's dependencies.

Ummmm why? If they are still needed by the new version, you can remove just fretsonfire.

Offline

#5 2012-10-19 14:24:46

technolog
Member
From: Europe / Slovenia / Grosuplje
Registered: 2012-01-28
Posts: 117

Re: Yaourt: package upgrade requires old version dependencies, too.

[rok@rok-laptop ~]$ sudo pacman -Rn fretsonfire
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: fretsonfire-songs-sectoid: requires fretsonfire

p.s.: I don't think you understand properly. I am trying to upgrade the package fretsonfire, and the new version requies some packages that are in conflict with old version dependencies.

If I was doing that with pacman (and FoF would have been supported package), it would go through.

Last edited by technolog (2012-10-19 14:27:39)

Offline

#6 2012-10-19 14:27:00

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

Re: Yaourt: package upgrade requires old version dependencies, too.

technolog wrote:

[rok@rok-laptop ~]$ sudo pacman -Rn fretsonfire
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: fretsonfire-songs-sectoid: requires fretsonfire

Ah. Either you have to remove fretsonfire-songs-sectoid and other pacakges that depend on fretsonfire or or tell pacman to remove just fretsonfire w/o caring about breaking dependencies.
I don't know if the new version of fretsonfire will work with the old fretsonfire-songs-sectoid but you can try.

Offline

#7 2012-10-19 14:30:52

technolog
Member
From: Europe / Slovenia / Grosuplje
Registered: 2012-01-28
Posts: 117

Re: Yaourt: package upgrade requires old version dependencies, too.

or tell pacman to remove just fretsonfire w/o caring about breaking dependencies.

Do you have the switch needed to do that on the top of your head?

Thanks for the help.

Last edited by technolog (2012-10-19 14:31:10)

Offline

#8 2012-10-19 15:02:54

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: Yaourt: package upgrade requires old version dependencies, too.

# pacman -Rdd fretsonfire 

or

# yaourt -Rdd fretsonfire 

Then upgrade to the python2-* versions and reinstall fretsonfire wink

Last edited by satanselbow (2012-10-19 15:04:11)

Offline

#9 2012-10-19 22:58:02

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Yaourt: package upgrade requires old version dependencies, too.

technolog wrote:

or tell pacman to remove just fretsonfire w/o caring about breaking dependencies.

Do you have the switch needed to do that on the top of your head?

Thanks for the help.

While satanselbow already gave an answer, in the future you should look up the man page for things like this, since this kind of hand holding is generally frowned upon around here.

Offline

Board footer

Powered by FluxBB