[Bug 1899738] [NEW] installer crashed while removing packages

karlsebal 1899738 at bugs.launchpad.net
Wed Oct 14 07:02:48 UTC 2020


Public bug reported:

Installer reported a Problem while removing packages although I don't
know if that error message is accurate.

Error first occured processing triggers for initramfs-tools:

```
Oct 14 06:37:14 regolith ubiquity: Processing triggers for initramfs-tools (0.136ubuntu6) ...#015
Oct 14 06:37:14 regolith ubiquity: update-initramfs: Generating /boot/initrd.img-5.4.0-26-generic#015
Oct 14 06:37:54 regolith ubiquity: Error 24 : Write error : cannot write compressed block #015
Oct 14 06:37:54 regolith ubiquity: E: mkinitramfs failure cpio 141 lz4 -9 -l 24#015
Oct 14 06:37:54 regolith ubiquity: update-initramfs: failed for /boot/initrd.img-5.4.0-26-generic with 1.#015
Oct 14 06:37:54 regolith ubiquity: dpkg: error processing package initramfs-tools (--configure):#015
Oct 14 06:37:54 regolith ubiquity:  installed initramfs-tools package post-installation script subprocess returned error exit status 1#0
Oct 14 06:37:54 regolith ubiquity: Processing triggers for hicolor-icon-theme (0.17-2) ...#015
Oct 14 06:37:55 regolith ubiquity: Processing triggers for libc-bin (2.31-0ubuntu9) ...#015
Oct 14 06:37:55 regolith ubiquity: Processing triggers for man-db (2.9.1-1) ...#015
Oct 14 06:38:00 regolith ubiquity: Processing triggers for desktop-file-utils (0.24-1ubuntu2) ...#015
Oct 14 06:38:00 regolith ubiquity: Errors were encountered while processing:#015
Oct 14 06:38:00 regolith ubiquity:  initramfs-tools#015
```

```
Oct 14 06:50:15 regolith ubiquity: Preparing to unpack .../02-cryptsetup-initramfs_2%3a2.2.2-3ubuntu2.2_all.deb ...#015
Oct 14 06:50:15 regolith ubiquity: debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temp
Oct 14 06:50:15 regolith ubiquity: dpkg: warning: old cryptsetup-initramfs package pre-removal script subprocess returned error exit sta
Oct 14 06:50:15 regolith ubiquity: dpkg: trying script from the new package instead ...#015
Oct 14 06:50:15 regolith ubiquity: debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temp
Oct 14 06:50:15 regolith ubiquity: dpkg: error processing archive /tmp/apt-dpkg-install-62lM7r/02-cryptsetup-initramfs_2%3a2.2.2-3ubuntu
Oct 14 06:50:15 regolith ubiquity:  new cryptsetup-initramfs package pre-removal script subprocess returned error exit status 1#015
Oct 14 06:50:15 regolith ubiquity: debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temp
Oct 14 06:50:15 regolith ubiquity: dpkg: error while cleaning up:#015
Oct 14 06:50:15 regolith ubiquity:  installed cryptsetup-initramfs package post-installation script subprocess returned error exit statu
```

later on there was another exception but I doubt these incidents are
connected:

```
Oct 14 06:50:17 regolith ubiquity: Unpacking cryptsetup (2:2.2.2-3ubuntu2.2) over (2:2.2.2-3ubuntu2) ...#015
Oct 14 06:50:17 regolith /plugininstall.py: Traceback (most recent call last):
Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 367, in run
Oct 14 06:50:17 regolith /plugininstall.py:     self.update_interface()
Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/python3/dist-packages/apt/progress/base.py", line 303, in update_interface
Oct 14 06:50:17 regolith /plugininstall.py:     self.status_change(pkgname, float(percent), status_str.strip())
Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 346, in status_change
Oct 14 06:50:17 regolith /plugininstall.py:     self.db.subst(self.info, 'DESCRIPTION', status)
Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/python3/dist-packages/debconf.py", line 83, in <lambda>
Oct 14 06:50:17 regolith /plugininstall.py:     lambda *args, **kw: self.command(command, *args, **kw))
Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/python3/dist-packages/debconf.py", line 104, in command
Oct 14 06:50:17 regolith /plugininstall.py:     status = int(status)
Oct 14 06:50:17 regolith /plugininstall.py: ValueError: invalid literal for int() with base 10: ''
Oct 14 06:50:17 regolith /plugininstall.py:
```

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubiquity 20.04.15
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.445
Date: Wed Oct 14 08:50:51 2020
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz boot=casper file=/cdrom/preseed/xubuntu.seed only-ubiquity quiet nosplash ---
LiveMediaBuild: Regolith 20.04.0 1.4.1 LTS amd64 (20200511)
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal ubiquity-20.04.15 xubuntu

** Description changed:

- Error occured processing triggers for initramfs-tools:
+ Installer reported a Problem while removing packages although I don't
+ know if that error message is accurate.
+ 
+ Error first occured processing triggers for initramfs-tools:
  
  ```
  Oct 14 06:37:14 regolith ubiquity: Processing triggers for initramfs-tools (0.136ubuntu6) ...#015
  Oct 14 06:37:14 regolith ubiquity: update-initramfs: Generating /boot/initrd.img-5.4.0-26-generic#015
  Oct 14 06:37:54 regolith ubiquity: Error 24 : Write error : cannot write compressed block #015
  Oct 14 06:37:54 regolith ubiquity: E: mkinitramfs failure cpio 141 lz4 -9 -l 24#015
  Oct 14 06:37:54 regolith ubiquity: update-initramfs: failed for /boot/initrd.img-5.4.0-26-generic with 1.#015
  Oct 14 06:37:54 regolith ubiquity: dpkg: error processing package initramfs-tools (--configure):#015
  Oct 14 06:37:54 regolith ubiquity:  installed initramfs-tools package post-installation script subprocess returned error exit status 1#0
  Oct 14 06:37:54 regolith ubiquity: Processing triggers for hicolor-icon-theme (0.17-2) ...#015
  Oct 14 06:37:55 regolith ubiquity: Processing triggers for libc-bin (2.31-0ubuntu9) ...#015
  Oct 14 06:37:55 regolith ubiquity: Processing triggers for man-db (2.9.1-1) ...#015
  Oct 14 06:38:00 regolith ubiquity: Processing triggers for desktop-file-utils (0.24-1ubuntu2) ...#015
  Oct 14 06:38:00 regolith ubiquity: Errors were encountered while processing:#015
  Oct 14 06:38:00 regolith ubiquity:  initramfs-tools#015
  ```
  
- later on there was another exception but I doubt this two incidents are
+ ```
+ Oct 14 06:50:15 regolith ubiquity: Preparing to unpack .../02-cryptsetup-initramfs_2%3a2.2.2-3ubuntu2.2_all.deb ...#015
+ Oct 14 06:50:15 regolith ubiquity: debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temp
+ Oct 14 06:50:15 regolith ubiquity: dpkg: warning: old cryptsetup-initramfs package pre-removal script subprocess returned error exit sta
+ Oct 14 06:50:15 regolith ubiquity: dpkg: trying script from the new package instead ...#015
+ Oct 14 06:50:15 regolith ubiquity: debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temp
+ Oct 14 06:50:15 regolith ubiquity: dpkg: error processing archive /tmp/apt-dpkg-install-62lM7r/02-cryptsetup-initramfs_2%3a2.2.2-3ubuntu
+ Oct 14 06:50:15 regolith ubiquity:  new cryptsetup-initramfs package pre-removal script subprocess returned error exit status 1#015
+ Oct 14 06:50:15 regolith ubiquity: debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temp
+ Oct 14 06:50:15 regolith ubiquity: dpkg: error while cleaning up:#015
+ Oct 14 06:50:15 regolith ubiquity:  installed cryptsetup-initramfs package post-installation script subprocess returned error exit statu
+ ```
+ 
+ later on there was another exception but I doubt these incidents are
  connected:
  
  ```
  Oct 14 06:50:17 regolith ubiquity: Unpacking cryptsetup (2:2.2.2-3ubuntu2.2) over (2:2.2.2-3ubuntu2) ...#015
  Oct 14 06:50:17 regolith /plugininstall.py: Traceback (most recent call last):
  Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 367, in run
  Oct 14 06:50:17 regolith /plugininstall.py:     self.update_interface()
  Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/python3/dist-packages/apt/progress/base.py", line 303, in update_interface
  Oct 14 06:50:17 regolith /plugininstall.py:     self.status_change(pkgname, float(percent), status_str.strip())
  Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 346, in status_change
  Oct 14 06:50:17 regolith /plugininstall.py:     self.db.subst(self.info, 'DESCRIPTION', status)
  Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/python3/dist-packages/debconf.py", line 83, in <lambda>
  Oct 14 06:50:17 regolith /plugininstall.py:     lambda *args, **kw: self.command(command, *args, **kw))
  Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/python3/dist-packages/debconf.py", line 104, in command
  Oct 14 06:50:17 regolith /plugininstall.py:     status = int(status)
  Oct 14 06:50:17 regolith /plugininstall.py: ValueError: invalid literal for int() with base 10: ''
- Oct 14 06:50:17 regolith /plugininstall.py: 
+ Oct 14 06:50:17 regolith /plugininstall.py:
  ```
  
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubiquity 20.04.15
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.445
  Date: Wed Oct 14 08:50:51 2020
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz boot=casper file=/cdrom/preseed/xubuntu.seed only-ubiquity quiet nosplash ---
  LiveMediaBuild: Regolith 20.04.0 1.4.1 LTS amd64 (20200511)
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  installer crashed while removing packages

Status in ubiquity package in Ubuntu:
  New

Bug description:
  Installer reported a Problem while removing packages although I don't
  know if that error message is accurate.

  Error first occured processing triggers for initramfs-tools:

  ```
  Oct 14 06:37:14 regolith ubiquity: Processing triggers for initramfs-tools (0.136ubuntu6) ...#015
  Oct 14 06:37:14 regolith ubiquity: update-initramfs: Generating /boot/initrd.img-5.4.0-26-generic#015
  Oct 14 06:37:54 regolith ubiquity: Error 24 : Write error : cannot write compressed block #015
  Oct 14 06:37:54 regolith ubiquity: E: mkinitramfs failure cpio 141 lz4 -9 -l 24#015
  Oct 14 06:37:54 regolith ubiquity: update-initramfs: failed for /boot/initrd.img-5.4.0-26-generic with 1.#015
  Oct 14 06:37:54 regolith ubiquity: dpkg: error processing package initramfs-tools (--configure):#015
  Oct 14 06:37:54 regolith ubiquity:  installed initramfs-tools package post-installation script subprocess returned error exit status 1#0
  Oct 14 06:37:54 regolith ubiquity: Processing triggers for hicolor-icon-theme (0.17-2) ...#015
  Oct 14 06:37:55 regolith ubiquity: Processing triggers for libc-bin (2.31-0ubuntu9) ...#015
  Oct 14 06:37:55 regolith ubiquity: Processing triggers for man-db (2.9.1-1) ...#015
  Oct 14 06:38:00 regolith ubiquity: Processing triggers for desktop-file-utils (0.24-1ubuntu2) ...#015
  Oct 14 06:38:00 regolith ubiquity: Errors were encountered while processing:#015
  Oct 14 06:38:00 regolith ubiquity:  initramfs-tools#015
  ```

  ```
  Oct 14 06:50:15 regolith ubiquity: Preparing to unpack .../02-cryptsetup-initramfs_2%3a2.2.2-3ubuntu2.2_all.deb ...#015
  Oct 14 06:50:15 regolith ubiquity: debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temp
  Oct 14 06:50:15 regolith ubiquity: dpkg: warning: old cryptsetup-initramfs package pre-removal script subprocess returned error exit sta
  Oct 14 06:50:15 regolith ubiquity: dpkg: trying script from the new package instead ...#015
  Oct 14 06:50:15 regolith ubiquity: debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temp
  Oct 14 06:50:15 regolith ubiquity: dpkg: error processing archive /tmp/apt-dpkg-install-62lM7r/02-cryptsetup-initramfs_2%3a2.2.2-3ubuntu
  Oct 14 06:50:15 regolith ubiquity:  new cryptsetup-initramfs package pre-removal script subprocess returned error exit status 1#015
  Oct 14 06:50:15 regolith ubiquity: debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temp
  Oct 14 06:50:15 regolith ubiquity: dpkg: error while cleaning up:#015
  Oct 14 06:50:15 regolith ubiquity:  installed cryptsetup-initramfs package post-installation script subprocess returned error exit statu
  ```

  later on there was another exception but I doubt these incidents are
  connected:

  ```
  Oct 14 06:50:17 regolith ubiquity: Unpacking cryptsetup (2:2.2.2-3ubuntu2.2) over (2:2.2.2-3ubuntu2) ...#015
  Oct 14 06:50:17 regolith /plugininstall.py: Traceback (most recent call last):
  Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 367, in run
  Oct 14 06:50:17 regolith /plugininstall.py:     self.update_interface()
  Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/python3/dist-packages/apt/progress/base.py", line 303, in update_interface
  Oct 14 06:50:17 regolith /plugininstall.py:     self.status_change(pkgname, float(percent), status_str.strip())
  Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 346, in status_change
  Oct 14 06:50:17 regolith /plugininstall.py:     self.db.subst(self.info, 'DESCRIPTION', status)
  Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/python3/dist-packages/debconf.py", line 83, in <lambda>
  Oct 14 06:50:17 regolith /plugininstall.py:     lambda *args, **kw: self.command(command, *args, **kw))
  Oct 14 06:50:17 regolith /plugininstall.py:   File "/usr/lib/python3/dist-packages/debconf.py", line 104, in command
  Oct 14 06:50:17 regolith /plugininstall.py:     status = int(status)
  Oct 14 06:50:17 regolith /plugininstall.py: ValueError: invalid literal for int() with base 10: ''
  Oct 14 06:50:17 regolith /plugininstall.py:
  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubiquity 20.04.15
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.445
  Date: Wed Oct 14 08:50:51 2020
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz boot=casper file=/cdrom/preseed/xubuntu.seed only-ubiquity quiet nosplash ---
  LiveMediaBuild: Regolith 20.04.0 1.4.1 LTS amd64 (20200511)
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1899738/+subscriptions



More information about the foundations-bugs mailing list