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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux