对于堆栈溢出和linux的使用,在HC4上有一个NAS安装程序,目前正在尝试设置一个蒸汽缓存,在安装了docker之后,我试图安装网络管理器,因为它返回了错误,因此导致我掉进了一个兔子洞:
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安装网络管理器返回。
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:
#------------------------------------------------------------------------------#
# 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任何帮助或指点我的方向都将不胜感激。
发布于 2021-04-15 15:05:48
好的,它一直在混乱,问题似乎是eth0的OMV配置和网络管理器配置设置不同,所以在手动将两者设置为相同的设置之后,它就能够解决主机问题。
发布于 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主要控制非自由\
https://unix.stackexchange.com/questions/644821
复制相似问题