SGTSOB
By:
SGTSOB

New Metrics won't install

August 11, 2017 306 views
Miscellaneous Ubuntu

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!

2 Answers
xMudrii August 11, 2017
Accepted Answer

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

Thanks xMudrii.... that solved my problem!

Have another answer? Share your knowledge.