Issue #4577 has been updated by Matthew Mosesohn.
Steve Traylen wrote: > It is when the rpm installation is then verified that the problem happens. This is absolutely right. I can verify with qemu-kvm obsoleted by qemu-kvm-rhev package in RHEL. The patch in 5456 fixes this issue. ---------------------------------------- Bug #4577: Puppet doesn't recognize obsolete packages, errors https://projects.puppetlabs.com/issues/4577#change-98693 * Author: Nathan Rich * Status: Needs Decision * Priority: Normal * Assignee: David Lutterkort * Category: * Target version: * Affected Puppet version: * Keywords: yum * Branch: ---------------------------------------- First presented itself with these symptoms: <pre> **err: //clam/Package[clamav-update]/ensure: change from absent to present failed: Could not find package clamav-update** notice: //basic_setup/File[/lumalocal]/ensure: created warning: Value of 'preferred_serialization_format' (pson) is invalid for report, using default (marshal) notice: Finished catalog run in 5.32 seconds root@sv-tools01:~ # **yum search clam** Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile ======================================================= Matched: clam ======================================================= ... **clamav-update**.i386 : Auto-updater for the Clam Antivirus scanner data-files ... </pre> After using --debug --verbose I saw this: <pre> debug: Puppet::Type::Package::ProviderYum: Executing '**/usr/bin/yum -d 0 -e 0 -y install clamav-update**' debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -q clamav-update --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH} ' **err: //clam/Package[clamav-update]/ensure: change from absent to present failed: Could not find package clamav-update** </pre> I then manually ran the yum command: <pre> # **yum -d 0 -e 0 -y install clamav-update** Package **clamav-update is obsoleted by clamav-db**, trying to install clamav-db-0.96.2-2.el5.rf.i386 instead Package **clamav-db-0.96.2-2.el5.rf.i386 already installed and latest version** </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
