Hello folks,
I have installed Grafana on Linux Mint several months ago and the installation went without any problems. Now I need to install it on Ubuntu Linux 16.04.3 LTS (x86_64) on an Azure cloud virtual machine and I just can’t.
I am following this guide. I added the PGP key and the repository source, as instructed, but when I do sudo apt-get install grafana
, I get the following error:
Preparing to unpack .../grafana_4.6.1_amd64.deb ...
Unpacking grafana (4.6.1) ...
dpkg: error processing archive /var/cache/apt/archives/grafana_4.6.1_amd64.deb (--unpack):
trying to overwrite '/usr/share/grafana/conf/defaults.ini', which is also in package grafana-data 2.6.0+dfsg-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
/var/cache/apt/archives/grafana_4.6.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What does this mean and how to fix it? Is the archive corrupted or something? Can’t I install this version of Grafana on this Linux distribution?