Hi All,
Here are my upgrade notes on Fedora 30 to 31. not that they are specific to me. Let me know if you want me to expound on any of them.
Hope it helps someone else:
-T
FC 30 -->> FC 31: https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/
# rpm --rebuilddb # rpm -Va --nofiles --nodigest if anything is too new, do a # dnf downgrade offender(s)
# dnf --enablerepo=* update --refresh # dnf install python3-dnf-plugin-system-upgrade # dnf system-upgrade download --refresh --releasever=31 --allowerasing --best
If there are any failures or "system-upgrade reboot" starts and reboots back into the old operating system, remove or clean up the offenders until the above completes correctly.
IMPORTANT, then you must clean out the upgrade cache and start over without the "--allowerasing" and "--best"
# dnf system-upgrade clean
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-31-primary # dnf clean packages <-- optional # dnf system-upgrade -v reboot --debugsolver
If a problem still exists, look through the new logs for and "CRIT" or "CRITICAL" notations /var/log/dnf.log and dnf.rpm.log for messages which may offer clues.
Post upgrade: Note: the upgrade buggers up bind-chroot and perl 6
Firewall (iptables): # systemctl enable custom-firewall.service # systemctl stop custom-firewall.service # systemctl start custom-firewall.service
eth.ext.rules: modify:
lease_file=$(ls -t ${lease_dir}/internal*lease | sed -n 1,1p) mask=$(cat $lease_file | grep NETMASK | awk -F "=" '{print $2}') eth1_addr=$(cat $lease_file | grep -v _ADDRESS | grep ADDRESS | awk -F "=" '{print $2}') eth1_net=$(echo $eth1_addr | sed -e "s/./ /g" | awk '{print $1"." $2"." $3".0/"}')$ETH1_MASK DHCPD=$(cat $lease_file | grep SERVER_ADDRESS | awk -F "=" '{print $2}') gateway_addr=$(cat $lease_file | grep SERVER_ADDRESS | awk -F "=" '{print $2}')
# Set up (local) DNS (bind, named) outgoing querry rules $tbls -A dsl-out -o $eth1 -p tcp --dport domain -m state --state NEW,ESTABLISHED -j ACCEPT $tbls -A dsl-out -o $eth1 -p udp --dport domain -m state --state NEW,ESTABLISHED -j ACCEPT $tbls -A dsl-in -i $eth1 -p udp --sport domain -d $eth1_addr -m state --state RELATED,ESTABLISHED -j ACCEPT $tbls -A dsl-in -i $eth1 -p tcp ! --syn --sport domain -d $eth1_addr -m state --state RELATED,ESTABLISHED -j ACCEPT
/etc/resolv.conf Comment out "search" and "nameserver" entries Temporarily add "nameserver 8.8.8.8"
disable the firewall (eth.ext.reset)
Reinstall bind and bind-chroot # dnf reinstall bind bind-chroot # systemctl enable named-chroot.service # systemctl start named-chroot.service
Reenable bind's (dns) SELinux rules: # setsebool -P nis_enabled 1 # ausearch -c 'named' --raw | audit2allow -M my-named # semodule -X 300 -i my-named.pp
Test with $ host google.com 127.0.0.1
/etc/resolv.conf restore commented out "search" and "nameserver" entries comment out "nameserver 8.8.8.8"
Test with $ host google.com
Perl 6: remove and reinstall Perl 6 (Rakudo) # dnf remove rakudo-zef rakudo # dnf install rakudo-zef rakudo
Download and install the latest or desired release from: https://github.com/nxadm/rakudo-pkg/releases for example: # dnf install /home/CDs/Linux/Perl/6/rakudo-pkg-Fedora31-2019.07.1-03.x86_64.rpm
Make sure all you module begin with "unit module <modlue name>;". Fedora 31 will not tolerate modules without it any more.