Public bug reported: As all the commands return no file or directory found so I can not grab the logs, below are capture from the terminal screen
Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... make -j8 KERNELRELEASE=5.15.0-1088-azure -C src/linux KDIR=/lib/modules/5.15.0-1088-azure/build; make -C src/linux/bluechannel KDIR=/lib/modules/5.15.0-1088-azure/build.... Error! Build of microsoft-dependency-agent.ko failed for: 5.15.0-1088-azure (x86_64) Make sure the name of the generated module is correct and at the root of the build directory, or consult make.log in the build directory /var/lib/dkms/microsoft-dependency-agent/9.10.13/build/ for more information. ...done. Setting up python3-setuptools (59.6.0-1.2ubuntu0.22.04.2) ... Setting up node-error-ex (1.3.2-3) ... Setting up node-once (1.4.0-4) ... Setting up squashfs-tools (1:4.5-3build1) ... Setting up libxmlsec1-openssl:amd64 (1.2.33-1build2) ... Setting up alsa-ucm-conf (1.2.6.3-1ubuntu1.12) ... Setting up guile-3.0-libs:amd64 (3.0.7-1) ... Setting up python3-rich (11.2.0-1) ... Setting up gawk (1:5.1.0-1ubuntu0.1) ... Setting up python3-gdbm:amd64 (3.10.8-1~22.04) ... Setting up python3-talloc:amd64 (2.3.3-2build1) ... Setting up python3-pbr (5.8.0-0ubuntu1) ... Setting up libjq1:amd64 (1.6-2.1ubuntu3) ... Setting up node-has-gulplog (0.1.0-2) ... Setting up sntp (1:4.2.8p15+dfsg-1ubuntu2) ... Setting up python3-apt (2.4.0ubuntu4) ... Setting up libnginx-mod-http-headers-more-filter (1.18.0-6ubuntu14.6) ... Setting up libgusb2:amd64 (0.3.10-1) ... Setting up node-flush-write-stream (2.0.0-5) ... Setting up libxcb-glx0:amd64 (1.14-3ubuntu3) ... Setting up btrfs-progs (5.16.2-1) ... Setting up libasn1-8-heimdal:amd64 (7.7.0+dfsg-3ubuntu1) ... Setting up python3-tenacity (6.3.1-3) ... Setting up python3-bcrypt (3.2.0-1build1) ... Setting up node-resolve (1.20.0+~cs5.27.9-1) ... Setting up libedit2:amd64 (3.1-20210910-1build1) ... Setting up libkyotocabinet16v5:amd64 (1.2.79-1) ... Setting up python3-automat (20.2.0-1) ... Setting up gpgsm (2.2.27-3ubuntu2.3) ... Setting up cron (3.0pl1-137ubuntu3) ... Installing new version of config file /etc/crontab ... Installing new version of config file /etc/init.d/cron ... Setting up libnginx-mod-http-image-filter (1.18.0-6ubuntu14.6) ... Setting up ltrace (0.7.3-6.1ubuntu6.22.04.1) ... Setting up netcat-openbsd (1.218-4ubuntu1) ... Setting up libxcb-shape0:amd64 (1.14-3ubuntu3) ... Setting up libnginx-mod-stream (1.18.0-6ubuntu14.6) ... Setting up libavahi-common3:amd64 (0.8-5ubuntu5.2) ... Setting up node-gulplog (1.0.0-2) ... Setting up libnginx-mod-http-upstream-fair (1.18.0-6ubuntu14.6) ... Setting up libdns-export1110 (1:9.11.19+dfsg-2.1ubuntu3) ... Setting up libglib2.0-bin (2.72.4-0ubuntu2.4) ... Setting up m4 (1.4.18-5ubuntu2) ... Setting up node-kind-of (6.0.3+dfsg-2) ... Setting up screen (4.9.0-1) ... Setting up secureboot-db (1.8) ... Setting up debconf-i18n (1.5.79ubuntu1) ... Setting up node-through2-filter (3.0.0-2) ... Setting up libnftnl11:amd64 (1.2.1-1build1) ... Setting up e2fsprogs (1.46.5-2ubuntu1.2) ... Installing new version of config file /etc/mke2fs.conf ... update-initramfs: deferring update (trigger activated) e2scrub_all.service is a disabled or a static unit not running, not starting it. Setting up rpcbind (1.2.6-2build1) ... Setting up libefiboot1:amd64 (37-6ubuntu2) ... Setting up libnss3:amd64 (2:3.98-0ubuntu0.22.04.2) ... Setting up libxcb-shm0:amd64 (1.14-3ubuntu3) ... Setting up node-is-binary-path (2.1.0-4) ... Setting up libnginx-mod-stream-geoip (1.18.0-6ubuntu14.6) ... Setting up libmbim-proxy (1.28.0-1~ubuntu20.04.2) ... Setting up linux-modules-6.8.0-1028-azure (6.8.0-1028.33~22.04.1) ... Setting up vim-tiny (2:8.2.3995-1ubuntu2.24) ... Installing new version of config file /etc/vim/vimrc.tiny ... Setting up kmod (29-1ubuntu1) ... Setting up node-cloneable-readable (2.1.0+~2.0.0-1) ... Setting up python3-newt:amd64 (0.52.21-5ubuntu2) ... Setting up node-minimist (1.2.5+~cs5.3.2-1) ... Setting up libgpgme11:amd64 (1.16.0-1.2ubuntu4.2) ... Setting up libhcrypto4-heimdal:amd64 (7.7.0+dfsg-3ubuntu1) ... Setting up python3-wheel (0.37.1-2ubuntu0.22.04.1) ... Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg exited unexpectedly, E:Problem executing scripts DPkg::Post-Invoke '/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null', E:Sub-process returned an error code Could not install the upgrades The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a). Please report this bug in a browser at http://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug and attach the files in /var/log/dist-upgrade/ to the bug report. E:Sub-process /usr/bin/dpkg exited unexpectedly, E:Problem executing scripts DPkg::Post-Invoke '/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null', E:Sub-process returned an error code Error in sys.excepthook: Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-900wobsh/DistUpgrade/DistUpgradeApport.py", line 49, in apport_crash from apport.report import Report File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module> from apport.report import Report File "/usr/lib/python3/dist-packages/apport/report.py", line 32, in <module> import apport.fileutils File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 495, in <module> def get_process_environ(proc_pid_fd: int) -> dict[str, str]: TypeError: 'type' object is not subscriptable Original exception was: Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-900wobsh/DistUpgrade/DistUpgradeController.py", line 1308, in doDistUpgrade res = self.cache.commit(fprogress,iprogress) File "/tmp/ubuntu-release-upgrader-900wobsh/DistUpgrade/DistUpgradeCache.py", line 309, in commit apt.Cache.commit(self, fprogress, iprogress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 686, in commit def cache_post_change(self): SystemError: installArchives() failed During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-900wobsh/jammy", line 8, in <module> sys.exit(main()) File "/tmp/ubuntu-release-upgrader-900wobsh/DistUpgrade/DistUpgradeMain.py", line 241, in main if app.run(): File "/tmp/ubuntu-release-upgrader-900wobsh/DistUpgrade/DistUpgradeController.py", line 2042, in run return self.fullUpgrade() File "/tmp/ubuntu-release-upgrader-900wobsh/DistUpgrade/DistUpgradeController.py", line 2006, in fullUpgrade if not self.doDistUpgrade(): File "/tmp/ubuntu-release-upgrader-900wobsh/DistUpgrade/DistUpgradeController.py", line 1354, in doDistUpgrade self._view.getTerminal().call(cmd) File "/tmp/ubuntu-release-upgrader-900wobsh/DistUpgrade/DistUpgradeView.py", line 249, in call subprocess.call(cmd) File "/usr/lib/python3.8/subprocess.py", line 340, in call with Popen(*popenargs, **kwargs) as p: File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/dpkg' === Command detached from window (Fri May 16 14:21:43 2025) === === Command terminated with exit status 1 (Fri May 16 14:21:53 2025) ===-- 0:jammy -- time-stamp -- May/16/25 14:23:44 -- ** Affects: ubuntu 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/2111121 Title: do-release-upgrade to upgrade our system from 20.04 LTS to 22.05 LTS failed and crashed the entire system, all the commands return no file or directory found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2111121/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs