Re: Old and Duplicate RPM packages

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

 



On Fri, 9 Aug 2002, Chris Bagwell wrote:

> Is it possible to compare and list the RPM packages that are installed 
> on your system against what the Limbo beta provides?
 One simple way to check is to sort your packages by install date,
something like (from memory)
rpm -qa --qf "%{INSTALLTIME} %{NAME}-%{VERSION}-%{RELEASE}\n" | sort -n
 Most of the time stamps will correspond to a limbo install, so anything
older is from an earlier release, and you can think about removing it.
Make sure you are on limbo2 (7.3.93) first though, as the limbo1 install
fails to upgrade many packages.

> Also, during upgrades I've often had duplicate packages installed.  An 
> example of this is that I had 2 versions of fileutils installed after 
> upgrading to Limbo.  An "rpm --query -all" usually turns up those 
> problems though.  It be easier to track down though if I could produce a 
> list of packages installed with multiple versions.
 Normally upgrading to a later version will replace any multiple package
installs. However fileutils is a known bug, see
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=68575
though depending on how they fix it, the fix may not work on an a system
already running limbo.

To check for duplicate packages try
rpm -qa --qf "%{NAME}\n" | sort >/tmp/example.out
uniq </tmp/example.out | diff - /tmp/example.out

	Michael Young





[Index of Archives]     [Kernel]     [Red General Discussion]     [Red Hat Install]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux