Invalid package information
After updating your package information, the essential package
'ubuntu-minimal' could not be located. This may be because you have
no official mirrors listed in your software sources, or because of
excessive load on the mirror you are using. See /etc/apt/sources.list
for the current list of configured software sources.
In the case of an overloaded mirror, you may want to try the upgrade
again later.
Restoring original system state
Aborting
g package lists... 2%
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
Reading package lists... Done
Building dependency tree
Reading state information... Done
................
=== Command terminated with exit status 1 (Wed Jan 26 18:03:00 2022) ===
So I had to use this command instead: sudo RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 do-release-upgrade
During the upgrade process, all files that were detected to have been modified, I kept them as they were, by clicking ‘No’ to their replacement by newer version default files.
After a reboot, I check the cd /etc/apt/sources.list.d/ folder and found 2 sets of files for each repository. The files ending in .distUpgrade are just backups of the original file. I checked all .list files and found that all but one were correctly modified during the upgrade to point to ‘focal’ sourses.
The faulty one was mssql-release.list which contained a commented out source: # deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main
which I think has to be modified to deb [arch=amd64] https://packages.microsoft.com/ubuntu/20.04/prod focal main
I then did
sudo apt update
sudo apt upgrade
I went into Virtualmin and was greeted by a message on the dashboard informing me that the OS was upgraded and urging me to click a button to update this in the system, which I did.
I also run: sudo update-grub and rebooted.
Then I went in Virtualmin System Settings > Re-Check Configuration.
All seems OK. CPU & RAM usage seems to have increased by about 10% judging by the charts.
I noticed soon after posting, that all my previous IPtables Firewall rules were all gone.
Only F2B had rules in my firewall - everything else was gone with the upgrade to Ubuntu 20.04 I guess.
So what I did was to restore my previous rules from backup (/etc/webmin/firewall/iptables.save) and restart F2B which brought back its own.
Thanks for posting. Good for others who may query the same. Would be good if you could merge the additional tasks you did to resolve back to the main post for cleanliness.
That command was not enough for me. I am on digitalocean which includes its own repositories instead of the official ones - that was the issue if memory serves and this is why I had to add
dovecot: config: Warning: please set ssl_dh=</etc/dovecot/dh.pem|
dovecot: config: Warning: You can generate it with: dd if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dhparam -inform der > /etc/dovecot/dh.pem|
named[705]: IPv6 socket API is incomplete; explicitly binding to each IPv6 address separately
May be related to this:
systemd-udevd[385]: Could not set WakeOnLan of ens3 to off: Operation not supported
udevadm[384]: systemd-udev-settle.service is deprecated.
systemd-udevd[388]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
I am not experiencing anything weird with F2B, but this has shown up in syslog after the upgrade. systemd[1]: /etc/systemd/system/fail2ban.service:15: PIDFile= references a path below legacy directory /var/run/, updating /var/run/fail2ban/fail2ban.pid → /run/fail2ban/fail2ban.pid; please update the unit file accordingly.
It is just a notice.
see here for options: https://github.com/fail2ban/fail2ban/issues/2474
Another one which appears only in 20.04 is this set of notices.
||systemd[1]: Condition check resulted in Show Plymouth Boot Screen being skipped.|
||systemd[1]: Condition check resulted in Forward Password Requests to Plymouth Directory Watch being skipped.|
||kernel: [ 4.693593] systemd[1]: Condition check resulted in System Slice being skipped.|
||kernel: [ 4.980208] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.|
||kernel: [ 4.990001] systemd[1]: Condition check resulted in OpenVSwitch configuration for cleanup being skipped.|
||kernel: [ 4.997748] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.|
||kernel: [ 5.319608] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.|
||kernel: [ 5.319688] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.|
||systemd[1]: Condition check resulted in LXD - agent - 9p mount being skipped.|
||systemd[1]: Condition check resulted in LXD - agent being skipped.|
||systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.|
||systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.|
||systemd[1]: Condition check resulted in Authentication service for virtual machines hosted on VMware being skipped.|
||systemd[1]: Condition check resulted in Service for virtual machines hosted on VMware being skipped.|
||systemd[1]: Condition check resulted in Process error reports when automatic reporting is enabled (file watch) being skipped.|
||systemd[1]: Condition check resulted in Timer to automatically fetch and run repair assertions being skipped.|
||systemd[1]: Condition check resulted in Unix socket for apport crash forwarding being skipped.|
||systemd[1]: Condition check resulted in Login to default iSCSI targets being skipped.|
||systemd[1]: Condition check resulted in getty on tty2-tty6 if dbus and logind are not available being skipped.|
||systemd[1]: Condition check resulted in Set the CPU Frequency Scaling governor being skipped.|
||systemd[1]: Condition check resulted in Pollinate to seed the pseudo random number generator being skipped.|
||systemd[1]: Condition check resulted in RPC Remote Quota Server being skipped.|
||systemd[1]: Condition check resulted in fast remote file copy program daemon being skipped.|
||systemd[1]: Condition check resulted in Secure Boot updates for DB and DBX being skipped.|
||systemd[1]: Condition check resulted in Automatically repair incorrect owner/permissions on core devices being skipped.|
||systemd[1]: Condition check resulted in Wait for the Ubuntu Core chooser trigger being skipped.|
||systemd[1]: Condition check resulted in Thermal Daemon Service being skipped.|
||systemd[1]: Condition check resulted in Ubuntu Advantage reboot cmds being skipped.|
||systemd[1]: Condition check resulted in Auto import assertions from block devices being skipped.|
Maybe they are also a result of an early execution at boot time?
Maybe they are skipped at the time of the warning, and later they are satisfied?
If you know more, chime in below.