In close collaboration with Seoul National University's Structural Complexity Laboratory

 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
resource:sc_lab_info:fedora:upgrading [2014/02/18 09:18]
rim [Special Issues, Upgrading to Fedora 18]
resource:sc_lab_info:fedora:upgrading [2014/12/23 08:48]
rim [Special Issues, Upgrading to Fedora 20]
Line 3: Line 3:
   * Before Upgrading   * Before Upgrading
     * yum update     * yum 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)
   * After Upgrading   * After Upgrading
     * yum distro-sync     * yum distro-sync
     * yum update     * yum 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)
  
 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 yum screw-ups) without touching any dependencies:​
-''​rpm -e --justdb --nodeps packagename''​+''​%%rpm -e --justdb --nodeps packagename%%''​
 ===== 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).
Line 82: Line 82:
   - reboot   - reboot
  
 +===== Special Issues, Upgrading to Fedora 21 =====
 ===== Special Issues, Upgrading to Fedora 20 ===== ===== Special Issues, Upgrading to Fedora 20 =====
   - The biggy here seems to be that it's best to disable all external repos (and specifically,​ rpmfusion) before running fedup   - The biggy here seems to be that it's best to disable all external repos (and specifically,​ rpmfusion) before running fedup
     - ''​yum repolist all | less''​     - ''​yum repolist all | less''​
-    - ''​yum-config-manager --disable '​rpmfusion*'​ ''​+    - ''​%%yum-config-manager --disable '​rpmfusion*' ​%%''​
     - Run fedup     - Run fedup
-    - ''​yum-config-manager --enable '​rpmfusion*20*'​ ''​+    - ''​%%yum-config-manager --enable '​rpmfusion*20*' ​%%''​
     - ''​yum repolist all | less''​ (just to check)     - ''​yum repolist all | less''​ (just to check)
   - And there'​s yet another [[https://​bugzilla.redhat.com/​show_bug.cgi?​id=1045168|screwup if you have a separate /var partition]]. To fix it,    - And there'​s yet another [[https://​bugzilla.redhat.com/​show_bug.cgi?​id=1045168|screwup if you have a separate /var partition]]. To fix it, 
     - '' ​ sudo sed -i 's# -a -d /​system-upgrade##'​ /​lib/​systemd/​system-generators/​system-upgrade-generator''​     - '' ​ sudo sed -i 's# -a -d /​system-upgrade##'​ /​lib/​systemd/​system-generators/​system-upgrade-generator''​
 +  - The network interface naming protocol has changed _yet again_, I needed to reconstruct the firewall to match
 +  - On one system running a dhcp server, dhcp startup was failing (probably a timing race), and I needed to put into rc.local
 +    - systemctl restart dhcpd
 +  - On the same system I had a similar problem with a tftp server, tftp startup was failing (probably also a timing race), and I needed to put into rc.local
 +    - systemctl restart tftp.socket
 ===== Special Issues, Upgrading to Fedora 19 ===== ===== Special Issues, Upgrading to Fedora 19 =====
   - F19 VirtualBox guests: fstab mounting of virtual box shared folders (type vboxsf) seems to have stopped working (this may be just an initial problem), so they need to be mounted manually, say from rc.local. However the availability of share mounting seems to take some time. I've had to put a 'sleep 30' in the initscript. And unfortunately...   - F19 VirtualBox guests: fstab mounting of virtual box shared folders (type vboxsf) seems to have stopped working (this may be just an initial problem), so they need to be mounted manually, say from rc.local. However the availability of share mounting seems to take some time. I've had to put a 'sleep 30' in the initscript. And unfortunately...