![]() | ![]() | ![]() |
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
resource:sc_lab_info:fedora:upgrading [2014/12/23 09:03] rim [Special Issues, Upgrading to Fedora 21] |
resource:sc_lab_info:fedora:upgrading [2023/02/15 12:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Upgrading Fedora ====== | ====== Upgrading Fedora ====== | ||
General issues in upgrading Fedora | General issues in upgrading Fedora | ||
+ | |||
+ | dnf install dnf-utils, meld | ||
* Before Upgrading | * Before Upgrading | ||
- | * yum update | + | * dnf update |
* %%package-cleanup --problems%% | * %%package-cleanup --problems%% | ||
* %%package-cleanup --dupes%% | * %%package-cleanup --dupes%% | ||
* %%package-cleanup --orphans%% | * %%package-cleanup --orphans%% | ||
* rpmconf -a (using meld to conflate) | * rpmconf -a (using meld to conflate) | ||
+ | * A good summary of the (around F30) upgrade process: [[https://fedoramagazine.org/upgrading-fedora-29-to-fedora-30/]] | ||
* After Upgrading | * After Upgrading | ||
- | * yum distro-sync | + | * dnf distro-sync |
- | * yum update | + | * dnf update |
* %%package-cleanup --problems%% | * %%package-cleanup --problems%% | ||
* %%package-cleanup --dupes%% | * %%package-cleanup --dupes%% | ||
Line 16: | Line 19: | ||
Some useful scripts | Some useful scripts | ||
- | * When you want to delete a package (usually, to reinstall because of yum screw-ups) without touching any dependencies: | + | * When you want to delete a package (usually, to reinstall because of dnf screw-ups) without touching any dependencies: |
''%%rpm -e --justdb --nodeps packagename%%'' | ''%%rpm -e --justdb --nodeps packagename%%'' | ||
+ | ===== Special Issues, Upgrading / Backing up Multi-Partition Hosts ===== | ||
+ | Use live USB stick to boot so system is quiescent, then use parted to visualise structure | ||
+ | <code> | ||
+ | select /dev/sdx | ||
+ | |||
+ | </code> | ||
+ | then | ||
+ | <code> | ||
+ | dd if=/dev/sda9 of=/dev/sdx4 bs=128M | ||
+ | watch -n 10 killall -USR1 dd | ||
+ | </code> | ||
+ | |||
===== Special Issues, Upgrading VirtualBox Hosts ===== | ===== Special Issues, Upgrading VirtualBox Hosts ===== | ||
Uninstall virtualbox before upgrade. Upgrade, then reinstall virtualbox (or you could try using the yum repo for virtualbox provided by rpmfusion, but so far I've found it too painful - too many glitches with the rpms - and directly installing rpms from www.virtualbox.org much easier). | Uninstall virtualbox before upgrade. Upgrade, then reinstall virtualbox (or you could try using the yum repo for virtualbox provided by rpmfusion, but so far I've found it too painful - too many glitches with the rpms - and directly installing rpms from www.virtualbox.org much easier). | ||
- | |||
===== Special Issues, Upgrading VirtualBox Guests ===== | ===== Special Issues, Upgrading VirtualBox Guests ===== | ||
Guest additions may fail badly in the updated guests (may only be able | Guest additions may fail badly in the updated guests (may only be able |