Re: Duplicate Packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jim tate wrote:
> What command could I use to show me duplicate packages of RPM's ,
> with different version numbers.
> Yum isn't taking out older versions of some packages when updating,
> and it causes problem when updating
> .
> Jim
>
Hi Jim.

A look through the archives gave me this:

There is a tool available to solve duplicate package problems: see
https://lists.dulug.duke.edu/pipermail/yum/2006-December/009451.html

as well as this:


rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n' | sort

which will sort all your packages with the ones with the most packages
at the bottom

when you get the list you may be tempted to erase the older package,
but you had best use the --justdb option as deleting an old rpm will
very likely want to erase dependencies as well as the files it has in
common with the newer package. just be sure to 'rpm -e --justdb
package-1<older.pkg.version>

Scott


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFF9wzM5mBKdb7VQEcRAts5AJ4iBMC7SZnwKNjuyv5ciNICINW+YgCeOSrj
nUWsRPzXIpMdk906c920L3I=
=i7Oo
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux