RHEL-7.4 moved perl-Perl4-Corelibs to separate pacakge, version 0.003-7.el7 which doesn't any more include perl(newgetopt.pl) so rancid can't be installed any more.
rancid-3.2-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-c4362e074a
That build doesn't help. perl(newgetopt.pl) requirement won't go away without patching software.
Yeah, even updating to the latest version doesn't solve the issue... We'll have to wait for the developers to come up with a patch.
rancid-3.2-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-c4362e074a
*** Bug 1485239 has been marked as a duplicate of this bug. ***
There still is no perl module 'perl(newgetopt.pl) - should that be carried by this package when there is no other users?
Is it not an option to move newgetopt.pl in an seperate package? Also we could bring rancid to an current version (3.6.2) ....
Centos 7.4 is now out and rancid is not use able anymore. Any progress
I have digged into this problem and to me the problem is as follows: perl-Perl4-Corelibs of RHEL 7.4 / CentOS 7.4 does not provide "perl(newgetopt.pl)" anymore. In the .spec File of the SRPM you can see it has been removed, because it is provided by perl-Getopt-Long anyway: "# newgetopt.pl is distributed by Getopt-Long, CPAN RT#102212" Line58 Unfortunately perl-Getopt-Long is missing a "Provides: perl(newgetopt.pl)" in its spec-File. So the problem should be fixed at perl-Getopt-Long rpm. I am not sure who is the current maintainer of perl-Getopt-Long rpm. Maybe this can be done by dmach ? Or maybe jplesnik (maintainer of perl-Perl4-Corelibs rpm) ?
I have filed https://bugzilla.redhat.com/show_bug.cgi?id=1492742 to fix this.
Ok. There is simpler work-around for this issue as it's extreamly difficult to get redhat fixing their bugs in same release. Filtering out perl(newgetopt.pl) requirement from package. Require: perl-Getopt-Long That will fix the issue in this package.
Agreed! (In reply to Tuomo Soini from comment #11) > Ok. There is simpler work-around for this issue as it's extreamly difficult > to get redhat fixing their bugs in same release. > > Filtering out perl(newgetopt.pl) requirement from package. > > Require: perl-Getopt-Long > > That will fix the issue in this package.
IS this going to updated/fixed soon?
Workaround: 1.yum install rpmrebuild 2.rpmrebuild -e perl-Getopt-Long-2.40-2.el7.noarch 2.1scroll down in to the file to Providers and add line Provides: perl(newgetopt.pl) 3. cd to the directory of your new rpm 4. yum remove perl-Getopt-Long-2.40-2.el7.noarch 5.yum install newly created rpm package 6. yum install rancid :)
Haha excellent, I forgot you could even do that!! Thanks! (In reply to Anita from comment #14) > Workaround: > 1.yum install rpmrebuild > > 2.rpmrebuild -e perl-Getopt-Long-2.40-2.el7.noarch > > 2.1scroll down in to the file to Providers and add line > Provides: perl(newgetopt.pl) > > 3. cd to the directory of your new rpm > 4. yum remove perl-Getopt-Long-2.40-2.el7.noarch > 5.yum install newly created rpm package > 6. yum install rancid > :)
Should this uninstall lots of perl packages? Will this break anything? perl-Mozilla-LDAP x86_64 1.5.3-12.el7 @base 444 k perl-Net-Daemon noarch 0.48-5.el7 @base 116 k perl-NetAddr-IP x86_64 4.069-3.el7 @base 320 k perl-Package-Constants noarch 1:0.02-292.el7 @base 4.6 k perl-PathTools x86_64 3.40-5.el7 @anaconda 170 k perl-PlRPC noarch 0.2020-14.el7 @base 69 k perl-Pod-Escapes noarch 1:1.04-292.el7 @anaconda 21 k perl-Pod-Perldoc noarch 3.20-4.el7 @anaconda 163 k perl-Pod-Simple noarch 1:3.28-4.el7 @anaconda 526 k perl-Pod-Usage noarch 1.63-3.el7 @anaconda 44 k perl-Scalar-List-Utils x86_64 1.27-248.el7 @anaconda 66 k perl-Socket x86_64 2.010-4.el7 @anaconda 112 k perl-Storable x86_64 2.45-3.el7 @anaconda 177 k perl-TermReadKey x86_64 2.30-20.el7 @anaconda 59 k perl-Test-Harness noarch 3.28-3.el7 @anaconda 593 k perl-Text-ParseWords noarch 3.29-4.el7 @anaconda 16 k perl-Thread-Queue noarch 3.02-2.el7 @anaconda 27 k perl-Time-HiRes x86_64 4:1.9725-3.el7 @anaconda 92 k perl-Time-Local noarch 1.2300-2.el7 @anaconda 43 k perl-XML-Parser x86_64 2.41-10.el7 @anaconda 628 k perl-constant noarch 1.27-2.el7 @anaconda 26 k perl-libs x86_64 4:5.16.3-292.el7 @anaconda 1.6 M perl-macros x86_64 4:5.16.3-292.el7 @anaconda 5.0 k perl-parent noarch 1:0.225-244.el7 @anaconda 8.0 k perl-podlators noarch 2.5.1-3.el7 @anaconda 281 k perl-threads x86_64 1.87-4.el7 @anaconda 96 k perl-threads-shared x86_64 1.43-6.el7 @anaconda 72 k redhat-rpm-config noarch 9.1.0-76.el7.centos @anaconda 167 k rpm-build x86_64 4.11.3-25.el7 @anaconda 320 k rpmrebuild noarch 2.11-3.el7 @epel 181 k slapi-nis x86_64 0.56.0-4.el7 @base 422 k subversion x86_64 1.7.14-11.el7_4 @updates 4.6 M systemtap x86_64 3.1-3.el7 @anaconda 197 k systemtap-client x86_64 3.1-3.el7 @anaconda 9.6 M systemtap-devel x86_64 3.1-3.el7 @anaconda 7.2 M vim-enhanced x86_64 2:7.4.160-2.el7 @anaconda 2.2 M Transaction Summary ============================================================================================================================================= Remove 1 Package (+71 Dependent packages) Installed size: 178 M Is this ok [y/N]:
Thanks @Anita, @andrewm659, modified workaround in your case: 1.yum install rpmrebuild 2.rpmrebuild -e perl-Getopt-Long-2.40-2.el7.noarch 2.1 scroll down in to the file to Providers and add line Provides: perl(newgetopt.pl) 3. cd to the directory of your new rpm 4. rpm --replacepkgs -ihv perl-Getopt-Long-2.40-2.el7.noarch.rpm 5. yum install rancid Regards :)
That worked. Thank you.
FYI, this appears to be no longer an issue in at least CentOS 7.6: >cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) > rpm -q --whatprovides 'perl(newgetopt.pl)' perl-Getopt-Long-2.40-3.el7.noarch
*** Bug 1406785 has been marked as a duplicate of this bug. ***
rancid-3.9-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-6bcc0011aa
rancid-3.9-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-6bcc0011aa
rancid-3.9-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.