Bug 459328
Summary: | RFE: provide a way to clean stale/failed preupgrade files, to allow re-running it. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Răzvan Sandu <rsandu2004> |
Component: | preupgrade | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | fedora, marius.stracna, wwoods |
Target Milestone: | --- | Keywords: | FutureFeature, Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-03 20:49:40 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Răzvan Sandu
2008-08-16 15:51:01 UTC
1. you have to remove the entry from your /etc/grub.conf manually - it should be the first entry 2. go to /var/cache/yum/preupgrade and remove all the files here. that should be it. preupgrade modifies data in ~3 places: /var/cache/yum/preupgrade* /boot/upgrade /etc/grub.conf If you want to clean up manually, you can do: grubby --remove-kernel=/boot/upgrade/vmlinuz rm -rf /var/cache/yum/preupgrade* /boot/upgrade In preupgrade-0.9.8 and later, you can restart preupgrade and answer "No" when it asks if you wish to continue your incomplete upgrade. That will clear out the caches in /var/cache/yum/preupgrade-* and /boot/upgrade. You may still need to run grubby (or edit /etc/grub.conf by hand). Hello, This is absolutely *great news* , but, IMHO, the following action is needed: - please add a switch to preupgrade, for automatic cleaning of interrupted upgrades (something like "preupgrade --clean") - please document clearly this options in some *visible* place, say preupgrade's man page and/or online manual. Regards, Răzvan just encountered it with F17->F18beta. Cleaned the system using the above methods, it still not cleaned enough - it does not prompt me to again get the files for F18beta. Re-opening as a RFE. Preupgrade is obsoleted in favor of fedup. It can't possibly work to upgrade to F18 because the F18 installer doesn't support preupgrade - or any kind of upgrade at all. This is handled by fedup now - see bug 874495. As for cleanup - "fedup-cli --clean" should remove everything that fedup has changed: delete downloaded files, remove symlinks, revert bootloader changes, etc. If fedup-cli --clean doesn't clean everything, please open a new bug against fedup. |