Project

General

Profile

Bug #6557

User story #6547: Package SLES12 rudder-agent

SLES12 agent install depends on bad package

Added by Janos Mattyasovszky almost 6 years ago. Updated almost 6 years ago.

Status:
Released
Priority:
2
Category:
Agent
Target version:
Severity:
User visibility:
Effort required:
Priority:

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

#1

Updated by Vincent MEMBRÉ almost 6 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)

#2

Updated by Benoît PECCATTE almost 6 years ago

Yes add the dependency to dmidecode

#3

Updated by Benoît PECCATTE almost 6 years ago

  • Status changed from New to In progress
  • Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
#4

Updated by Benoît PECCATTE almost 6 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
#5

Updated by Benoît PECCATTE almost 6 years ago

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

Updated by Vincent MEMBRÉ almost 6 years ago

Great ! Thanks for the feedback \o/

#9

Updated by Vincent MEMBRÉ almost 6 years ago

  • Parent task set to #6547
#10

Updated by Vincent MEMBRÉ almost 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.0~beta1 which were released today.

Also available in: Atom PDF