Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jamezpolley opened this issue Mar 4, 2019 · 1 comment

Comments

@jamezpolley
Copy link
Member

jamezpolley commented Mar 4, 2019

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
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant