Bug #6557
closedUser story #6547: Package SLES12 rudder-agent
SLES12 agent install depends on bad package
Description
Hi
Tried to install rudder-agent-3.1.0.alpha1.git201505050128-1.SLES.12.x86_64.rpm on a SLES12 GA system.
It has apparently a dependency to an RPM that is replaced by a different one on SLES12:
# rpm -Uvh rudder-agent-3.1.0.alpha1.git201505050128-1.SLES.12.x86_64.rpm warning: rudder-agent-3.1.0.alpha1.git201505050128-1.SLES.12.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 6f07d355: NOKEY error: Failed dependencies: pmtools is needed by rudder-agent-1398866025:3.1.0.alpha1.git201505050128-1.SLES.12.x86_64
This here:
# rpm -q --requires -p rudder-agent-3.1.0.alpha1.git201505050128-1.SLES.12.x86_64.rpm warning: rudder-agent-3.1.0.alpha1.git201505050128-1.SLES.12.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 6f07d355: NOKEY pcre cron net-tools pmtools <==== Not provided on SLES12 openssl /bin/sh /bin/sh /bin/sh /bin/sh rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadIsLzma) <= 4.4.6-1
pmtools is used for dmidecode and co. as I presume:
# rpm -qlp pmtools-20071116-44.33.1.x86_64.rpm warning: pmtools-20071116-44.33.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 307e3d54: NOKEY /usr/bin/acpi_validate /usr/bin/acpibin /usr/bin/acpiexec /usr/bin/acpihelp /usr/bin/acpinames /usr/bin/acpisrc /usr/bin/acpixtract /usr/bin/iasl /usr/sbin/acpidump /usr/sbin/biosdecode /usr/sbin/dmidecode /usr/sbin/ec_access /usr/sbin/madt /usr/sbin/ownership /usr/sbin/vpddecode /usr/share/doc/packages/pmtools /usr/share/doc/packages/pmtools/README /usr/share/doc/packages/pmtools/README.madt /usr/share/man/man8/biosdecode.8.gz /usr/share/man/man8/dmidecode.8.gz /usr/share/man/man8/ownership.8.gz /usr/share/man/man8/vpddecode.8.gz
On sles12 this is actually provided by the "dmidecode" package, installed by default:
# rpm -ql dmidecode /usr/sbin/biosdecode /usr/sbin/dmidecode /usr/sbin/ownership /usr/sbin/vpddecode /usr/share/doc/packages/dmidecode /usr/share/doc/packages/dmidecode/AUTHORS /usr/share/doc/packages/dmidecode/CHANGELOG /usr/share/doc/packages/dmidecode/LICENSE /usr/share/doc/packages/dmidecode/README /usr/share/man/man8/biosdecode.8.gz /usr/share/man/man8/dmidecode.8.gz /usr/share/man/man8/ownership.8.gz /usr/share/man/man8/vpddecode.8.gz
Updated by Vincent MEMBRÉ over 9 years ago
- Assignee set to Vincent MEMBRÉ
- Priority changed from N/A to 2
- Target version set to 3.1.0~beta1
Thank you Janos for your complete bug report!
I think removing the pmtools package from sles12 package will fix this (and maybe set the dependency on dmidecode)
Updated by Benoît PECCATTE over 9 years ago
- Status changed from New to In progress
- Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
Updated by Benoît PECCATTE over 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder-packages/pull/655
Updated by Benoît PECCATTE over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|c14696df17ef8ce2b6cb3b90a842a1bb57174c5c.
Updated by Vincent MEMBRÉ over 9 years ago
Applied in changeset rudder-packages|051251a16fb1ae828a77a746fefdcbb8a486f9f2.
Updated by Janos Mattyasovszky over 9 years ago
Tested with nightly beta2 package: it works now:
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.1.0~beta1 which were released today.
- Announcement 3.1
- Changelog 3.1
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/