无法安装最新版本
Can not install last version
尝试在 docker 容器中安装 whois 应用程序(基于 Laradock)
获取输出:
root@475f4c9d3438:/var/www# apt-get install whois
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libargon2-0 libicu64
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
whois
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 34.0 kB of archives.
After this operation, 184 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 whois amd64 5.2.11 [34.0 kB]
Fetched 34.0 kB in 1s (28.1 kB/s)
Selecting previously unselected package whois.
(Reading database ... 25664 files and directories currently installed.)
Preparing to unpack .../whois_5.2.11_amd64.deb ...
Unpacking whois (5.2.11) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up whois (5.2.11) ...
但是5.2.11不是最后一个版本。我看到最后一个版本是 5.5.7 http://ftp.debian.org/debian/pool/main/w/whois/
由于您的发行版使用 ubuntu xenial 包 (Get:1 http://archive.ubuntu.com/ubuntu xenial/main
),您看到的结果是连贯的:https://packages.ubuntu.com/xenial/whois.
要使用更新的版本,您可以:
- 更改基本分布
- 尝试从源代码构建它
- 下载
whois_5.5.7_amd64.deb
文件并使用 dpkg
安装它,但您可能会遗漏一些依赖项。
尝试在 docker 容器中安装 whois 应用程序(基于 Laradock) 获取输出:
root@475f4c9d3438:/var/www# apt-get install whois
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libargon2-0 libicu64
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
whois
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 34.0 kB of archives.
After this operation, 184 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 whois amd64 5.2.11 [34.0 kB]
Fetched 34.0 kB in 1s (28.1 kB/s)
Selecting previously unselected package whois.
(Reading database ... 25664 files and directories currently installed.)
Preparing to unpack .../whois_5.2.11_amd64.deb ...
Unpacking whois (5.2.11) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up whois (5.2.11) ...
但是5.2.11不是最后一个版本。我看到最后一个版本是 5.5.7 http://ftp.debian.org/debian/pool/main/w/whois/
由于您的发行版使用 ubuntu xenial 包 (Get:1 http://archive.ubuntu.com/ubuntu xenial/main
),您看到的结果是连贯的:https://packages.ubuntu.com/xenial/whois.
要使用更新的版本,您可以:
- 更改基本分布
- 尝试从源代码构建它
- 下载
whois_5.5.7_amd64.deb
文件并使用dpkg
安装它,但您可能会遗漏一些依赖项。