当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 8 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??
帖子发表于 : 2017-10-13 22:15 

注册: 2017-04-06 22:01
帖子: 11
系统: win10
送出感谢: 1
接收感谢: 0 次
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


页首
 用户资料  
 
2 楼 
 文章标题 : Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??
帖子发表于 : 2017-10-14 11:41 
头像

注册: 2011-03-20 13:12
帖子: 4552
地址: 山东省寿光县
系统: Debian
送出感谢: 106
接收感谢: 1009
Ubuntu 17.04 软件源中提供了软件包 xinetd。确保您正确配置了软件源并执行了 sudo apt update 刷新软件包列表。
Ubuntu 17.04 软件源中没有软件包 inetd


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
3 楼 
 文章标题 : Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??
帖子发表于 : 2017-10-14 14:07 
头像

注册: 2008-09-18 13:11
帖子: 2910
送出感谢: 1
接收感谢: 482
如果你的软件包没有直接依赖xinetd,那就不用安装它。现在早该迁移到systemd体系上了。


页首
 用户资料  
 
4 楼 
 文章标题 : Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??
帖子发表于 : 2017-10-14 18:08 

注册: 2017-04-06 22:01
帖子: 11
系统: win10
送出感谢: 1
接收感谢: 0 次
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


页首
 用户资料  
 
5 楼 
 文章标题 : Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??
帖子发表于 : 2017-10-14 21:01 

注册: 2009-08-04 16:33
帖子: 17774
送出感谢: 21
接收感谢: 1911
引用:
我的已经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
把結果直接 選取/複製 貼上來


页首
 用户资料  
 
6 楼 
 文章标题 : Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??
帖子发表于 : 2017-10-15 8:15 

注册: 2017-04-06 22:01
帖子: 11
系统: win10
送出感谢: 1
接收感谢: 0 次
是以root身份登录的(没犯这个低级错误)
然后然后情况还是没有相应的包

[email protected]:/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包吗??
这是我的源列表文件:
[email protected]:/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


页首
 用户资料  
 
7 楼 
 文章标题 : Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??
帖子发表于 : 2017-10-15 8:23 

注册: 2009-08-04 16:33
帖子: 17774
送出感谢: 21
接收感谢: 1911
引用:
然后你提供的链接 也只有最高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 套件庫 應該避免被移除 以免影響系統穩定



_________________
评价: 3.7% lu478gang
 
页首
 用户资料  
 
8 楼 
 文章标题 : Re: ubuntu 17.04 不能安装xinetd 和inetd是什么缘故??
帖子发表于 : 2017-10-15 12:54 

注册: 2017-04-06 22:01
帖子: 11
系统: win10
送出感谢: 1
接收感谢: 0 次
poloshiao 大大 谢谢你帮忙解决了问题 并且清楚的告诉了原因 社区真好!!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 8 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译