pkgsrc-Users archive

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

Re: Yet another pkgin(- bug?

On Mar 12, 2010, at 3:55 PM, Jeremy C. Reed wrote:
On Fri, 12 Mar 2010, Fredrik Pettai wrote:

installing p5-Digest-HMAC-1.01nb3...
pkg_add: no pkg found for 'p5-Digest-MD5>=2.00', sorry.
pkg_add: Can't install dependency p5-Digest-MD5>=2.00
pkg_add: 1 package addition failed

Where do you fetch your pkg_summary and packages?

European mirror (which is included in the conf file):

# European countries will prefer the following

I looked at one pkg_summary and it did have a dependency for that, but
maybe you had a broken pkg_summary? But probably not:

installing p5-Digest-1.16...
pkg_add: A different version of p5-Digest-1.16 is already installed:
pkg_add: 1 package addition failed

I have also seen that. But now see this is related. See below:

installing p5-Net-DNS-0.65nb1...
pkg_add: no pkg found for 'p5-Digest-MD5>=2.00', sorry.
pkg_add: Can't install dependency p5-Digest-MD5>=2.00
pkg_add: Can't install dependency p5-Digest-HMAC>=1.0
pkg_add: 1 package addition failed

I am guessing that pkgin doesn't recognize a package name with a number at the end so thought the dependency was not p5-Digest-MD5 but p5- Digest
(no -MD5) -- see above how it attempts to reinstall wrong package.

By writing it manually, it worked:
# pkgin -y in p5-Digest-MD5
(I lost the history in my terminal)
but p5-Digest-MD5-2.39 got installed as expected.

Hmm... maybe this problem is related to packages with equal name, but different major versions (eg. bash, apache) that I reported before:

p5-Digest-MD2-2.03nb3 Perl5 module for MD2
p5-Digest-MD4-1.5nb3 Perl5 module for MD4 hash algorithm
p5-Digest-MD5-2.39   Perl5 extension interface for MD5 algorithm
p5-Digest-MD5-File-0.07nb1 Perl5 extension for getting MD5 sums for files and urls

(But that doesn't explain why p5-Compress-Raw-Bzip2 worked.)

True. (however, those are the same version).

p5-Compress-Raw-Bzip2-2.023 Perl5 low-level interface to bzip2 compression library p5-Compress-Raw-Zlib-2.023 Perl5 module interface to the zlib compression library

but the apache packages doesn't end with number in the PKGNAME:

apache-1.3.42        Apache HTTP (Web) server
apache-2.0.63nb5     Apache HTTP (Web) server, version 2
apache-2.2.14        Apache HTTP (Web) server, version 2.2

Still they fail unless you specify the complete version number.


Home | Main Index | Thread Index | Old Index