Fedora 10->11 Preupgrade Failure. Franken-system.
Kam Leo
kam.leo at gmail.com
Mon Jun 15 06:11:26 UTC 2009
On Sun, Jun 14, 2009 at 9:17 PM, Kevin Bowling<kevinb at analograils.com> wrote:
> On 6/14/2009 9:34 PM, Kam Leo wrote:
>
> On Sun, Jun 14, 2009 at 8:03 PM, Kevin Bowling<kevinb at analograils.com>
> wrote:
>
>
> 2) I now have a franken-system that seemingly has both F10 and F11 versions
> of packages installed. How can I manually clean this up?
>
> Regards,
> Kevin
>
>
>
> Might I suggest that you first verify that all your repos point to
> F11. Then, as others have suggested in other threads run
> "package-cleanup --cleandupes", "package-cleanup --problems", and
> "package-cleanup --orphans"..
>
>
> The last two simply list the packages. Especially the last, with over 1000
> packages, how do I remove these?
>
This is a brute force way to get it done:
1. Save (redirect) your output to a file, e.g. "package-cleanup
--orphans > orphans".
2. Make the file executable; e.g. "chmod +x orphans"
3. Use gedit to edit the file; e.g. "gedit orphans"
a..Examine the files listed and remove any line containing a
package you want to keep
b. Replace all instances of ".fc10" with ".fc10 \ "
c. Insert the following two lines at the top of the file:
#! /bin/bash
yum remove \
d. Append " \" to any remaining package (line) without one
e. Save file
4. Do "sudo ./orphans"
More information about the fedora-list
mailing list