[Yum] Duplicated packages.

Panu Matilainen pmatilai at laiskiainen.org
Tue Jun 13 19:48:38 UTC 2006


On Tue, 2006-06-13 at 12:31 -0700, Gary Funck wrote:
> > 
> > On Tue, 2006-06-13 at 21:20 +0200, Shlomi Levi wrote:
> > > Hi,
> > > Somehow I got to the situation that yum reports both
> > > glibc.i686 2.4-4
> > > glibc.i686 2.4-8
> > > As installed on my system. How do I remove the specific 2.4-4 from my
> > > system?
> > > Not that important to remove the package as to fix yum's repository.
> > 
> > Broken %post/%postun scripts can lead to such situations, eg it's a
> > packaging problem typically. 'rpm -e glibc-2.4-4' to fix.
> 
> My impression is that both an x86 and and x86_64 libraries are installed,
> and that this is typical of libraries:
> 
> % rpm -qa --qf "%{NAME} %{VERSION} %{ARCH}\n" glibc
> glibc 2.4 x86_64
> glibc 2.4 i686

That's an entirely different thing. See above, there are two i686 glibc
packages with different releases installed in this case. On multilib
systems such as x86_64 having two packages of same name-ver-rel but
different arch is business as usual, BUT even then version-release
should match, having eg
glibc 2.4-4 i686
glibc 2.4-8 x86_64
installed would be an error in practically all cases.

	- Panu -




More information about the Yum mailing list