0

I'm trying to upgrade from 18.04 to 20.04. do-release-upgrade terminates with this error message: https://pastebin.com/PzZf408W

I did a lot of research, also found this old thread, but it doesn't solve my problem. I already disabled all third party repos. I couldn't find anything in the main.log and I'm not sure what to look for in the apt.log. The first half of the packages seem to go no problem, the second half shows broken packages but also mentions "considering XXX as a solution".

So I really have no idea any more what to do.

Linux pc-f-linux 4.18.8-041808-generic #201809150431 SMP Sat Sep 15 08:33:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

If you need more information let me know! Cheers!

Fabian
  • 145
  • 2
  • 3
  • 14

2 Answers2

0

Check the basics first...

Check your file system:

  • boot to a Ubuntu Live DVD/USB in “Try Ubuntu” mode
  • open a terminal window by pressing Ctrl+Alt+T
  • type sudo fdisk -l
  • identify the /dev/sdXX device name for your "Linux Filesystem"
  • type sudo fsck -f /dev/sdXX, replacing sdXX with the number you found earlier
  • repeat the fsck command if there were errors
  • type reboot

Fix broken packages:

Start synaptic. Select Fix broken packages from the Edit menu. Select this a few times, until no more errors appear.

Software Updater:

Run Software Updater before trying to perform the upgrade, and make sure that you're up to date.

Note: If these steps don't allow you to upgrade, please let me know the results of each step.

heynnema
  • 73,649
0

The only thing that worked was to replace bionic with focal in the sources and then run apt update && apt upgrade -y

Not really nice, but mostly did the trick. I have some held back packages, due to dependcy problems, but nothing problematic.

Fabian
  • 145
  • 2
  • 3
  • 14