I was able to recreate this by removing the /var/log/installer folder and replacing it with a zero byte file.
bdmurray@clean-bionic-amd64:~$ sudo rm -fr /var/log/installer [sudo] password for bdmurray: bdmurray@clean-bionic-amd64:~$ sudo touch /var/log/installer bdmurray@clean-bionic-amd64:~$ do-release-upgrade Checking for a new Ubuntu release Get:1 Upgrade tool signature [819 B] Get:2 Upgrade tool [1,243 kB] Fetched 1,244 kB in 0s (0 B/s) authenticate 'cosmic.tar.gz' against 'cosmic.tar.gz.gpg' extracting 'cosmic.tar.gz' can't load DistUpgradeViewText ([Errno 20] Not a directory: '/var/log/installer/media-info') Unable to init server: Could not connect: Connection refused Unable to init server: Could not connect: Connection refused Unable to init server: Could not connect: Connection refused can't load DistUpgradeViewGtk3 ([Errno 20] Not a directory: '/var/log/installer/media-info') can't load DistUpgradeViewKDE (No module named 'PyQt4') can't load DistUpgradeViewText ([Errno 20] Not a directory: '/var/log/installer/media-info') No view can be imported, aborting Given that ubiquity creates the /var/log/installer folder and that I'm unable to recreate this by just removing the folder I'm setting this to a low priority. ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: New => Triaged ** Changed in: ubuntu-release-upgrader (Ubuntu) Importance: Undecided => Low ** Summary changed: - do-release-upgrade fails after cosmic.tar.gz extraction on 18.04.2 LTS + do-release-upgrade fails if /var/log/installer is a file -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1826896 Title: do-release-upgrade fails if /var/log/installer is a file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1826896/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs