lubuntu focal daily install; manually selected sda2 for /, failed

Bug #1928284 reported by Chris Guiver
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calamares (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

dpkg: error processing package man-db (--configure):
 installed man-db package post-installation script subprocess was killed by signal (Segmentation fault), core dumped
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
dpkg: error processing package desktop-file-utils (--configure):
 installed desktop-file-utils package post-installation script subprocess was killed by signal (Segmentation fault), core dumped
Errors were encountered while processing:
 man-db
 desktop-file-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Sub-process dpkg --set-selections received a segmentation fault.
E: Couldn't revert dpkg selection for approved remove/purge after an error was encountered!
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
E: Sub-process [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true received a segmentation fault.
E: Failure running hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true
2021-05-13 - 13:28:40 [6]: Python Error:
 <class 'subprocess.CalledProcessError'>
.
..
.
dpkg: error processing package man-db (--configure):
 installed man-db package post-installation script subprocess was killed by signal (Segmentation fault), core dumped
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
dpkg: error processing package desktop-file-utils (--configure):
 installed desktop-file-utils package post-installation script subprocess was killed by signal (Segmentation fault), core dumped
Errors were encountered while processing:
 man-db
 desktop-file-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Sub-process dpkg --set-selections received a segmentation fault.
E: Couldn't revert dpkg selection for approved remove/purge after an error was encountered!
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
E: Sub-process [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true received a segmentation fault.
E: Failure running hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true
 File "/usr/lib/x86_64-linux-gnu/calamares/modules/packages/main.py", line 560, in run
    run_operations(pkgman, entry)

  File "/usr/lib/x86_64-linux-gnu/calamares/modules/packages/main.py", line 479, in run_operations
    pkgman.remove(package_list)

  File "/usr/lib/x86_64-linux-gnu/calamares/modules/packages/main.py", line 261, in remove
    check_target_env_call(["apt-get", "--purge", "-q", "-y",

  File "<string>", line 68, in <module>

2021-05-13 - 13:28:40 [6]: virtual void Calamares::JobThread::run()
     Skipping non-emergency job "Shell Processes Job"
2021-05-13 - 13:28:40 [6]: virtual void Calamares::JobThread::run()
     Skipping non-emergency job "umount"
2021-05-13 - 13:28:40 [1]: ERROR: Installation failed:
2021-05-13 - 13:28:40 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
     - message: "Boost.Python error in job \"packages\"."
2021-05-13 - 13:28:40 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
     - details: "<div><strong>Command 'apt-get --purge -q -y remove ^live-* calamares-settings-lubuntu calamares hunspell-en-us zram-config cifs-utils' returned non-zero exit status 100.</strong></div><div>Reading package lists...\nBuilding dependency tree...\nReading state information...\nPackage 'live-initramfs' is not installed, so not removed\nPackage 'live-config-sysvinit' is not installed, so not removed\nPackage 'live-boot' is not installed, so not removed\nPackage 'live-boot-doc' is not installed, so not removed\nPackage 'live-boot-initramfs-tools' is not installed, so not removed\nPackage 'live-clone' is not installed, so not removed\nPackage 'live-config' is not installed, so not removed\nPackage 'live-config-doc' is not installed, so not removed\nPackage 'live-config-systemd' is not installed, so not removed\nPackage 'live-manual' is not installed, so not removed\nPackage 'live-manual-epub' is not installed, so not removed\nPackage 'live-manual-html' is not installed, so not removed\nPackage 'live-manual-odf' is not installed, so not removed\nPackage 'live-manual-pdf' is not installed, so not removed\nPackage 'live-manual-txt' is not installed, so not removed\nPackage 'live-tools' is not installed, so not removed\nPackage 'livemedia-utils' is not installed, so not removed\nPackage 'lives' is not installed, so not removed\nPackage 'lives-data' is not installed, so not removed\nPackage 'lives-plugins' is not installed, so not removed\nPackage 'livescript' is not installed, so not removed\nPackage 'live-build' is not installed, so not removed\nPackage 'live-build-cgi' is not installed, so not removed\nPackage 'livecd-rootfs' is not installed, so not removed\nThe following packages were automatically installed and are no longer required:\n finalrd localechooser-data user-setup\nUse 'sudo apt autoremove' to remove them.\nThe following packages will be REMOVED:\n calamares* calamares-settings-lubuntu* calamares-settings-ubuntu-common*\n casper* cifs-utils* hunspell-en-us* lupin-casper* zram-config*\n0 upgraded, 0 newly installed, 8 to remove and 5 not upgraded.\nAfter this operation, 12.1 MB disk space will be freed.\nE: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)\n(Reading database ... 231137 files and directories currently installed.)\nRemoving calamares-settings-lubuntu (1:20.04.2) ...\nRemoving calamares-settings-ubuntu-common (1:20.04.2) ...\nRemoving calamares (3.2.20-0ubuntu1) ...\nRemoving lupin-casper (0.57build1) ...\nRemoving casper (1.445.1) ...\nRemoving cifs-utils (2:6.9-1ubuntu0.1) ...\nRemoving hunspell-en-us (1:2018.04.16-1) ...\nRemoving zram-config (0.5) ...\nProcessing triggers for mime-support (3.64ubuntu1) ...\nProcessing triggers for hicolor-icon-theme (0.17-2) ...\nProcessing triggers for dictionaries-common (1.28.1) ...\nProcessing triggers for libc-bin (2.31-0ubuntu9.2) ...\nProcessing triggers for man-db (2.9.1-1) ...\ndpkg: error processing package man-db (--configure):\n installed man-db package post-installation script subprocess was killed by signal (Segmentation fault), core dumped\nProcessing triggers for desktop-file-utils (0.24-1ubuntu3) ...\ndpkg: error processing package desktop-file-utils (--configure):\n installed desktop-file-utils package post-installation script subprocess was killed by signal (Segmentation fault), core dumped\nErrors were encountered while processing:\n man-db\n desktop-file-utils\nE: Sub-process /usr/bin/dpkg returned an error code (1)\nE: Sub-process dpkg --set-selections received a segmentation fault.\nE: Couldn't revert dpkg selection for approved remove/purge after an error was encountered!\nE: Problem executing scripts DPkg::Post-Invoke '/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service &amp;&amp; /usr/bin/test -S /var/run/dbus/system_bus_socket &amp;&amp; /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update &gt; /dev/null; /bin/echo &gt; /dev/null'\nE: Sub-process returned an error code\nE: Sub-process [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2&gt;/dev/null || true received a segmentation fault.\nE: Failure running hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2&gt;/dev/null || true</div><div><br/>Traceback:</div><div><pre>File &quot;/usr/lib/x86_64-linux-gnu/calamares/modules/packages/main.py&quot;, line 560, in run\n run_operations(pkgman, entry)\n\n File &quot;/usr/lib/x86_64-linux-gnu/calamares/modules/packages/main.py&quot;, line 479, in run_operations\n pkgman.remove(package_list)\n\n File &quot;/usr/lib/x86_64-linux-gnu/calamares/modules/packages/main.py&quot;, line 261, in remove\n check_target_env_call([&quot;apt-get&quot;, &quot;--purge&quot;, &quot;-q&quot;, &quot;-y&quot;,\n\n File &quot;&lt;string&gt;&quot;, line 68, in &lt;module&gt;</pre></div>"

---

Lubuntu focal QA-test install (.3) to
- dell [optiplex] 755 (c2d-e8300, 8gb, amd/ati radeon rv610/radeon hd2400 pro/xt)

failed..

Manual partitioning; disk had two install (sda1 & sda2; both hirsute installs)
I selected SDA2 for "/" with option KEEP (so no format).

I expected a clean install; was intending to save the calamares session.log for comparison with a failed install, instead it failed here too???

This install was executed with `sudo -E calamares -d` which may help

(( The error message was larger than the screen size too (but different bug report) ))

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: calamares 3.2.20-0ubuntu1
ProcVersionSignature: Ubuntu 5.8.0-53.60~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-53-generic x86_64
.etc.calamares.modules.finished.conf:
 ---
 restartNowMode: user-checked
 restartNowCommand: "systemctl -i reboot"
.etc.calamares.modules.partition.conf:
 efiSystemPartition: "/boot/efi"
 enableLuksAutomatedPartitioning: true
 userSwapChoices: none
 drawNestedPartitions: true
 defaultFileSystemType: "ext4"
.etc.calamares.modules.shellprocess_logs.conf:
 ---
 dontChroot: true
 timeout: 30
 script:
     - calamares-logs-helper @@ROOT@@
.etc.calamares.modules.unpackfs.conf:
 ---
 unpack:
     - source: "/cdrom/casper/filesystem.squashfs"
         sourcefs: "squashfs"
         destination: ""
ApportVersion: 2.20.11-0ubuntu27.17
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.445.1
CurrentDesktop: LXQt
Date: Thu May 13 14:06:03 2021
LiveMediaBuild: Lubuntu 20.04.2 LTS "Focal Fossa" - Release amd64 (20210512)
RelatedPackageVersions:
 calamares-settings-ubuntu-common 1:20.04.2
 calamares-settings-lubuntu 1:20.04.2
 xfsprogs 5.3.0-1ubuntu2
 btrfs-progs 5.4.1-2
SourcePackage: calamares
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Chris Guiver (guiverc) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :

error message that appeared on screen (larger than display)

(not likely useful; more for me to grab & attach to another report on another box)

description: updated
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1928284

tags: added: iso-testing
Chris Guiver (guiverc)
description: updated
description: updated
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Focal is EOL etc etc :)

Changed in calamares (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.