I'm trying to upgrade my ubuntu box from 20.04 to 22.04 and getting the following error.Can anyone help me please
2022-09-07 12:13:11,901 WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)
Here is the full error log
2022-09-07 12:13:11,131 DEBUG openCache()2022-09-07 12:13:11,270 DEBUG Comparing 5.15.0-43 with 2022-09-07 12:13:11,271 DEBUG Comparing 5.15.0-46 with 5.15.0-432022-09-07 12:13:11,290 DEBUG /openCache(), new cache size 120902022-09-07 12:13:11,291 DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')2022-09-07 12:13:11,291 DEBUG quirks: running PreDistUpgradeCache2022-09-07 12:13:11,291 DEBUG running Quirks.PreDistUpgradeCache2022-09-07 12:13:11,534 DEBUG Running KeepInstalledSection rules2022-09-07 12:13:11,599 DEBUG Kernel uname: '5.15.0-46-generic'2022-09-07 12:13:11,608 DEBUG nvidiaUpdate()2022-09-07 12:13:11,775 INFO no old nvidia driver installed, installing no new2022-09-07 12:13:11,775 DEBUG Removing 'gnome-cups-manager' (ubuntu-desktop PostUpgradeRemove rule)2022-09-07 12:13:11,775 DEBUG Removing 'powermanagement-interface' (ubuntu-desktop PostUpgradeRemove rule)2022-09-07 12:13:11,775 DEBUG Removing 'deskbar-applet' (ubuntu-desktop PostUpgradeRemove rule)2022-09-07 12:13:11,775 DEBUG Removing 'nautilus-cd-burner' (ubuntu-desktop PostUpgradeRemove rule)2022-09-07 12:13:11,775 DEBUG quirks: running PostDistUpgradeCache2022-09-07 12:13:11,775 DEBUG running Quirks.PostDistUpgradeCache2022-09-07 12:13:11,796 DEBUG Comparing 5.15.0-43 with 2022-09-07 12:13:11,796 DEBUG Comparing 5.15.0-46 with 5.15.0-432022-09-07 12:13:11,796 DEBUG Comparing 5.15.0-47 with 5.15.0-462022-09-07 12:13:11,808 INFO installing linux metapackage: linux-generic2022-09-07 12:13:11,808 DEBUG Installing 'linux-generic' (linux metapackage may have been accidentally uninstalled)2022-09-07 12:13:11,825 DEBUG Marking 'ubuntu-desktop' for upgrade2022-09-07 12:13:11,901 WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)2022-09-07 12:13:11,914 DEBUG denylist expr 'update-manager$' matches 'update-manager'2022-09-07 12:13:11,914 DEBUG The package 'update-manager' is marked for removal but it's in the removal deny list2022-09-07 12:13:26,538 ERROR Dist-upgrade failed: 'The package 'update-manager' is marked for removal but it is in the removal deny list.'2022-09-07 12:13:26,576 DEBUG abort called2022-09-07 12:13:26,578 DEBUG openCache()2022-09-07 12:13:27,352 DEBUG Comparing 5.15.0-43 with 2022-09-07 12:13:27,352 DEBUG Comparing 5.15.0-46 with 5.15.0-432022-09-07 12:13:27,409 DEBUG /openCache(), new cache size 23600
Here is my /etc/apt/sources.list file
deb http://archive.ubuntu.com/ubuntu focal main restricteddeb http://security.ubuntu.com/ubuntu/ focal-security restricted maindeb http://archive.ubuntu.com/ubuntu focal-updates restricted maindeb http://archive.ubuntu.com/ubuntu focal-backports restricted main