** Description changed:

- Failed release upgrade from focal to jammy
+ Failed release upgrade from focal to jammy.
+ 
+ I tried sudo do-release-upgrade -f DistUpgradeViewNonInteractive
+ 
+ It gets to:
+ Setting up context (2021.03.05.20220211-1) ...
+ Running mtxrun --generate. This may take some time... done.
+ Pregenerating ConTeXt MarkIV format. This may take some time...
+ 
+ 
+ And stops, apparently:
+ 
https://askubuntu.com/questions/956006/pregenerating-context-markiv-format-this-may-take-some-time-takes-forever
+ 
+ You need to press enter a number of times, and it should continue, but it did 
not. Whole release upgrade failed after a while due to:
+ E:Could not get lock /var/lib/dpkg/lock. It is held by process 74123 (dpkg)
+ 
+ 
+ Managed to recover using:
+ 
+ edenvaleyoung@harbourne:~$ sudo apt install 
/var/cache/apt/archives/*system*.deb
+ Waiting for cache lock: Could not get lock /var/lib/dpkg/lock. It is held by 
process 74123 (dpkg)
+ ^Citing for cache lock: Could not get lock /var/lib/dpkg/lock. It is held by 
process 74123 (dpkg)... 1s
+ edenvaleyoung@harbourne:~$ ^C
+ edenvaleyoung@harbourne:~$ sudo apt-get autoclean
+ Reading package lists... Done
+ Building dependency tree... Done
+ Reading state information... Done
+ edenvaleyoung@harbourne:~$ sudo apt-get clean
+ edenvaleyoung@harbourne:~$ sudo apt-get update #resync package index
+ Hit:1 http://gb.archive.ubuntu.com/ubuntu jammy InRelease
+ Hit:2 http://lenovo.archive.canonical.com jammy InRelease
+ Get:3 http://gb.archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
+ Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
+ Hit:5 http://gb.archive.ubuntu.com/ubuntu jammy-backports InRelease
+ Get:7 http://gb.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 
[1,824 kB]
+ Get:8 http://gb.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages 
[660 kB]
+ Get:9 http://gb.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en 
[329 kB]
+ Get:10 http://gb.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 
Packages [2,135 kB]
+ Get:11 http://gb.archive.ubuntu.com/ubuntu jammy-updates/restricted 
Translation-en [364 kB]
+ Hit:6 https://debian.qgis.org/debian focal InRelease
+ Fetched 5,568 kB in 1s (4,794 kB/s)
+ Reading package lists... Done
+ edenvaleyoung@harbourne:~$ sudo apt-get upgrade #newest versions of all 
packages, update must be run first
+ E: Could not get lock /var/lib/dpkg/lock. It is held by process 74123 (dpkg)
+ N: Be aware that removing the lock file is not a solution and may break your 
system.
+ E: Unable to lock the administration directory (/var/lib/dpkg/), is another 
process using it?
+ edenvaleyoung@harbourne:~$ sudo apt-get -f install
+ E: Could not get lock /var/lib/dpkg/lock. It is held by process 74123 (dpkg)
+ N: Be aware that removing the lock file is not a solution and may break your 
system.
+ E: Unable to lock the administration directory (/var/lib/dpkg/), is another 
process using it?
+ edenvaleyoung@harbourne:~$ sudo dpkg --configure -a
+ dpkg: error: dpkg database lock was locked by another process with pid 74123
+ Note: removing the lock file is always wrong, and can end up damaging the
+ locked area and the entire system. See 
<https://wiki.debian.org/Teams/Dpkg/FAQ>.
+ edenvaleyoung@harbourne:~$ sudo rm /var/lib/dpkg/lock
+ edenvaleyoung@harbourne:~$ sudo dpkg --configure -a
+ Setting up evolution-data-server (3.44.4-0ubuntu1.1) ...
+ Installing new version of config file 
/etc/xdg/autostart/org.gnome.Evolution-alarm-notify.desktop ...
+ Setting up evolution (3.44.4-0ubuntu2) ...
+ Setting up context (2021.03.05.20220211-1) ...
+ Running mtxrun --generate. This may take some time... done.
+ Pregenerating ConTeXt MarkIV format. This may take some time...
+ 
+ 
+ 
+ 
+ done.
+ Setting up plasma-distro-release-notifier (20220915-0ubuntu0.22.04.1) ...
+ Setting up evolution-plugins (3.44.4-0ubuntu2) ...
+ Setting up yelp (42.1-1) ...
+ Setting up evolution-plugin-bogofilter (3.44.4-0ubuntu2) ...
+ Setting up elpa-eproject (1.5+git20180312.068218d-3) ...
+ tsort: -: input contains a loop:
+ tsort: elpa-async
+ tsort: emacsen-common
+ tsort: -: input contains a loop:
+ tsort: emacsen-common
+ tsort: elpa-helm-core
+ tsort: -: input contains a loop:
+ tsort: elpa-popup
+ tsort: emacsen-common
+ Install elpa-async for emacs
+ install/async-1.9.3: Handling install of emacsen flavor emacs
+ install/async-1.9.3: byte-compiling for emacs
+ Install elpa-popup for emacs
+ install/popup-0.5.8: Handling install of emacsen flavor emacs
+ install/popup-0.5.8: byte-compiling for emacs
+ Install emacsen-common for emacs
+ emacsen-common: Handling install of emacsen flavor emacs
+ Install elpa-helm-core for emacs
+ install/helm-core-3.8.0: Handling install of emacsen flavor emacs
+ install/helm-core-3.8.0: byte-compiling for emacs
+ Install elpa-helm for emacs
+ install/helm-3.8.0: Handling install of emacsen flavor emacs
+ install/helm-3.8.0: byte-compiling for emacs
+ Install elpa-eproject for emacs
+ install/eproject-1.5: Handling install of emacsen flavor emacs
+ install/eproject-1.5: byte-compiling for emacs
+ Setting up thunar (4.16.10-1) ...
+ Setting up context-modules (20210301-1) ...
+ Setting up remmina (1.4.25+dfsg-1ubuntu0.1) ...
+ Setting up bluefish (2.2.12-1.1build1) ...
+ Setting up remmina-plugin-rdp:amd64 (1.4.25+dfsg-1ubuntu0.1) ...
+ Setting up remmina-plugin-vnc:amd64 (1.4.25+dfsg-1ubuntu0.1) ...
+ Setting up ttf-mscorefonts-installer (3.8ubuntu2) ...
+ Setting up emacs-goodies-el (42.4) ...
+ Setting up evolution-plugin-pstimport (3.44.4-0ubuntu2) ...
+ Setting up remmina-plugin-secret:amd64 (1.4.25+dfsg-1ubuntu0.1) ...
+ Setting up thunar-volman (4.16.0-1) ...
+ Processing triggers for wine (6.0.3~repack-1) ...
+ Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
+ update-initramfs: Generating /boot/initrd.img-5.15.0-113-generic
+ Processing triggers for hicolor-icon-theme (0.17-2) ...
+ Processing triggers for dictionaries-common (1.28.14) ...
+ Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
+ Processing triggers for linux-image-5.15.0-97-generic (5.15.0-97.107) ...
+ /etc/kernel/postinst.d/initramfs-tools:
+ update-initramfs: Generating /boot/initrd.img-5.15.0-97-generic
+ /etc/kernel/postinst.d/zz-update-grub:
+ Sourcing file `/etc/default/grub'
+ Sourcing file `/etc/default/grub.d/init-select.cfg'
+ Sourcing file `/etc/default/grub.d/oem-flavour.cfg'
+ Generating grub configuration file ...
+ Found linux image: /boot/vmlinuz-5.15.0-113-generic
+ Found initrd image: /boot/initrd.img-5.15.0-113-generic
+ Found linux image: /boot/vmlinuz-5.15.0-97-generic
+ Found initrd image: /boot/initrd.img-5.15.0-97-generic
+ Found linux image: /boot/vmlinuz-5.15.0-86-generic
+ Found initrd image: /boot/initrd.img-5.15.0-86-generic
+ Found linux image: /boot/vmlinuz-5.13.0-52-generic
+ Found initrd image: /boot/initrd.img-5.13.0-52-generic
+ Found linux image: /boot/vmlinuz-5.13.0-28-generic
+ Found initrd image: /boot/initrd.img-5.13.0-28-generic
+ Found linux image: /boot/vmlinuz-5.11.0-43-generic
+ Found initrd image: /boot/initrd.img-5.11.0-43-generic
+ Found linux image: /boot/vmlinuz-5.4.0-189-generic
+ Found initrd image: /boot/initrd.img-5.4.0-189-generic
+ Found linux image: /boot/vmlinuz-5.4.0-99-generic
+ Found initrd image: /boot/initrd.img-5.4.0-99-generic
+ Found linux image: /boot/vmlinuz-5.4.0-97-generic
+ Found initrd image: /boot/initrd.img-5.4.0-97-generic
+ Found linux image: /boot/vmlinuz-5.4.0-94-generic
+ Found initrd image: /boot/initrd.img-5.4.0-94-generic
+ Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
+ Warning: os-prober will be executed to detect other bootable partitions.
+ Its output will be used to detect bootable binaries on them and create new 
boot entries.
+ Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
+ Adding boot menu entry for UEFI Firmware Settings ...
+ done
+ Processing triggers for tex-common (6.17) ...
+ Running updmap-sys. This may take some time... done.
+ Running mktexlsr /var/lib/texmf ... done.
+ Building format(s) --all.
+         This may take some time... ^[[B^[[B^[[Bdone.
+ Processing triggers for ca-certificates (20230311ubuntu0.22.04.1) ...
+ Updating certificates in /etc/ssl/certs...
+ 0 added, 0 removed; done.
+ Running hooks in /etc/ca-certificates/update.d...
+ 
+ done.
+ done.
+ Processing triggers for linux-image-5.15.0-113-generic (5.15.0-113.123) ...
+ /etc/kernel/postinst.d/initramfs-tools:
+ update-initramfs: Generating /boot/initrd.img-5.15.0-113-generic
+ /etc/kernel/postinst.d/zz-update-grub:
+ Sourcing file `/etc/default/grub'
+ Sourcing file `/etc/default/grub.d/init-select.cfg'
+ Sourcing file `/etc/default/grub.d/oem-flavour.cfg'
+ Generating grub configuration file ...
+ Found linux image: /boot/vmlinuz-5.15.0-113-generic
+ Found initrd image: /boot/initrd.img-5.15.0-113-generic
+ Found linux image: /boot/vmlinuz-5.15.0-97-generic
+ Found initrd image: /boot/initrd.img-5.15.0-97-generic
+ Found linux image: /boot/vmlinuz-5.15.0-86-generic
+ Found initrd image: /boot/initrd.img-5.15.0-86-generic
+ Found linux image: /boot/vmlinuz-5.13.0-52-generic
+ Found initrd image: /boot/initrd.img-5.13.0-52-generic
+ Found linux image: /boot/vmlinuz-5.13.0-28-generic
+ Found initrd image: /boot/initrd.img-5.13.0-28-generic
+ Found linux image: /boot/vmlinuz-5.11.0-43-generic
+ Found initrd image: /boot/initrd.img-5.11.0-43-generic
+ Found linux image: /boot/vmlinuz-5.4.0-189-generic
+ Found initrd image: /boot/initrd.img-5.4.0-189-generic
+ Found linux image: /boot/vmlinuz-5.4.0-99-generic
+ Found initrd image: /boot/initrd.img-5.4.0-99-generic
+ Found linux image: /boot/vmlinuz-5.4.0-97-generic
+ Found initrd image: /boot/initrd.img-5.4.0-97-generic
+ Found linux image: /boot/vmlinuz-5.4.0-94-generic
+ Found initrd image: /boot/initrd.img-5.4.0-94-generic
+ Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
+ Warning: os-prober will be executed to detect other bootable partitions.
+ Its output will be used to detect bootable binaries on them and create new 
boot entries.
+ Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
+ Adding boot menu entry for UEFI Firmware Settings ...
+ done
+ Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
+ Processing triggers for udev (249.11-0ubuntu3.12) ...
+ Processing triggers for libvlc-bin:amd64 (3.0.16-1build7) ...
+ Processing triggers for linux-image-5.15.0-86-generic (5.15.0-86.96) ...
+ /etc/kernel/postinst.d/initramfs-tools:
+ update-initramfs: Generating /boot/initrd.img-5.15.0-86-generic
+ /etc/kernel/postinst.d/zz-update-grub:
+ Sourcing file `/etc/default/grub'
+ Sourcing file `/etc/default/grub.d/init-select.cfg'
+ Sourcing file `/etc/default/grub.d/oem-flavour.cfg'
+ Generating grub configuration file ...
+ Found linux image: /boot/vmlinuz-5.15.0-113-generic
+ Found initrd image: /boot/initrd.img-5.15.0-113-generic
+ Found linux image: /boot/vmlinuz-5.15.0-97-generic
+ Found initrd image: /boot/initrd.img-5.15.0-97-generic
+ Found linux image: /boot/vmlinuz-5.15.0-86-generic
+ Found initrd image: /boot/initrd.img-5.15.0-86-generic
+ Found linux image: /boot/vmlinuz-5.13.0-52-generic
+ Found initrd image: /boot/initrd.img-5.13.0-52-generic
+ Found linux image: /boot/vmlinuz-5.13.0-28-generic
+ Found initrd image: /boot/initrd.img-5.13.0-28-generic
+ Found linux image: /boot/vmlinuz-5.11.0-43-generic
+ Found initrd image: /boot/initrd.img-5.11.0-43-generic
+ Found linux image: /boot/vmlinuz-5.4.0-189-generic
+ Found initrd image: /boot/initrd.img-5.4.0-189-generic
+ Found linux image: /boot/vmlinuz-5.4.0-99-generic
+ Found initrd image: /boot/initrd.img-5.4.0-99-generic
+ Found linux image: /boot/vmlinuz-5.4.0-97-generic
+ Found initrd image: /boot/initrd.img-5.4.0-97-generic
+ Found linux image: /boot/vmlinuz-5.4.0-94-generic
+ Found initrd image: /boot/initrd.img-5.4.0-94-generic
+ Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
+ Warning: os-prober will be executed to detect other bootable partitions.
+ Its output will be used to detect bootable binaries on them and create new 
boot entries.
+ Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
+ Adding boot menu entry for UEFI Firmware Settings ...
+ done
+ Processing triggers for libgdk-pixbuf-2.0-0:amd64 (2.42.8+dfsg-1ubuntu0.3) ...
+ Processing triggers for libgdk-pixbuf-2.0-0:i386 (2.42.8+dfsg-1ubuntu0.3) ...
+ Processing triggers for sgml-base (1.30) ...
+ Processing triggers for install-info (6.8-4build1) ...
+ Setting up docbook-xml (4.5-11) ...
+ Processing triggers for sgml-base (1.30) ...
+ Setting up kdoctools5 (5.92.0-0ubuntu1) ...
+ Setting up khelpcenter (4:21.12.3-0ubuntu1) ...
+ Setting up kubuntu-desktop (1.418.1) ...
+ edenvaleyoung@harbourne:~$
+ 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntu-release-upgrader-core 1:22.04.19
  ProcVersionSignature: Ubuntu 5.15.0-113.123~20.04.1-generic 5.15.152
  Uname: Linux 5.15.0-113-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CrashDB: ubuntu
  CrashReports: 640:2066:125:1001434:2024-07-15 10:35:45.730754613 
+0100:2024-07-15 10:35:46.730754613 
+0100:/var/crash/_usr_bin_kdeinit5.2066.crash
  Date: Mon Jul 15 12:13:15 2024
  InstallationDate: Installed on 2022-01-01 (926 days ago)
  InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  PackageArchitecture: all
  ProcEnviron:
-  LANGUAGE=en_GB:en
-  TERM=screen.xterm-256color
-  PATH=(custom, no user)
-  LANG=en_GB.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_GB:en
+  TERM=screen.xterm-256color
+  PATH=(custom, no user)
+  LANG=en_GB.UTF-8
+  SHELL=/bin/bash
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to jammy on 2024-07-15 (0 days ago)
  VarLogDistupgradeXorgFixuplog:
-  INFO:root:/usr/bin/do-release-upgrade running
-  INFO:root:No xorg.conf, exiting
+  INFO:root:/usr/bin/do-release-upgrade running
+  INFO:root:No xorg.conf, exiting

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2073112

Title:
  release-upgrade fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2073112/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to