【发布时间】:2019-02-24 08:48:16
【问题描述】:
如何使用合适的包管理器安装TCP Wrappers?当我运行 pkgtool 时,我可以在列表中看到 tcp_wrappers 包含在 tcp_wrappers-7.6-x86_64-1 中。我要安装它。
我尝试了下面的命令,但没有成功。
installpkg tcp_wrappers-7.6-x86_64-1.tgz
每当我运行上面的命令时,它都会说
Cannot install, file not found.
所以我导航到 /var/log/packages,其中列出了 Slackware 包的列表,我在那里找到了 tcp_wrappers-7.6-x86_64-1 文件。所以我做的是:
mv tcp_wrappers-7.6-x86_64-1 tcp_wrappers-7.6-x86_64-1.tgz
installpkg tcp_wrappers-7.6-x86_64-1.tgz
提示信息为:
Verifying package tcp_wrappers-7.6-x86_64-1.tgz
gzip : stdin : not in gzip format
Installing package tcp_wrappers-7.6-x86_64-1.tgz:
PACKAGE DESCRIPTION:
WARNING: Package has not been created with 'makepkg'
Package tcp_wrappers-7.6-x86_64-1.tgz installed.
之后,我使用下面的命令验证了 tcp_wrappers 是否已经安装,但没有成功。
rpm -q tcp_wrappers
rpm -q tcp_wrappers-7.6-x86_64-1
rpm -q tcp_wrappers-7.6-x86_64-1.tgz
它只是说:
package tcp_wrappers is not installed
package tcp_wrappers-7.6-x86_64-1 is not installed
package tcp_wrappers-7.6-x86_64-1.tgz is not installed
我该怎么办?
【问题讨论】:
-
错误信息是什么意思?
-
@itzFlubby --> 说不能安装。找不到文件。
标签: linux package package-managers slackware