Re: Old packages not purged after yum update?

denis <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
James Antill wrote:
> denis <[email protected]> writes:
<SNIP>
>> -bzip2-libs-1.0.3-3
>>  bzip2-libs-1.0.3-4.el5_2
>  Given it's x86_64 you might want to add the arch to your package
> lists. For instance having an older bzip2-libs.i386 is not _as_ bad
> as having two versions of the .x86_64 package.

Unfortunately it seems there are two versions of the x86_64 arch packages:

bzip2-libs.x86_64          1.0.3-4.el5_2          installed
bzip2-libs.x86_64          1.0.3-3                installed

>> Is this a known issue? Is this even Yum related or RPM related?
>> In case this is a known issue, is there an easy way to purge the old
>> versions of said packages?
>  It is a bug. It's not a known issue, and it's hard to say whether it
> was yum or rpm that caused the bug. Both rpm and yum have had updates
> for numerous bug fixes since 5.0 GA.

I know, I have been tracking RHEL since 5.1 on another set of servers,
however these servers were setup from a 5.2 base repository.

>  For the cleanup you probably want to install yum-utils and run:
>  package-cleanup --dupes --problems # This will show you problems
>  package-cleanup --cleandupes       # This should auto fix any dup problems

Thank you, running:
package-cleanup --problems
package-cleanup --dupes
package-cleanup --cleandupes

Did indeed work it didn't find any "problems", but dupes were detected
and cleaned. It seems the version I have of package-cleanup didn't like
two tasks at once.

Really appreciate the input, thanks!

Regards
-- 
Denis Braekhus
Team Lead Managed Services
Redpill Linpro AS - Changing the game
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.