Ubuntu 20 Install Fails
misilot opened this issue · comments
Following the install directions for Ubuntu the system ends up in a dirty state, and breaks apt.
Reading package lists... Done
Building dependency tree
Reading state information... Done
pdagent is already the newest version (1.7.2).
pdagent-integrations is already the newest version (1.6.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up pdagent (1.7.2) ...
/var/lib/dpkg/info/pdagent.postinst: 61: pycompile: not found
dpkg: error processing package pdagent (--configure):
installed pdagent package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of pdagent-integrations:
pdagent-integrations depends on pdagent; however:
Package pdagent is not configured yet.
dpkg: error processing package pdagent-integrations (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
pdagent
pdagent-integrations
E: Sub-process /usr/bin/dpkg returned an error code (1)
I also tried downloading the the latest tar file and running pd-send and because of how Ubuntu 20.04LTS only comes with python3 installed at /usr/bin/python3 it fails as /usr/bin/python does not exist by design.
Thanks, and please let me know if you need any other information.
Tom
Thanks Tom, we'll look into it!
I am also finding this issue on a Ubuntu 18.04 LTS fresh install, without having installed Python 2 anywhere.
In the meantime, as a workaround, you can:
$ cd /usr/bin
$ ln -s py3clean pyclean
$ ln -s py3compile pycompile
and the installation and uninstallation works (until we fix this).
The actual runtime isn't working because it expects #!/usr/bin/env python
and that doesn't resolve.
Hello,
Just checking in on this.
Thanks!
Just checking in on this, since ubuntu 22 also has been released since. Thanks!