首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Debian HC4 NAS无法解析任何主机

Debian HC4 NAS无法解析任何主机
EN

Unix & Linux用户
提问于 2021-04-13 04:59:11
回答 2查看 216关注 0票数 0

对于堆栈溢出和linux的使用,在HC4上有一个NAS安装程序,目前正在尝试设置一个蒸汽缓存,在安装了docker之后,我试图安装网络管理器,因为它返回了错误,因此导致我掉进了一个兔子洞:

代码语言:javascript
复制
W: Failed to fetch http://deb.debian.org/debian/dists/stable/InRelease  Could not resolve 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease  Could not resolve 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian-security/dists/buster/updates/InRelease  Could not resolve 'deb.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/buster-backports/InRelease  Could not resolve 'ftp.debian.org'
W: Failed to fetch https://download.docker.com/linux/debian/dists/buster/InRelease  Could not resolve 'download.docker.com'
W: Failed to fetch http://packages.openmediavault.org/public/dists/erasmus/InRelease  Could not resolve 'packages.openmediavault.org'
W: Failed to fetch https://openmediavault-plugin-developers.github.io/packages/debian/dists/usul/InRelease  Could not resolve 'openmediavault-plugin-developers.github.io'
W: Failed to fetch http://packages.openmediavault.org/public/dists/usul/InRelease  Could not resolve 'packages.openmediavault.org'
W: Failed to fetch http://ppa.linuxfactory.or.kr/dists/buster/InRelease  Could not resolve 'ppa.linuxfactory.or.kr'
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (stable/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/docker.list:1
W: Target Translations (stable/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/docker.list:1
W: Target Packages (stable/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/docker.list:1 and /etc/apt/sources.list.d/omvextras.list:2
W: Target Packages (stable/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/omvextras.list:2
W: Target Translations (stable/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/omvextras.list:2

现在,我得到了apt-get更新的这些错误,apt-get安装网络管理器返回。

代码语言:javascript
复制
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package network-manager 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 'network-manager' has no installation candidate

因为我经常搞砸这件事,下面是我的sources.list:

代码语言:javascript
复制
#------------------------------------------------------------------------------#
#                   OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#

###### Debian Main Repos
deb http://deb.debian.org/debian stable main
deb-src http://deb.debian.org/debian stable main

deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main

deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main

deb http://ftp.debian.org/debian buster-backports main
deb-src http://ftp.debian.org/debian buster-backports main

#------------------------------------------------------------------------------#
#                      UNOFFICIAL  REPOS
#------------------------------------------------------------------------------#

###### 3rd Party Binary Repos
###Docker CE
deb [arch=amd64] https://download.docker.com/linux/debian buster stable

###openmediavault
deb http://packages.openmediavault.org/public erasmus main
deb-src http://packages.openmediavault.org/public erasmus main

任何帮助或指点我的方向都将不胜感激。

EN

回答 2

Unix & Linux用户

回答已采纳

发布于 2021-04-15 15:05:48

好的,它一直在混乱,问题似乎是eth0的OMV配置和网络管理器配置设置不同,所以在手动将两者设置为相同的设置之后,它就能够解决主机问题。

票数 0
EN

Unix & Linux用户

发布于 2021-04-14 05:41:16

下面是debian buster的office debian存储库的一个示例:

deb http://ftp.debian.org/debian除尘器主减震器不自由

deb http://ftp.debian.org/debian破坏者-更新主要控制非免费

deb http://security.debian.org破坏者/更新主要的非自由控制

deb http://ftp.debian.org/debian破坏者-支持主要的非自由的控制

deb-src型http://ftp.debian.org/debian除尘器主控制不自由

deb-src http://ftp.debian.org/debian破坏者-更新主要控制非免费

deb-src http://security.debian.org破坏者/更新主要的非自由控制

deb-src http://ftp.debian.org/debian buster-backports主要控制非自由\

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

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

复制
相关文章

相似问题

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