dnf and dependencies

Kevin Cummings cummings at kjchome.homeip.net
Mon Sep 21 17:02:02 UTC 2015


On 09/21/15 12:51, Patrick Dupre wrote:
> 
>>
>> On 09/21/15 07:08, Patrick Dupre wrote:
>>> Hello,
>>>
>>> I am trying to install a package:
>>> dnf install /home/pdupre/rpmbuild/RPMS/x86_64/perl-Math-GSL-0.35-1.fc22.x86_64.rpm 
>>>
>>> but I get:
>>>
>>> Error: nothing provides perl(Chart::Clicker::Drawing) needed by perl-Math-GSL-0.35-1.fc22.x86_64
>>>
>>> I cannot find any package:
>>> perl(Chart::Clicker::Drawing
>>>
>>> How, can I force the installation with dnf?
>>
>> If it is a local package, why not install it with RPM.  It will complain
>> about the same missing dependency, but you should be able to override it
>> with --force (not that I would recommend that lightly, forcing any RPM
>> to be installed against dependency problems is just opening another can
>> of worms).  perl packages follow a specific naming convention in Fedora.
>>  it is usually perl-package-subpackage-etc
>>
>> There *is* a perl-Chart.noarch package.  Does it contain the
>> dependencies you are looking for?
>>
>> I don't see any perl-Math-GSL package in the Fedora repositories (that I
>> use), not in F22, nor in F21.  That begs the question, where did your
>> RPM come from?  and what does it need to reference the proper Fedora
>> dependency properly....  I would complain to the package packager.  If
>> it comes from a non-redhat .src.rpm, then possibly the spec files needs
>> to be modified to work correctly with Fedora (and not just be blindly
>> re-built).
> 
> perl-Chart.noarch does not seem containg what perl-Math-GSL needs!
> 
> You are probably right.
> I need perl-Math-GSL (fc22)
> I got the source from cpan and recompile if to get the rpm file.
> and then it complain when I install it.

You probably need to find the (cpan) source for
perl-Chart-Clicker-Drawing and package that as well....

-- 
Kevin J. Cummings
kjchome at verizon.net
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://www.linuxcounter.net/)


More information about the users mailing list