在Ubuntu16.04上安装InfluxDB的问题

时间:2019-01-22 09:04:57

标签: influxdb

我正在尝试在Linux服务器上安装InfluxDB。 我运行sudo apt-get install influxdb并得到以下输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  influxdb
0 upgraded, 1 newly installed, 0 to remove and 158 not upgraded.
Need to get 0 B/3160 kB of archives.
After this operation, 14.6 MB of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package influxdb.
(Reading database ... 146447 files and directories currently installed.)
Preparing to unpack .../influxdb_0.10.0+dfsg1-1_amd64.deb ...
Unpacking influxdb (0.10.0+dfsg1-1) ...
Processing triggers for systemd (229-4ubuntu21.15) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up influxdb (0.10.0+dfsg1-1) ...
Processing triggers for systemd (229-4ubuntu21.15) ...
Processing triggers for ureadahead (0.100.0-19) ...  

然后,要检查流入的版本,我运行了influxd,并获得了版本号0.10.0。 最新版本是1.7.3。因此,我使用sudo apt-get purge --auto-remove influxdb卸载了当前安装,并​​尝试了sudo apt-get install influxdb=1.7.3并得到了以下输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '1.7.2' for 'influxdb' was not found

我不明白此安装似乎有什么问题。 为什么要为我安装以前的版本?当我在Ubuntu 18.04服务器上尝试相同的操作时,我毫无问题地获得了最新版本的InfluxDB。 如何获得最新版本?

0 个答案:

没有答案