dnf and dependencies

Kevin Cummings cummings at kjchome.homeip.net
Mon Sep 21 16:33:09 UTC 2015


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).

> Thank
> 
> ===========================================================================
>  Patrick DUPRÉ                                 | | email: pdupre at gmx.com
>  Laboratoire de Physico-Chimie de l'Atmosphère | |
>  Université du Littoral-Côte d'Opale           | |
>  Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
>  189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
> ===========================================================================
> 

-- 
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