You are not logged in.

#1 2014-07-28 19:16:46

atomopawn
Member
Registered: 2007-08-26
Posts: 71

Version conflict using "replaces"

I am trying to upgrade my system, but archboot requires lzo2 and in the testing repository, lzo2 has been replaced by the new lzo package.

pacman -Qi lzo

shows that lzo provides, replaces, and conflicts with lzo2, but archboot still fails with:

lzo2 and lzo are in conflict

pacman -Qi archboot shows:
lzo2>=2.06-1

When I install lzo2 and archboot and try to upgrade lzo, I get:

error: failed to prepare transaction (could not satisfy dependencies)
:: archboot: requires lzo2>=2.06-1

Is this expected behavior or is this a bug in pacman's dependency handling?

Offline

#2 2014-07-28 19:43:12

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

Re: Version conflict using "replaces"

Please post the exact command you run when you encountered this issue.
What happens if you remove lzo when prompted?

Last edited by karol (2014-07-28 19:45:00)

Offline

#3 2014-07-29 09:06:32

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

Re: Version conflict using "replaces"

File a bugreport.   Either lzo needs to have a versioned provide or archboot needs updated.

Offline

#4 2014-07-29 15:13:15

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

Re: Version conflict using "replaces"

I did install archboot w/o a problem, so I don't understand what the issue is.

Offline

#5 2014-07-30 03:10:47

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

Re: Version conflict using "replaces"

I get:

:: lzo2 and lzo are in conflict. Remove lzo? [y/N]

This is because of the versioned lzo2 dependency.   You must have lzo installed which replaces lzo2 to see this.

Offline

#6 2014-07-30 04:04:03

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Version conflict using "replaces"

Allan wrote:

lzo needs to have a versioned provide

I am going to add it and push a new lzo revision to [testing] soon.

But IMHO archboot should not use version specifier, lzo 2.06 has been released long time and there is no way back.


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#7 2014-07-30 04:24:40

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Version conflict using "replaces"

The issue should be fixed by lzo-2.08-3 in [testing].


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

Board footer

Powered by FluxBB