[Bug 1969786] Re: Upgrade from 20.04 to 22.04 failed
Hello, I was at the same point, but i accidently cancelled the process. After reboot load into the grub boot-menu.When i choose ubuntu as bootoption it is stuck in the boot. What shall i do or where should I ask? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969786 Title: Upgrade from 20.04 to 22.04 failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1969786/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1969786] Re: Upgrade from 20.04 to 22.04 failed
** Tags removed: rls-jj-incoming ** Also affects: ubuntu-release-upgrader (Ubuntu Jammy) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969786 Title: Upgrade from 20.04 to 22.04 failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1969786/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1969786] Re: Upgrade from 20.04 to 22.04 failed
** Tags added: fr-2316 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969786 Title: Upgrade from 20.04 to 22.04 failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1969786/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1969786] Re: Upgrade from 20.04 to 22.04 failed
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969786 Title: Upgrade from 20.04 to 22.04 failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1969786/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1969786] Re: Upgrade from 20.04 to 22.04 failed
I managed to sort it out ... After a scare. I lock the desktop and I was unable to log back in. Upon rebooting I would only get a text prompt and no network connection after login. Somehow I managed to get the ethernet up and running. Then with apt upgrade and apt install ubuntu-desktop... I have a flashy new desktop. I must say ... I was very impressed how the apt command gave me the option to see diffs in some config and policy files in ImageMagick, ssh_config and few others that I had forgotten about. Very impressed with that feature. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969786 Title: Upgrade from 20.04 to 22.04 failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1969786/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1969786] Re: Upgrade from 20.04 to 22.04 failed
I managed to sort it out ... After a scare. I lock the desktop and I was unable to log back in. Upon rebooting I would only get a text prompt and no network connection after login. Somehow I managed to get the ethernet up and running. Then with apt upgrade and apt install ubuntu-desktop... I have a flashy new desktop. I must say ... I was very impressed how the apt command gave me the option to see diffs in some config and policy files in ImageMagick, ssh_config and few others that I had forgotten about. Very impressed with that feature. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969786 Title: Upgrade from 20.04 to 22.04 failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1969786/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1969786] Re: Upgrade from 20.04 to 22.04 failed
> Are you referring to this line? Yes, that is the line I was referring to. > I don't understand this ... Yeah, I think this is the real bug, the ubuntu-desktop meta package was removed during your upgrade (according to VarLogDistupgradeApttermlog.txt). You can try installing it again with `sudo apt install ubuntu-desktop`. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969786 Title: Upgrade from 20.04 to 22.04 failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1969786/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1969786] Re: Upgrade from 20.04 to 22.04 failed
Shall I run do-release-upgrade -d --mode=desktop ? shall I use the "--proposed" option? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969786 Title: Upgrade from 20.04 to 22.04 failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1969786/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1969786] Re: Upgrade from 20.04 to 22.04 failed
Are you referring to this line? DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode I don't understand this ... It is a laptop that only has a SSH server active on (to be able to do SCP secure copy from the other CentOS box). Why it doesn' t have this "desktop meta package"? How do I install this "desktop meta package"? How do I go to install "ubuntu-desktop" then ? Because I only need desktop on my notebook, I certainly don't need server. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969786 Title: Upgrade from 20.04 to 22.04 failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1969786/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1969786] Re: Upgrade from 20.04 to 22.04 failed
Thanks, Alex. Looking at VarLogDistupgradeMainlog.txt, I can see that need_server_mode() is returning true the third time it's called, and this leads to DistUpgradeController.calcDistUpgrade trying to read DistUpgradeController.tasks later on. But, DistUpgradeController.tasks would only be assigned if need_server_mode() had been true much earlier in the process. That piece should be easy to fix, but I think the real issue is that 'ubuntu-desktop' is ostensibly not installed at that phase. ** Tags added: rls-jj-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969786 Title: Upgrade from 20.04 to 22.04 failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1969786/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1969786] Re: Upgrade from 20.04 to 22.04 failed
apport information ** Tags added: apport-collected focal wayland-session ** Description changed: On focal 20.04 I executed the following commands: sudo apt-get update sudo apt-get upgrade -y sudo apt-get install update-manager-core -y sudo apt-get dist-upgrade -y sudo apt-get autoremove also I disabled 3rd party repositories (Google, FreeCad and some other) in /etc/apt/sources.list.d/ Checking the version I have uname -mrs > Linux 5.13.0-40-generic x86_64 lsb_release -a > No LSB modules are available. Distributor ID:Ubuntu Description:Ubuntu 20.04.4 LTS Release:20.04 Codename:focal Then I run the following command to execute the distribution upgrade procedure sudo do-release-upgrade -d And deep down into the process (95%) I hit the following "bug" ... Installing new version of config file /etc/xdg/autostart/org.gnome.Evolution-alarm-notify.desktop ... Processing triggers for dbus (1.12.20-2ubuntu4) ... Processing triggers for libc-bin (2.35-0ubuntu3) ... Reading package lists... Done Building dependency tree Reading state information... Done Calculating the changes Calculating the changes Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-ql9_ymmz/jammy", line 8, in sys.exit(main()) File "/tmp/ubuntu-release-upgrader-ql9_ymmz/DistUpgrade/DistUpgradeMain.py", line 241, in main if app.run(): File "/tmp/ubuntu-release-upgrader-ql9_ymmz/DistUpgrade/DistUpgradeController.py", line 2038, in run return self.fullUpgrade() File "/tmp/ubuntu-release-upgrader-ql9_ymmz/DistUpgrade/DistUpgradeController.py", line 1992, in fullUpgrade if not self.calcDistUpgrade(): File "/tmp/ubuntu-release-upgrader-ql9_ymmz/DistUpgrade/DistUpgradeController.py", line 1101, in calcDistUpgrade if not self.cache.installTasks(self.tasks): AttributeError: 'DistUpgradeController' object has no attribute 'tasks' Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing self.write(f) File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write block = f.read(1048576) File "/usr/lib/python3.8/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-ql9_ymmz/jammy", line 8, in sys.exit(main()) File "/tmp/ubuntu-release-upgrader-ql9_ymmz/DistUpgrade/DistUpgradeMain.py", line 241, in main if app.run(): File "/tmp/ubuntu-release-upgrader-ql9_ymmz/DistUpgrade/DistUpgradeController.py", line 2038, in run return self.fullUpgrade() File "/tmp/ubuntu-release-upgrader-ql9_ymmz/DistUpgrade/DistUpgradeController.py", line 1992, in fullUpgrade if not self.calcDistUpgrade(): File "/tmp/ubuntu-release-upgrader-ql9_ymmz/DistUpgrade/DistUpgradeController.py", line 1101, in calcDistUpgrade if not self.cache.installTasks(self.tasks): AttributeError: 'DistUpgradeController' object has no attribute 'tasks' I have to admit of this is really a but or if it is "self-made" that I broke the python installation myself as I see that is using python38 from my system. I haven' t rebooted the computer ... The computer is "functional" but many Apps (file browser, LibreOffice to mention 2) have disappeared. I am scared that if I reboot I am going to be left without notebook to work with. Any guidance to get out of this issue would be much appreciated. Thank you for reading. + --- + ProblemType: Bug + ApportVersion: 2.20.11-0ubuntu27.23 + Architecture: amd64 + CasperMD5CheckResult: skip + CrashDB: ubuntu + CrashReports: + 640:1000:125:3187472:2022-04-21 11:52:05.895499130 +0100:2022-04-21 11:52:04.499463693 +0100:/var/crash/_usr_libexec_tracker-extract.1000.crash + 640:0:125:55315:2022-04-21 11:57:28.128352842 +0100:2022-04-21 11:57:28.120352608 +0100:/var/crash/_usr_bin_do-release-upgrade.0.crash + CurrentDesktop: ubuntu:GNOME + DistroRelease: Ubuntu 20.04 + InstallationDate: Installed on 2020-12-22 (484 days ago) + InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731) + Package: ubuntu-release-upgrader (not installed) + ProcVersionSignature: Ubuntu 5.13.0-40.45~20.04.1-generic 5.13.19 + Tags: focal wayland-session dist-upgrade + Uname: Linux 5.13.0-40-generic x86_64 + UpgradeStatus: Upgraded to focal on 2022-04-21 (0 days ago) + UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo + VarLogDistupgradeAptclonesystemstate.tar.gz: Error: command ['cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 1: cat:
[Bug 1969786] Re: Upgrade from 20.04 to 22.04 failed
Hi, If your system is still in this state, can you run `apport-collect 1969786` so we can see the upgrade log files? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969786 Title: Upgrade from 20.04 to 22.04 failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1969786/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs