Skip to content

"ImportError: No module named pdagent.config" on apt-get install on Ubuntu 14 #158

@dseravalli

Description

@dseravalli

Ubuntu 14.04.6 and Python 2.7.16

sudo apt-get install pdagent pdagent-integrations results in:

Starting: pdagentTraceback (most recent call last):
  File "/usr/share/pdagent/bin/pdagentd.py", line 81, in <module>
    import pdagent.config
ImportError: No module named pdagent.config
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: error processing package pdagent (--configure):
 subprocess installed post-installation script returned error exit status 1
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
Errors were encountered while processing:
 pdagent
 pdagent-integrations
E: Sub-process /usr/bin/dpkg returned an error code (1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions