/usr/lib/packagekit/packagekitd:11:pkgCache::Iterator:AcqPackageKitStatus::updateStatus:AcqPackageKitStatus::Fail:pkgAcquire::Worker::RunMessages:pkgAcquire::Worker::InFdReady
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
packagekit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
The Ubuntu Error Tracker has been receiving reports about a problem regarding packagekit. This problem was most recently seen with package version 0.8.17-
If you do not have access to the Ubuntu Error Tracker you can request it at http://
SRU INFORMATION
===============
* Impact: PackageKit immediately crashes in GetUpdateDetail()
* Test case:
- Be on a system (container, VM, or real iron) with at least one upgradeable package. If you don't have one, downgrade tzdata:
sudo apt-get install tzdata=
- Run "pkcon get-updates" to see upgradeable packages.
- Run "pkcon get-update-detail tzdata" (or for a different package).
- Current PackageKit immediately crashes (message from pkcon and systemctl status packagekit), with this fix it should survive and show some data (changelog doesn't work though).
* Regression potential: Update details are currently completely broken, so very little to regress there. As for dropping the browser plugin package: The current package stopped working long ago with current firefox; however, the package from xenial-release will still be around. All in all this shouldn't change anything visible.
* Upstream fix: https:/
* Downstream packaging change to drop browser plugin: https:/
Test packages: http://
description: | updated |
description: | updated |
description: | updated |
This is quite simple to reproduce:
$ pkcon get-updates ======= ======= =====] ======= ======= =====] ======= ======= =====] ======= ======= =====] 4.4.0.77. 83.amd64 (xenial-updates) Complete Generic Linux kernel and headers generic- 4.4.0.77. 83.amd64 (xenial-updates) Generic Linux kernel headers virtual- 4.4.0.77. 83.amd64 (xenial-updates) Transitional package. generic- 4.4.0.77. 83.amd64 (xenial-updates) Generic Linux kernel image virtual- 4.4.0.77. 83.amd64 (xenial-updates) This package will always depend on the latest minimal generic kernel image. 4.4.0.77. 83.amd64 (xenial-updates) Minimal Generic Linux kernel and headers
Getting updates [======
Loading cache [======
Querying [======
Finished [======
Bug fix linux-generic-
Bug fix linux-headers-
Bug fix linux-headers-
Bug fix linux-image-
Bug fix linux-image-
Bug fix linux-virtual-
$ pkcon get-update-detail linux-image-virtual ======= ======= =====] ======= ======= =====] ======= ======= =====]
Resolving [======
Getting update details [======
Loading cache [======
Downloading packages [ ] (0%) The daemon crashed mid-transaction!
This doesn't seem to be specific to the particular package. If I downgrade tzdata
$ sudo apt-get install tzdata= 2016d-0ubuntu0. 16.04
and query that it crashes as well:
$ pkcon get-update-detail tzdata
Downloading packages [ ] (0%) The daemon crashed mid-transaction!
0x00007ffff23ad6d5 in AcqPackageKitSt atus::updateSta tus(pkgAcquire: :ItemDesc& , int) () x86_64- linux-gnu/ packagekit- backend/ libpk_backend_ aptcc.so atus::updateSta tus(pkgAcquire: :ItemDesc& , int) () x86_64- linux-gnu/ packagekit- backend/ libpk_backend_ aptcc.so atus::Fail( pkgAcquire: :ItemDesc& ) () x86_64- linux-gnu/ packagekit- backend/ libpk_backend_ aptcc.so :Worker: :RunMessages( ) () from /usr/lib/ x86_64- linux-gnu/ libapt- pkg.so. 5.0 :Worker: :InFdReady( ) () from /usr/lib/ x86_64- linux-gnu/ libapt- pkg.so. 5.0 :RunFdsSane( fd_set* , fd_set*) () from /usr/lib/ x86_64- linux-gnu/ libapt- pkg.so. 5.0 :Run(int) () from /usr/lib/ x86_64- linux-gnu/ libapt- pkg.so. 5.0 og(AptCacheFile &, pkgAcquire&, pkgCache: :VerIterator, std::__ cxx11:: basic_string< char, std::char_ traits< char>, std::allocator< char> >) () from /usr/lib/ x86_64- linux-gnu/ packagekit- backend/ libpk_backend_ aptcc.so :emitUpdateDeta il(pkgCache: :VerIterator const&) () x86_64- linux-gnu/ packagekit- backend/ libpk_backend_ aptcc.so :emitUpdateDeta ils(PkgList const&) () x86_64- linux-gnu/ packagekit- backend/ libpk_backend_ aptcc.so
from /usr/lib/
(gdb) bt
#0 0x00007ffff23ad6d5 in AcqPackageKitSt
from /usr/lib/
#1 0x00007ffff23ad7d3 in AcqPackageKitSt
from /usr/lib/
#2 0x00007ffff1b2bd96 in pkgAcquire:
#3 0x00007ffff1b2d9dc in pkgAcquire:
#4 0x00007ffff1b2f1ba in pkgAcquire:
#5 0x00007ffff1b32dd2 in pkgAcquire:
#6 0x00007ffff23b4be1 in downloadChangel
#7 0x00007ffff23c6888 in AptIntf:
from /usr/lib/
#8 0x00007ffff23c73c5 in AptIntf:
from /usr/lib/
#9 0x00007ffff23cbffd in ?? () from /usr/lib/...