I think this is really a bug in packagekit. On 18.04 I can also trigger
this by just running pkcon get-distro-upgrades in a terminal:

Transaction:    Getting upgrades
Status:         Waiting in queue
Status:         Starting
Status:         Finished
Results:
Fatal error: Spawn of helper 
'/usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py' failed: failed to 
spawn /usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py: Failed to 
execute child process 
?/usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py?

The problem seems to be that in debian/rules this file is being deleted:

  58   │     # Ubuntu-specific, broken
  59   │     rm -f 
$(INSTALLDIR)/usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py


But it is still referenced in backends/aptcc/pk-backend-aptcc.cpp:

 287   │ /**
 288   │  * pk_backend_get_distro_upgrades:
 289   │  */
 290   │ void pk_backend_get_distro_upgrades(PkBackend *backend, PkBackendJob 
*job)
 291   │ {
 292   │     pk_backend_spawn_helper(spawn, job, "get-distro-upgrade.py", 
"get-distro-upgrades", NULL);
 293   │ }

Newer upstream versions of PackageKit (1.1.13) seem to have this file
removed - and also the reference in backends/aptcc/pk-backend-aptcc.cpp.

** Also affects: packagekit (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to packagekit in Ubuntu.
https://bugs.launchpad.net/bugs/1709699

Title:
  gpk-update-viewer fails with "Spawn of helper
  'usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py' failed ...
  (No such file or directory)"

Status in gnome-packagekit package in Ubuntu:
  Confirmed
Status in packagekit package in Ubuntu:
  New

Bug description:
  gpk-update-viewer fails with
  Spawn of helper '/usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py' 
failed: failed to spawn 
/usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py: Failed to execute 
child process “/usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py” (No 
such file or directory)

  This was detected by Robert Reinsch on a Ubuntu 17.04 system and was
  verified by me on a 17.10 daily build from 2017-08-09

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-packagekit 3.24.0-0ubuntu1
  ProcVersionSignature: Ubuntu 4.11.0-10.15-generic 4.11.8
  Uname: Linux 4.11.0-10-generic x86_64
  ApportVersion: 2.20.6-0ubuntu4
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Wed Aug  9 21:00:48 2017
  ExecutablePath: /usr/bin/gpk-update-viewer
  InstallationDate: Installed on 2017-08-09 (0 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170807)
  SourcePackage: gnome-packagekit
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to