Re: A word to the wise regarding failed fedup upgrades

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

 



On Jun 4, 2014, at 10:16 AM, Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx> wrote:

> On Wed, Jun 04, 2014 at 04:45:16PM +0100, Gary Stainburn wrote:
>> If you try to fedup and the fedup doesn't work (completed but kernel panic on 
>> boot) don't try to 'yum erase' the duplicate RPM's. I goes through the 
>> uninstall process and removes all the GLIBC files and leaves you with a 
>> totally stuiffed server
> 
> Yes indeed. Instead, use `package-cleanup --cleandupes` (possibly with the
> --noscripts flag if there are issues) from the yum-utils package.

I wonder if this will work booting a live cd, mounting the broken system parts [1], and chrooting it, then running package-cleanup?


Chris Murphy


[1] grep mount /var/log/anaconda/anaconda.program.log will give an example of how to mount the system the way the installer does it. For a btrfs system it looks like this:

14:45:00,060 INFO program: Running... mount -t btrfs -o subvol=root /dev/sda3 /mnt/sysimage
14:45:00,289 INFO program: Running... mount -t ext4 -o defaults /dev/sda2 /mnt/sysimage/boot
14:45:00,477 INFO program: Running... mount -t vfat -o umask=0077,shortname=winnt /dev/sda1 /mnt/sysimage/boot/efi
14:45:00,700 INFO program: Running... mount -t bind -o bind,defaults /dev /mnt/sysimage/dev
14:45:00,863 INFO program: Running... mount -t devpts -o gid=5,mode=620 devpts /mnt/sysimage/dev/pts
14:45:01,039 INFO program: Running... mount -t tmpfs -o defaults tmpfs /mnt/sysimage/dev/shm
14:45:01,218 INFO program: Running... mount -t btrfs -o subvol=home /dev/sda3 /mnt/sysimage/home
14:45:01,416 INFO program: Running... mount -t proc -o defaults proc /mnt/sysimage/proc
14:45:02,901 INFO program: Running... mount -t bind -o bind,defaults /run /mnt/sysimage/run
14:45:03,072 INFO program: Running... mount -t sysfs -o defaults sysfs /mnt/sysimage/sys
14:45:03,241 INFO program: Running... mount -t selinuxfs -o defaults selinuxfs /mnt/sysimage/sys/fs/selinux
14:45:03,429 INFO program: Running... mount -t btrfs -o subvol=var /dev/sda3 /mnt/sysimage/var
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux