分页: 1 / 1

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

发表于 : 2017-10-13 22:15
lu478gang
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

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

发表于 : 2017-10-14 11:41
vickycq
Ubuntu 17.04 软件源中提供了软件包 xinetd。确保您正确配置了软件源并执行了 sudo apt update 刷新软件包列表。
Ubuntu 17.04 软件源中没有软件包 inetd

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

发表于 : 2017-10-14 14:07
astolia
如果你的软件包没有直接依赖xinetd,那就不用安装它。现在早该迁移到systemd体系上了。

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

发表于 : 2017-10-14 18:08
lu478gang
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

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

发表于 : 2017-10-14 21:01
poloshiao
我的已经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
把結果直接 選取/複製 貼上來

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

发表于 : 2017-10-15 8:15
lu478gang
是以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

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

发表于 : 2017-10-15 8:23
poloshiao
然后你提供的链接 也只有最高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 套件庫 應該避免被移除 以免影響系統穩定

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

发表于 : 2017-10-15 12:54
lu478gang
poloshiao 大大 谢谢你帮忙解决了问题 并且清楚的告诉了原因 社区真好!!