Regression: packagekit crashes updating itself to a new version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
packagekit (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned | ||
plasma-discover (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Bionic: 18.04
Version: 1.1.9-1ubuntu2 upgrading itself to 1.1.9-1ubuntu2.
Updating with pkcon upgrade or plasma-discover crashes packagekit mid transaction, requiring user intervention on the command line.
In plasma-discover the gui reports the crash briefly, but then stalls in apparent mid update, requiring the user to force close it and again resolve the issue on the command line.
Example transactions:
$ pkcon update
Getting updates [======
Finished [======
Loading cache [======
Testing changes [======
Finished [ ] (0%)
The following packages have to be updated:
gir1.2-
libpackagekit-
packagekit-
packagekit-
Proceed with changes? [N/y] y
Updating packages [======
Waiting for authentication [======
Loading cache [======
Running [======
Installing packages [======
$ sudo apt-get upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
and obviously after that doing anything meaningful with packagekit like installing a package fails
$pkcon install kaffeine
Resolving [======
Testing changes [======
Finished [ ] (0%)
The following packages have to be installed:
kaffeine-
Proceed with changes? [N/y] y
Installing [======
Waiting for authentication [======
Waiting for package manager lock[==
Finished [======
Fatal error: E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
[Test case]
Upgrade packagekit using pkcon, make sure it does not "crash".
[Regression potential]
It could only lead to old packagekitd processes not restarting. packagekit will still be told to restart itself like before, the restart being added was unintended.
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: KDE
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2018-06-26 (69 days ago)
InstallationMedia: Kubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Package: packagekit 1.1.9-1ubuntu2.
PackageArchitec
ProcVersionSign
Tags: bionic
Uname: Linux 4.15.0-33-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
tags: | added: regression-update |
summary: |
- Regression: packagekit crashes updating itslef to 1.1.9-1ubuntu2.18.04.1 + Regression: packagekit crashes updating itself to 1.1.9-1ubuntu2.18.04.1 |
Changed in packagekit (Ubuntu): | |
status: | Incomplete → New |
importance: | Undecided → High |
Changed in plasma-discover (Ubuntu): | |
importance: | Undecided → Medium |
Changed in plasma-discover (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in packagekit (Ubuntu): | |
importance: | Medium → High |
summary: |
- Regression: packagekit crashes updating itself to 1.1.9-1ubuntu2.18.04.1 + Regression: packagekit crashes updating itself to a new version |
description: | updated |
Changed in plasma-discover (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in plasma-discover (Ubuntu Bionic): | |
status: | Confirmed → Fix Released |
We need a crash dump to be able to investigate this. Apport can probably help you with apport-collect 1790613 or something. Without a crash dump we don't see where it crashed and thus can't do much.