ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
lu478gang
帖子: 11
注册时间: 2017-04-06 22:01
系统: win10

ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??

#1

帖子 lu478gang » 2017-10-13 22:15

ubuntu 17.04 不能安装xinetd 和inetd
有如下提示,无法安装
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xinetd 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

E: Package 'xinetd' has no installation candidate
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??

#2

帖子 vickycq » 2017-10-14 11:41

Ubuntu 17.04 软件源中提供了软件包 xinetd。确保您正确配置了软件源并执行了 sudo apt update 刷新软件包列表。
Ubuntu 17.04 软件源中没有软件包 inetd
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
astolia
论坛版主
帖子: 6396
注册时间: 2008-09-18 13:11

Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??

#3

帖子 astolia » 2017-10-14 14:07

如果你的软件包没有直接依赖xinetd,那就不用安装它。现在早该迁移到systemd体系上了。
lu478gang
帖子: 11
注册时间: 2017-04-06 22:01
系统: win10

Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??

#4

帖子 lu478gang » 2017-10-14 18:08

vickycq老大 ubuntu 17.04 确定是带有xinetd 包吗????还是已经不支持它了????请确定一下

我的已经apt update apt dist-upgrade 但还是提示不存在xinetd
apt install xinetd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xinetd 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

E: Package 'xinetd' has no installation candidate
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??

#5

帖子 poloshiao » 2017-10-14 21:01

我的已经apt update apt dist-upgrade 但还是提示不存在xinetd
1. 非 root 登入
sudo apt update
sudo apt upgrade
sudo apt full-upgrade # 選項

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade # 選項
1-1. 新手 不建議 使用 root 登入
E: Package 'xinetd' has no installation candidate
2. https://packages.ubuntu.com/search?suit ... chon=names
套件 xinetd

3. 把下面指令 複製 貼進終端機 執行
sudo cat /etc/apt/sources.list
把結果直接 選取/複製 貼上來
lu478gang
帖子: 11
注册时间: 2017-04-06 22:01
系统: win10

Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??

#6

帖子 lu478gang » 2017-10-15 8:15

是以root身份登录的(没犯这个低级错误)
然后然后情况还是没有相应的包

root@ubuntu:/home/sishuijioayang108# apt install xinetd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xinetd 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

E: Package 'xinetd' has no installation candidate

然后你提供的链接 也只有最高16.04 没有17.04支持的xinetd包 求证实 真的17.04有xinetd包吗??
这是我的源列表文件:
root@ubuntu:/home/sishuijioayang108# sudo cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.aliyun.com/ubuntu/ zesty restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.aliyun.com/ubuntu/ zesty-updates restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.aliyun.com/ubuntu/ zesty universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty universe
deb http://mirrors.aliyun.com/ubuntu/ zesty-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirrors.aliyun.com/ubuntu/ zesty multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty multiverse
deb http://mirrors.aliyun.com/ubuntu/ zesty-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirrors.aliyun.com/ubuntu/ zesty-backports restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu zesty partner
# deb-src http://archive.canonical.com/ubuntu zesty partner

deb http://mirrors.aliyun.com/ubuntu/ zesty-security restricted
# deb-src http://security.ubuntu.com/ubuntu zesty-security main restricted
deb http://mirrors.aliyun.com/ubuntu/ zesty-security universe
# deb-src http://security.ubuntu.com/ubuntu zesty-security universe
deb http://mirrors.aliyun.com/ubuntu/ zesty-security multiverse
# deb-src http://security.ubuntu.com/ubuntu zesty-security multiverse
deb http://mirrors.aliyun.com/ubuntu/ zesty restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ zesty-updates restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ zesty restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ zesty-updates restricted universe multiverse
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??

#7

帖子 poloshiao » 2017-10-15 8:23

然后你提供的链接 也只有最高16.04 没有17.04支持的xinetd包 求证实 真的17.04有xinetd包吗??
1. 看看 一樣不一樣 ?
https://packages.ubuntu.com/search?suit ... chon=names
套件 xinetd

14.04 : trusty (14.04LTS) (net): replacement for inetd with many enhancements 1:2.3.15-3ubuntu1: amd64 arm64 armhf i386 powerpc ppc64el
16.04 : xenial (16.04LTS) (net): replacement for inetd with many enhancements 1:2.3.15-6: amd64 arm64 armhf i386 powerpc ppc64el s390x
17.04 : zesty (net): replacement for inetd with many enhancements 1:2.3.15-7: amd64 arm64 armhf i386 powerpc ppc64el s390x
17.10 : artful (net): replacement for inetd with many enhancements 1:2.3.15.1-1: amd64 arm64 armhf i386 ppc64el s390x
sudo cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.aliyun.com/ubuntu/ zesty restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.aliyun.com/ubuntu/ zesty-updates restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.aliyun.com/ubuntu/ zesty universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty universe
deb http://mirrors.aliyun.com/ubuntu/ zesty-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirrors.aliyun.com/ubuntu/ zesty multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty multiverse
deb http://mirrors.aliyun.com/ubuntu/ zesty-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirrors.aliyun.com/ubuntu/ zesty-backports restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu zesty partner
# deb-src http://archive.canonical.com/ubuntu zesty partner

deb http://mirrors.aliyun.com/ubuntu/ zesty-security restricted
# deb-src http://security.ubuntu.com/ubuntu zesty-security main restricted
deb http://mirrors.aliyun.com/ubuntu/ zesty-security universe
# deb-src http://security.ubuntu.com/ubuntu zesty-security universe
deb http://mirrors.aliyun.com/ubuntu/ zesty-security multiverse
# deb-src http://security.ubuntu.com/ubuntu zesty-security multiverse
deb http://mirrors.aliyun.com/ubuntu/ zesty restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ zesty-updates restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ zesty restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ zesty-updates restricted universe multiverse
2. 為何你的 main 套件庫 都不見了 ?
deb http://mirrors.aliyun.com/ubuntu/ zesty main restricted
deb http://mirrors.aliyun.com/ubuntu/ zesty-updates main restricted
deb http://mirrors.aliyun.com/ubuntu/ zesty-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ zesty-security main restricted
2-1. 從 1. 可知 套件 xinetd 來自 main 套件庫
2-2. main 及 restricted 套件庫 應該避免被移除 以免影響系統穩定
lu478gang
帖子: 11
注册时间: 2017-04-06 22:01
系统: win10

Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??

#8

帖子 lu478gang » 2017-10-15 12:54

poloshiao 大大 谢谢你帮忙解决了问题 并且清楚的告诉了原因 社区真好!!
回复