Question

New Metrics won't install

Posted August 11, 2017 2.3k views
UbuntuMiscellaneous

I tried updating to the new metrics and this is the result.

curl -sSL https://agent.digitalocean.com/install.sh | sh
Detected Ubuntu 14.04.5 LTS…installing the DigitalOcean Agent
Reading package lists… Done
Building dependency tree
Reading state information… Done
apt-transport-https is already the newest version.
curl is already the newest version.
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies:
linux-headers-generic : Depends: linux-headers-3.13.0-126-generic but it is not going to be installed
N: Ignoring file '20auto-upgrades.ucf-dist’ in directory ’/etc/apt/apt.conf.d/’ as it has an invalid filename extension
E: Unmet dependencies. Try 'apt-get -f install’ with no packages (or specify a solution).
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1760 100 1760 0 0 21542 0 –:–:– –:–:– –:–:– 21728
OK
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run 'apt-get -f install’ to correct these:
The following packages have unmet dependencies:
linux-headers-generic : Depends: linux-headers-3.13.0-126-generic but it is not going to be installed
N: Ignoring file '20auto-upgrades.ucf-dist’ in directory ’/etc/apt/apt.conf.d/’ as it has an invalid filename extension
E: Unmet dependencies. Try 'apt-get -f install’ with no packages (or specify a solution).

Any help would be greatly appreciated. Thanks!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

As output says, did you tried running sudo apt-get -f install? Maybe it would solve the problem.

Thanks xMudrii.... that solved my problem!

Submit an Answer