Re: Fedora 10->11 Preupgrade Failure. Franken-system.

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

 



On Sun, Jun 14, 2009 at 9:17 PM, Kevin Bowling<kevinb@xxxxxxxxxxxxxxx> wrote:
> On 6/14/2009 9:34 PM, Kam Leo wrote:
>
> On Sun, Jun 14, 2009 at 8:03 PM, Kevin Bowling<kevinb@xxxxxxxxxxxxxxx>
> 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"

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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