apt-get / mach problems

Erik LaBianca erik at totalcirculation.com
Tue Mar 2 16:23:40 UTC 2004


Hi All,

In an attempt to put my money where my mouth is, I'm attempting to do
some more QA and write up a streamlined getting started guide. I'm
working on putting together a straightforward way to test buildrequires.
I've patched mach so that it will attempt to install perl(*)
buildrequires, and it more or less works. 

However, mach rebuild (and apt-get) fails on the following command:

[erik at mises SPECS]$ sudo apt-get install 'perl(Digest::SHA1)'
'perl(Digest::Nilsimsa)'
Reading Package Lists... Done
Building Dependency Tree... Done
Selecting perl-Digest-SHA1 for 'perl(Digest::SHA1)'
Package perl(Digest::Nilsimsa) is a virtual package provided by:
  perl-Digest-Nilsimsa 0:0.06-0.fdr.4.1
You should explicitly select one to install.
E: Package perl(Digest::Nilsimsa) has no installation candidate

Now. You'll notice perl(Digest::SHA1) resolves just fine. However apt
thinks there are multiple perl(Digest::Nilsimsa) packages available,
although it only lists one. Whats going on here? How can I resolve this?
Obviously, I could replace all the buildrequires with explicit ones, but
I've gotten the impression that is NOT the cool way to solve this
problem.

I also tried to manually solve the problem using
	mach apt-get install perl-Digest-Nilsimsa
	mach rebuild ~/rpm/SRPMS/perl-Razor-Agent-2.36-0.fdr.6.src.rpm
and it STILL tries to install the perl(Digest::Nilsimsa) package and
fails. I mustn't be understanding something about mach in this case...
what?

I don't see anything particularly wrong with the perl-Digest-Nilsimsa
package:

[erik at mises SPECS]$ sudo apt-get install perl-Digest-Nilsimsa
[erik at mises SPECS]$ rpm -qi --provides perl-Digest-Nilsimsa
Name        : perl-Digest-Nilsimsa         Relocations: (not
relocateable)
Version     : 0.06                              Vendor: Fedora Linux
Release     : 0.fdr.4.1                     Build Date: Sun 18 Jan 2004
03:33:46 AM EST
Install Date: Tue 02 Mar 2004 11:18:21 AM EST      Build Host:
bmaster.fedora.us
Group       : Development/Libraries         Source RPM:
perl-Digest-Nilsimsa-0.06-0.fdr.4.1.src.rpm
Size        : 47837                            License: GPL
Signature   : DSA/SHA1, Sun 18 Jan 2004 03:38:26 AM EST, Key ID
29d5ba248df56d05
Packager    : Fedora Linux, <http://fedora.us>
URL         : http://search.cpan.org/dist/Digest-Nilsimsa/
Summary     : Perl interface to the Nilsima Algorithm
Description :
Perl interface to the Nilsima Algorithm.
Nilsimsa.so
perl(Digest::Nilsimsa) = 0.06
perl-Digest-Nilsimsa = 0:0.06-0.fdr.4.1

Help please! :)

Thanks

--erik






More information about the fedora-devel-list mailing list