When I open package updater I get the error message:

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)

I see A similar question where one answer indicates a solution on an official site. Where is the solution? I cant make any sense out of the site at all. Is there even a solution yet or are they still working on that bug?

  • 1
    Please use formatting, or at least line-breaks (if it had line breaks I'd have cleaned it up myself for you). You saw a similar question? If you've had provided a link I'd have looked and may have been able to understand what you mean by official site. I don't know your release, and suspect you've got a corrupted $PATH or have made changes to the default python causing your issues - but correct formatting of your question, your Ubuntu release & link would have made it less blind-guess.
    – guiverc
    Aug 2 '19 at 6:58
  • I do not know how to provide a link. The instructions at bottom are not clear. do i use[ ] or ( )? The first link provided by DK Bose brougt me to the same ubuntu site it is bugs.launshpad.net/ubuntu/+source/gnome-packagekit/bug/1709699 I have not found the solution and it is affecting 2 hard drives both ubuntu 18.04.2. I have not made changes to python in the spare hard drive possibly the other one, not sure though. What is a $PATH? Not sure if it is corrupted, but why would both hard drives have a corrupted $PATH? @guiverc Aug 15 '19 at 4:57
  • $PATH is an environment variable. The command echo $PATH will show the directories that are searched for commands to execute, so if altered (usually in error) some commands can seem to disappear (won't be found & errors appear). The command echo $USER will display your username etc, see help.ubuntu.com/community/EnvironmentVariables That is a shell issue, the other I suspected was python change (python --version should respond a valid 2.7 version, python3 --version a valid 3.x version for 18.04. Please add line-breaks to your error message.
    – guiverc
    Aug 15 '19 at 5:17
  • II have made no changes to $PATH and as I stated earlier I have made no changes to python either. Other than that what exactly do you mean? tThere are nmo instructions on how to provide a line break. And what is a line break? Aug 27 '19 at 2:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.