pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_add miscalculation for conflicts



Hi,

On Sun, 22 Jun 2014 22:42:19 +0900, Jan-Hinrich Fessel 
<oskar%fessel.org@localhost> wrote:

it seems pkg_add (at least on NetBSD 6.1) does not really make correct 
assumptions on versin numbers when trying to prevent conflicting installs:

pkg_add: Installed package `perl-5.20.0nb1' conflicts with 
`p5-ExtUtils-CBuilder<0.28.02.16' when trying to install 
`p5-ExtUtils-CBuilder-0.28.02.12nb1?.

as far as I can see, 0.28.02.12nb1 < 0.28.02.16 should evaluate to true.

Is that a bug in pkg_add or pkgtools or it the naming convention at fault?

It means that you are
  trying to install `p5-ExtUtils-CBuilder-0.28.02.12nb1',
and
  Installed package perl-5.20.0nb1' conflicts with 
`p5-ExtUtils-CBuilder<0.28.02.16

i.e. perl-5.20.0nb1 contains ExtUtils::CBuilder module version 0.28.02.16,
and p5-ExtUtils-CBuilder-0.28.02.12nb1 is older than it, no need to be 
installed.

Yes, some packages are still older than perl-5.20.0 core modules, so
those package should be updated to latest version (or removed from pkgsrc).

--
OBATA Akio / obata%lins.jp@localhost


Home | Main Index | Thread Index | Old Index