SCIENTIFIC-LINUX-USERS Archives

May 2013

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Todd And Margo Chester <[log in to unmask]>
Reply To:
Todd And Margo Chester <[log in to unmask]>
Date:
Fri, 17 May 2013 17:38:31 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (63 lines)
On 05/17/2013 02:41 PM, Jeffrey Anderson wrote:
>
>
>
> On Fri, May 17, 2013 at 2:20 PM, Todd And Margo Chester
> <[log in to unmask] <mailto:[log in to unmask]>> wrote:
>
>     On 05/14/2013 12:01 PM, David Sommerseth wrote:
>
>         On 13/05/13 09:49, R Morris wrote:
>
>             Hi All,
>
>             I had this recently when I did ctrl-c in the middle of a
>             long 'yum -y
>             update'
>             and was left with 161 duplicate packages and a feeling of
>             deep regret....
>
>             i had to write script to do
>
>             rpm -e <packag> --nodeps
>
>             on a list of the duplicate packages. The system is now fully
>             functional again
>             and I have learnt my lesson!
>
>
>         Couldn't yum-complete-transaction (from the yum-utils package)
>         help you
>         clean up this?  At least let it complete and then clean up the
>         packages
>         you don't need/want afterwards.  This should (in theory at
>         least) do the
>         same thing in a more safe and controlled manner.
>
>
>         kind regards,
>
>         David Sommerseth
>
>
>     # yum-complete-transaction
>     Loaded plugins: priorities, refresh-packagekit
>     32 packages excluded due to repository priority protections
>     No unfinished transactions left.
>
>
> Perhaps 'package-cleanup --cleandupes'
>
> 'man package-cleanup' for details.
>
> --
> --------------------------------------------------------------
> Jeffrey Anderson                        | [log in to unmask]



# package-cleanup --cleandupes
Loaded plugins: priorities, refresh-packagekit
32 packages excluded due to repository priority protections
No duplicates to remove

ATOM RSS1 RSS2