[Bug 1790613] Re: Regression: packagekit crashes updating itself to a new version

Julian Andres Klode 1790613 at bugs.launchpad.net
Mon Oct 15 13:36:37 UTC 2018


** Description changed:

+ [Impact]
  Bionic: 18.04
  Version: 1.1.9-1ubuntu2 upgrading itself to 1.1.9-1ubuntu2.18.04.1
  
  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%)  
+ Getting updates               [=========================]
+ Finished                      [=========================]
+ Loading cache                 [=========================]
+ Testing changes               [=========================]
+ Finished                      [                         ] (0%)
  The following packages have to be updated:
-  gir1.2-packagekitglib-1.0-1.1.9-1ubuntu2.18.04.1.amd64 GObject introspection data for the PackageKit GLib library
-  libpackagekit-glib2-18-1.1.9-1ubuntu2.18.04.1.amd64    Library for accessing PackageKit using GLib
-  packagekit-1.1.9-1ubuntu2.18.04.1.amd64        Provides a package management service
-  packagekit-tools-1.1.9-1ubuntu2.18.04.1.amd64  Provides PackageKit command-line tools
+  gir1.2-packagekitglib-1.0-1.1.9-1ubuntu2.18.04.1.amd64 GObject introspection data for the PackageKit GLib library
+  libpackagekit-glib2-18-1.1.9-1ubuntu2.18.04.1.amd64    Library for accessing PackageKit using GLib
+  packagekit-1.1.9-1ubuntu2.18.04.1.amd64        Provides a package management service
+  packagekit-tools-1.1.9-1ubuntu2.18.04.1.amd64  Provides PackageKit command-line tools
  Proceed with changes? [N/y] y
  
-                               [=========================]         
- Updating packages             [=========================]         
- Waiting for authentication    [=========================]         
- Loading cache                 [=========================]         
- Running                       [=========================]         
+                               [=========================]
+ Updating packages             [=========================]
+ Waiting for authentication    [=========================]
+ Loading cache                 [=========================]
+ Running                       [=========================]
  Installing packages           [====================     ] (80%)  The daemon crashed mid-transaction!
  
- $ sudo apt-get upgrade 
+ $ 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%)  
+ Resolving                     [=========================]
+ Testing changes               [=========================]
+ Finished                      [                         ] (0%)
  The following packages have to be installed:
-  kaffeine-2.0.14-1.amd64        versatile media player for KDE
+  kaffeine-2.0.14-1.amd64        versatile media player for KDE
  Proceed with changes? [N/y] y
  
-                               [=========================]         
- Installing                    [=========================]         
- Waiting for authentication    [=========================]         
- Waiting for package manager lock[=========================]         
- Finished                      [=========================]         
+                               [=========================]
+ 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.18.04.1
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
  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

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

Title:
  Regression: packagekit crashes updating itself to a new version

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




More information about the kubuntu-bugs mailing list