Actions
Bug #6274
closedRudder can't install certain RPM packages
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
This is what I see if Rudder tries to install etckeeper:
2015-02-17T17:59:09+0100 error: /default/check_rpm_package_installation/packages/'etckeeper'[0]: Finished command related to promiser 'etckeeper' -- an error occurred, returned 1
2015-02-17T17:59:09+0100 error: /default/check_rpm_package_installation/packages/'etckeeper'[0]: Package schedule execution failed for 'etckeeper-*'
Rudder doesn't do "yum install etckeeper" but "yum install etckeeper-*", which may cause problems.
In this case it actually does:
# yum install etckeeper-* Loaded plugins: security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package etckeeper.noarch 0:1.14-2.el5 set to be updated ---> Package etckeeper-bzr.noarch 0:1.14-1.el5 set to be updated --> Processing Dependency: etckeeper = 1.14-1.el5 for package: etckeeper-bzr --> Processing Dependency: bzr for package: etckeeper-bzr --> Running transaction check ---> Package bzr.x86_64 0:2.1.4-2.el5 set to be updated --> Processing Dependency: python-pycurl for package: bzr --> Processing Dependency: python-paramiko for package: bzr ---> Package etckeeper-bzr.noarch 0:1.14-1.el5 set to be updated --> Processing Dependency: etckeeper = 1.14-1.el5 for package: etckeeper-bzr --> Running transaction check ---> Package etckeeper-bzr.noarch 0:1.14-1.el5 set to be updated --> Processing Dependency: etckeeper = 1.14-1.el5 for package: etckeeper-bzr ---> Package python-paramiko.noarch 0:1.7.6-1.el5 set to be updated --> Processing Dependency: python-crypto >= 1.9 for package: python-paramiko ---> Package python-pycurl.x86_64 0:7.15.5.1-8.el5 set to be updated --> Running transaction check ---> Package etckeeper-bzr.noarch 0:1.14-1.el5 set to be updated --> Processing Dependency: etckeeper = 1.14-1.el5 for package: etckeeper-bzr ---> Package python-crypto.x86_64 0:2.0.1-5.el5 set to be updated --> Processing Dependency: libgmp.so.3()(64bit) for package: python-crypto --> Running transaction check ---> Package etckeeper-bzr.noarch 0:1.14-1.el5 set to be updated --> Processing Dependency: etckeeper = 1.14-1.el5 for package: etckeeper-bzr ---> Package gmp.x86_64 0:4.1.4-10.el5 set to be updated --> Finished Dependency Resolution etckeeper-bzr-1.14-1.el5.noarch from winz-epel has depsolving problems --> Missing Dependency: etckeeper = 1.14-1.el5 is needed by package etckeeper-bzr-1.14-1.el5.noarch (winz-epel) Error: Missing Dependency: etckeeper = 1.14-1.el5 is needed by package etckeeper-bzr-1.14-1.el5.noarch (winz-epel) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest The program package-cleanup is found in the yum-utils package.
But this works:
# yum install etckeeper Loaded plugins: security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package etckeeper.noarch 0:1.14-2.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================================================================================================= Package Arch Version Repository Size ======================================================================================================================================================================================================= Installing: etckeeper noarch 1.14-2.el5 winz-epel 35 k Transaction Summary ======================================================================================================================================================================================================= Install 1 Package(s) Upgrade 0 Package(s) Total download size: 35 k Is this ok [y/N]:
Actions