Project

General

Profile

Actions

Bug #6557

closed

User story #6547: Package SLES12 rudder-agent

SLES12 agent install depends on bad package

Added by Janos Mattyasovszky over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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

Actions #1

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)

Actions #2

Updated by Benoît PECCATTE over 9 years ago

Yes add the dependency to dmidecode

Actions #3

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
Actions #4

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
Actions #5

Updated by Benoît PECCATTE over 9 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #8

Updated by Vincent MEMBRÉ over 9 years ago

Great ! Thanks for the feedback \o/

Actions #9

Updated by Vincent MEMBRÉ over 9 years ago

  • Parent task set to #6547
Actions #10

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.

Actions

Also available in: Atom PDF