All;
I recently installed Graphite/Carbon/Whisper on a Ubuntu 14 host. Now I’m trying to install Grafana, but I’ve had no success. From the Grafana docs I did the following:
APT Repository
Add the following line to your /etc/apt/sources.list file.
deb https://packagecloud.io/grafana/stable/debian/ jessie main
Then add the Package Cloud key. This allows you to install signed packages.
$ curl https://packagecloud.io/gpg.key | sudo apt-key add -
Update your Apt repositories and install Grafana
apt-get update
apt-get install grafana
However, this is what I am getting:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
grafana
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/45.9 MB of archives.
After this operation, 135 MB of additional disk space will be used.
Selecting previously unselected package grafana.
(Reading database … 197819 files and directories currently installed.)
Preparing to unpack …/grafana_4.2.0_amd64.deb …
Unpacking grafana (4.2.0) …
Processing triggers for ureadahead (0.100.0-16) …
Setting up grafana (4.2.0) …
chown: cannot access ‘/etc/grafana/*’: No such file or directory
dpkg: error processing package grafana (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
grafana
E: Sub-process /usr/bin/dpkg returned an error code (1)
As far as I can tell, this is what it does:
Creates the following
/usr/share/grafana
/usr/sbin/grafana-server
/var/log/grafana
/var/lib/grafana
Does not create the following
/etc/init.d/grafana-server
/etc/default/grafana-server
/etc/grafana/grafana.ini
/var/lib/grafana/grafana.db
Can anyone shed some light on what I am doing wrong? Any help at all on getting this working would be GREATLY appreciated.
Thanks;
Frank