openaustralia / morph

Take the hassle out of web scraping
https://morph.io
GNU Affero General Public License v3.0
461 stars 74 forks source link

Ansible can't provision the newrelic-infrastructure-agent due to held broken packages #1210

Open jamezpolley opened 5 years ago

jamezpolley commented 5 years ago
fatal: [173.255.208.251]: FAILED! => {
    "stdout_lines": [
        "Reading package lists...",
        "Building dependency tree...",
        "Reading state information...",
        "Some packages could not be installed. This may mean that you have",
        "requested an impossible situation or if you are using the unstable",
        "distribution that some required packages have not yet been created",
        "or been moved out of Incoming.",
        "The following information may help to resolve the situation:",
        "",
        "The following packages have unmet dependencies:",
        " newrelic-infra-integrations : Depends: nri-apache but it is not going to be installed",
        "                               Depends: nri-cassandra (>= 2.0.0) but it is not going to be installed",
        "                               Depends: nri-mysql but it is not going to be installed",
        "                               Depends: nri-nginx but it is not going to be installed",
        "                               Depends: nri-redis but it is not going to be installed"
    ],
    "stdout": "Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 newrelic-infra-integrations : Depends: nri-apache but it is not going to be installed
                               Depends: nri-cassandra (>= 2.0.0) but it is not going to be installed
                               Depends: nri-mysql but it is not going to be installed
                               Depends: nri-nginx but it is not going to be installed
                               Depends: nri-redis but it is not going to be installed
",
    "stderr_lines": [
        "E: Unable to correct problems, you have held broken packages."
    ],
    "stderr": "E: Unable to correct problems, you have held broken packages.
",
    "rc": 100,
    "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"     install 'newrelic-infra-integrations' 'newrelic-infra-rootless' 'newrelic-infra-rootless-beta'' failed: E: Unable to correct problems, you have held broken packages.
",
    "changed": false,
    "cache_updated": false,
    "cache_update_time": 1551662165
}
jamezpolley commented 5 years ago

Possibly related to #1206 - can probably fix both at the same time.