是以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