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

Julian Andres Klode 1790613 at bugs.launchpad.net
Thu Oct 18 13:42:29 UTC 2018


>From release to updates:

# pkcon install packagekit
Resolving                     [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be updated:
 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

                              [=========================]         
Installing                    [=========================]         
Loading cache                 [=========================]         
Downloading packages          [=========================]         
Running                       [=========================]         
Installing packages           [===============          ] (63%)  The daemon crashed mid-transaction!


To proposed (-...18.04.3):

# pkcon install packagekit
Resolving                     [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be updated:
 apt-1.6.6.amd64        commandline package manager
 apt-utils-1.6.6.amd64  package management related utility programs
 libapt-inst2.0-1.6.6.amd64     deb package format runtime library
 libapt-pkg5.0-1.6.6.amd64      package management runtime library
 packagekit-1.1.9-1ubuntu2.18.04.3.amd64        Provides a package management service
 packagekit-tools-1.1.9-1ubuntu2.18.04.3.amd64  Provides PackageKit command-line tools
Proceed with changes? [N/y] y

                              [=========================]         
Installing                    [=========================]         
Loading cache                 [=========================]         
Downloading packages          [=========================]         
Running                       [=========================]         
Installing packages           [=========================]         
Finished                      [=========================]         


=> no crash, verified

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

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

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

Status in packagekit package in Ubuntu:
  Fix Released
Status in plasma-discover package in Ubuntu:
  Confirmed
Status in packagekit source package in Bionic:
  Fix Committed
Status in plasma-discover source package in Bionic:
  Confirmed

Bug description:
  [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%)
  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
  Proceed with changes? [N/y] y

                                [=========================]
  Updating packages             [=========================]
  Waiting for authentication    [=========================]
  Loading cache                 [=========================]
  Running                       [=========================]
  Installing packages           [====================     ] (80%)  The daemon crashed mid-transaction!

  $ 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-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                      [=========================]
  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

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



More information about the foundations-bugs mailing list