首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >软件包'upstart‘没有安装候选程序

软件包'upstart‘没有安装候选程序
EN

Unix & Linux用户
提问于 2018-05-12 19:17:19
回答 1查看 4K关注 0票数 0

当我试图在Debian 9上安装upstart时,我得到:

代码语言:javascript
复制
# 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 candidate

Debian Wiki指出:

安装非常简单。唯一必要的方案是新贵。

我的资料来源清单:

代码语言:javascript
复制
###### 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?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2018-05-12 21:10:03

Upstart在Ubuntu切换到systemd时被它的开发人员抛弃了,在Debian 9发布之前它就是从Debian移除

Debian 9中支持的init系统包括systemd、sysvinit和(小得多的) Runitfile-rcopenrc。如果您想使用systemd (这是默认的),请确保安装了systemdsystemd-sysv包;要使用sysvinit,请安装initscriptssysv-rcsysvinit-core

我建议不要尝试使用Upstart,当它被删除时,它有许多版本上的关键错误。

票数 5
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/443447

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档