I have an RPM package "mypackage" which depends upon /bin/perl, but will not install, allegedly because it cannot see the perl package in the upstream CentOS7 repository. I've included the output from "yum install mypackage" below. Strangely yum notices the dependency upon /bin/perl and announces: ---> Package perl.x86_64 4:5.16.3-291.el7 will be installed But then dies with the error: Error: Package: mypackage-0.0.6-1.mydist.noarch (/mypackage-0.0.6-1.mydist.noarch) Requires: /bin/perl Attempting to install both perl and mypackage in the same yum installation command also fails. I can manually install perl.x86_64 4:5.16.3-291.el7 before installing mypackage, and will then a subsequent installation of mypackage will succeed. After manually installing perl, my RPM DB does associate /bin/perl with the perl package: $ rpm -q --whatprovides /bin/perl perl-5.16.3-291.el7.x86_64 Interestingly, I notice the CentOS7 perl package is one of the few packages with an epoch defined. Question: Why does installation of mypackage not also pull in the perl dependency? thanks, Jeff installation failure output follows: Loaded plugins: fastestmirror Examining mypackage-0.0.6-1.mydist.noarch.rpm: mypackage-0.0.6-1.mydist.noarch Marking mypackage-0.0.6-1.mydist.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package mypackage.noarch 0:0.0.6-1.mydist will be installed --> Processing Dependency: /bin/perl for package: mypackage-0.0.6-1.mydist.noarch Loading mirror speeds from cached hostfile * base: mirrors.usinternet.com * epel: mirror.steadfast.net * extras: centos.blazar.mx * updates: mirrors.gigenet.com --> Processing Dependency: perl(Data::Dumper) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(Email::Send) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(Exporter) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(FindBin) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(IO::Socket::INET) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(JSON) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(Sys::Hostname) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(Sys::Syslog) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(ZMQ::Constants) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(ZMQ::LibZMQ3) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(base) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(lib) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(strict) for package: mypackage-0.0.6-1.mydist.noarch --> Processing Dependency: perl(warnings) for package: mypackage-0.0.6-1.mydist.noarch --> Running transaction check ---> Package mypackage.noarch 0:0.0.6-1.mydist will be installed --> Processing Dependency: /bin/perl for package: mypackage-0.0.6-1.mydist.noarch ---> Package perl.x86_64 4:5.16.3-291.el7 will be installed --> Processing Dependency: perl-libs = 4:5.16.3-291.el7 for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Socket) >= 1.3 for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl-macros for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl-libs for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(threads::shared) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(threads) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(constant) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Time::Local) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Time::HiRes) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Storable) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Socket) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Scalar::Util) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Pod::Simple::XHTML) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Pod::Simple::Search) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Getopt::Long) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Filter::Util::Call) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(File::Temp) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(File::Spec::Unix) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(File::Spec::Functions) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(File::Spec) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(File::Path) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Cwd) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-291.el7.x86_64 --> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.16.3-291.el7.x86_64 ---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed ---> Package perl-Email-Send.noarch 0:2.199-2.el7 will be installed --> Processing Dependency: perl(Module::Pluggable) >= 2.97 for package: perl-Email-Send-2.199-2.el7.noarch --> Processing Dependency: perl(Email::Simple) >= 1.92 for package: perl-Email-Send-2.199-2.el7.noarch --> Processing Dependency: perl(Email::Address) >= 1.80 for package: perl-Email-Send-2.199-2.el7.noarch --> Processing Dependency: perl(Return::Value) for package: perl-Email-Send-2.199-2.el7.noarch --> Processing Dependency: perl(Module::Pluggable) for package: perl-Email-Send-2.199-2.el7.noarch ---> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed ---> Package perl-JSON.noarch 0:2.59-2.el7 will be installed ---> Package perl-Sys-Syslog.x86_64 0:0.33-3.el7 will be installed ---> Package perl-ZMQ-Constants.noarch 0:1.04-1.el7 will be installed ---> Package perl-ZMQ-LibZMQ3.x86_64 0:1.19-1.el7 will be installed --> Processing Dependency: libzmq.so.3()(64bit) for package: perl-ZMQ-LibZMQ3-1.19-1.el7.x86_64 --> Running transaction check ---> Package mypackage.noarch 0:0.0.6-1.mydist will be installed --> Processing Dependency: /bin/perl for package: mypackage-0.0.6-1.mydist.noarch ---> Package perl-Carp.noarch 0:1.26-244.el7 will be installed ---> Package perl-Email-Address.noarch 0:1.898-3.el7 will be installed ---> Package perl-Email-Simple.noarch 0:2.203-1.el7 will be installed --> Processing Dependency: perl(Email::Date::Format) for package: perl-Email-Simple-2.203-1.el7.noarch ---> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed ---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed ---> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed ---> Package perl-Getopt-Long.noarch 0:2.40-2.el7 will be installed --> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: perl-Getopt-Long-2.40-2.el7.noarch --> Processing Dependency: perl(Text::ParseWords) for package: perl-Getopt-Long-2.40-2.el7.noarch ---> Package perl-Module-Pluggable.noarch 1:4.8-3.el7 will be installed ---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed ---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed --> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch --> Processing Dependency: perl(Encode) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch ---> Package perl-Return-Value.noarch 0:1.666001-8.el7 will be installed ---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed ---> Package perl-Socket.x86_64 0:2.010-4.el7 will be installed ---> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed ---> Package perl-Time-HiRes.x86_64 4:1.9725-3.el7 will be installed ---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed ---> Package perl-constant.noarch 0:1.27-2.el7 will be installed ---> Package perl-libs.x86_64 4:5.16.3-291.el7 will be installed ---> Package perl-macros.x86_64 4:5.16.3-291.el7 will be installed ---> Package perl-threads.x86_64 0:1.87-4.el7 will be installed ---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed ---> Package zeromq3.x86_64 0:3.2.5-1.el7 will be installed --> Processing Dependency: libpgm-5.2.so.0()(64bit) for package: zeromq3-3.2.5-1.el7.x86_64 --> Running transaction check ---> Package mypackage.noarch 0:0.0.6-1.mydist will be installed --> Processing Dependency: /bin/perl for package: mypackage-0.0.6-1.mydist.noarch ---> Package openpgm.x86_64 0:5.2.122-2.el7 will be installed ---> Package perl-Email-Date-Format.noarch 0:1.002-15.el7 will be installed ---> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed ---> Package perl-Pod-Escapes.noarch 1:1.04-291.el7 will be installed ---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed --> Processing Dependency: perl(Pod::Text) >= 3.15 for package: perl-Pod-Usage-1.63-3.el7.noarch --> Processing Dependency: perl-Pod-Perldoc for package: perl-Pod-Usage-1.63-3.el7.noarch ---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed --> Running transaction check ---> Package mypackage.noarch 0:0.0.6-1.mydist will be installed --> Processing Dependency: /bin/perl for package: mypackage-0.0.6-1.mydist.noarch ---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed --> Processing Dependency: perl(parent) for package: perl-Pod-Perldoc-3.20-4.el7.noarch --> Processing Dependency: perl(HTTP::Tiny) for package: perl-Pod-Perldoc-3.20-4.el7.noarch ---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed --> Running transaction check ---> Package mypackage.noarch 0:0.0.6-1.mydist will be installed --> Processing Dependency: /bin/perl for package: mypackage-0.0.6-1.mydist.noarch ---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed ---> Package perl-parent.noarch 1:0.225-244.el7 will be installed --> Finished Dependency Resolution Error: Package: mypackage-0.0.6-1.mydist.noarch (/mypackage-0.0.6-1.mydist.noarch) Requires: /bin/perl You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list