Bug #4577
Puppet doesn't recognize obsolete packages, errors
| Status: | Needs Decision | Start date: | 08/20/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | - | |||
| Affected Puppet version: | Branch: | |||
| Keywords: | yum | |||
| Votes: | 1 |
Description
First presented itself with these symptoms:
**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 ...
After using —debug —verbose I saw this:
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**
I then manually ran the yum command:
# **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**
History
Updated by Nathan Rich almost 2 years ago
hmm, wish there was a preview button for the original post, this looks terrible. and there’s no edit button for it now that it’s there….awesome
Updated by James Turnbull almost 2 years ago
n4th4n r1ch wrote:
hmm, wish there was a preview button for the original post, this looks terrible. and there’s no edit button for it now that it’s there….awesome
Click the More link after you’ve clicked Update. There is a Preview button too. Sorry it can be hard to find. Your markup is fixed for now.
Updated by Nathan Rich almost 2 years ago
The word more in your sentence is the only place on this page it appears, before or after clicking Update for me.
Updated by James Turnbull over 1 year ago
- Status changed from Unreviewed to Needs Decision
- Assignee set to David Lutterkort
David – know you’re busy – comment perhaps?