chkconfig: command not found
程序员文章站
2022-07-12 14:00:35
...
问题描述:
在 ubuntu1~16.04.10
执行 chkconfig
命令报 chkconfig: command not found
说明此服务上没有安装 chkconfig
。执行如下命令进行安装
apt-get update
apt-get install chkconfig
但是在安装时,安装失败出现如下问题:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package chkconfig is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another sourceE: Package ‘chkconfig’ has no installation candidate
问题原因:
查询说是在 ubuntu1~16.04.10
使用 sysv-rc-conf
代替了 chkconfig
解决方法:
执行如下命令安装 sysv-rc-conf
.
apt-get update
apt-get install sysv-rc-conf
推荐阅读
-
解决Python源码编译时提示:ModuleNotFoundError: No module named ‘distutils.command‘
-
java调用sqlldr报错:Message 2100 not found
-
android Studio调试出现USB device not found怎么办?
-
解决Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-f8IeEI/MYSQL-python/
-
Postman请求后台报错:Invalid character found in method name. HTTP method names must be tokens
-
MySQL4 File ‘c:\mysql\share\charsets\?.conf’ not found (Errcode: 22)的解决方法
-
nginx安装错误:c compiler cc is not found
-
matlab中失误将command窗口关掉了该怎么办?
-
linux 执行 javac 报错 javac: command not found
-
movie not found的解决办法(iis)