influxdb - 在 Ubuntu16.04 上安装 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) ...
然后,为了检查 influx 的版本,我运行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,没有任何问题。如何获得最新版本?
解决方案
推荐阅读
- xml - Apply-Template 仅适用于 ID 基于父子节点列表的节点
- winapi - 如何捕获菜单栏的激活?
- firebase - google_sign_in 包中的 getServerAuthToken 返回 null
- php - 如何在 Windows 中通过 PHP 运行后台进程?
- okhttp - 如何重现 OkHttp 的错误
- git - 如何使用 Git 将文件添加到现有的 Github 存储库?
- python - Python Pandas - 在特定行上添加列,将特定行从一个数据帧添加到另一个
- javascript - 如何在邮递员测试中在一个 pm.test 中使用多个 pm.expect
- sql-server - SQL Server 代理 - SSIS 步骤 - 存储配置的位置
- javascript - Vue将新项目添加到对象属性的数组中