ubiquity crash on whoopsie removal, Xubuntu 21.04 minimal install

Bug #1907956 reported by Sean Davis
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Invalid
Undecided
Unassigned
Hirsute
Invalid
Undecided
Unassigned
whoopsie (Ubuntu)
Fix Released
High
Unassigned
Hirsute
Fix Released
High
Unassigned

Bug Description

Xubuntu hirsute 20201213 minimal install crashed on whoopsie removal but finished installing. This is 1907951 with hopefully more crash information.

Related logs identified:
Dec 13 12:37:05 xubuntu ubiquity: Purging configuration files for whoopsie (0.2.73) ...
Dec 13 12:37:05 xubuntu ubiquity: #015
Dec 13 12:37:05 xubuntu ubiquity: Running in chroot, ignoring command 'daemon-reload'#015
Dec 13 12:37:05 xubuntu ubiquity: message repeated 2 times: [ Running in chroot, ignoring command 'daemon-reload'#015]
Dec 13 12:37:05 xubuntu ubiquity: rm:
Dec 13 12:37:05 xubuntu ubiquity: cannot remove '/var/lib/whoopsie/whoopsie-id'
Dec 13 12:37:05 xubuntu ubiquity: : No such file or directory
Dec 13 12:37:05 xubuntu ubiquity: #015
Dec 13 12:37:05 xubuntu ubiquity: dpkg: error processing package whoopsie (--purge):
Dec 13 12:37:05 xubuntu ubiquity: #015
Dec 13 12:37:05 xubuntu ubiquity: installed whoopsie package post-removal script subprocess returned error exit status 1
Dec 13 12:37:05 xubuntu ubiquity: #015

Looks like it's a bug in the postrm script:
#! /bin/sh

set -e

#DEBHELPER#

if [ "$1" = "purge" ]; then
        deluser --quiet --system whoopsie > /dev/null || true
        chmod g-s /var/crash >/dev/null 2>&1
        chgrp root /var/crash >/dev/null 2>&1
        rm /var/lib/whoopsie/whoopsie-id >/dev/null
fi

exit 0

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: ubiquity 21.04.3
ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
Uname: Linux 5.8.0-25-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu55
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.456
Date: Sun Dec 13 07:40:33 2020
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/xubuntu.seed maybe-ubiquity quiet splash ---
LiveMediaBuild: Xubuntu 21.04 "Hirsute Hippo" - Alpha amd64 (20201213)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
RebootRequiredPkgs:
 linux-image-5.8.0-25-generic
 linux-base
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Sean Davis (bluesabre) wrote :
description: updated
Sean Davis (bluesabre)
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/1907956

tags: added: iso-testing
tags: added: rls-hh-incoming
tags: added: fr-1018
tags: removed: rls-hh-incoming
Changed in whoopsie (Ubuntu Hirsute):
importance: Undecided → High
Revision history for this message
Brian Murray (brian-murray) wrote :

Incidentally, why are apport-gtk and whoopsie being removed? I'd think crash reporting would be useful.

https://git.launchpad.net/~xubuntu-dev/ubuntu-seeds/+git/xubuntu/commit/?id=c6d4cd2e0a24a5114dfe1cb8554d99ca91630a91

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package whoopsie - 0.2.74

---------------
whoopsie (0.2.74) hirsute; urgency=medium

  * adding force flag to rm command in postrm script in case whoopsie-id
    does not yet exist when the package is removed (LP: #1907956)

 -- William 'jawn-smith' Wilson <email address hidden> Fri, 22 Jan 2021 15:22:46 -0600

Changed in whoopsie (Ubuntu Hirsute):
status: New → Fix Released
Changed in ubiquity (Ubuntu Hirsute):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.