当我试图在Debian 9上安装upstart时,我得到:
# apt-get install upstart
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package upstart 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 source
However the following packages replace it:
systemd-sysv sysvinit-core
E: Package 'upstart' has no installation candidateDebian Wiki指出:
安装非常简单。唯一必要的方案是新贵。
我的资料来源清单:
###### Debian Main Repos
deb http://deb.debian.org/debian/ stable main contrib non-free
deb-src http://deb.debian.org/debian/ stable main contrib non-free
deb http://deb.debian.org/debian/ stable-updates main contrib non-free
deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free如何修复此错误并安装upstart?
发布于 2018-05-12 21:10:03
Upstart在Ubuntu切换到systemd时被它的开发人员抛弃了,在Debian 9发布之前它就是从Debian移除。
Debian 9中支持的init系统包括systemd、sysvinit和(小得多的) Runit、file-rc和openrc。如果您想使用systemd (这是默认的),请确保安装了systemd和systemd-sysv包;要使用sysvinit,请安装initscripts、sysv-rc和sysvinit-core。
我建议不要尝试使用Upstart,当它被删除时,它有许多版本上的关键错误。
https://unix.stackexchange.com/questions/443447
复制相似问题