首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我正在尝试使用apt更新更新Debian Bullseye包

我正在尝试使用apt更新更新Debian Bullseye包
EN

Unix & Linux用户
提问于 2021-05-28 21:47:09
回答 1查看 1.4K关注 0票数 -1

当我输入以下内容时,我得到了这个

代码语言:javascript
复制
jerry@debian:~$ sudo apt update 
[sudo] password for jerry:          
Ign:1 cdrom://[Debian GNU/Linux bullseye-DI-rc1 _Bullseye_ - Unofficial amd64 DVD Binary-1 with firmware 20210415-20:27] bullseye InRelease
Err:2 cdrom://[Debian GNU/Linux bullseye-DI-rc1 _Bullseye_ - Unofficial amd64 DVD Binary-1 with firmware 20210415-20:27] bullseye Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Get:3 http://deb.debian.org/debian bullseye InRelease [146 kB]
Hit:4 https://dl.winehq.org/wine-builds/debian bullseye InRelease          
Hit:5 http://security.debian.org/debian-security bullseye-security InRelease
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux bullseye-DI-rc1 _Bullseye_ - Unofficial amd64 DVD Binary-1 with firmware 20210415-20:27] bullseye Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:4
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/wine.list:1 and /etc/apt/sources.list.d/wine.list:5
jerry@debian:~$ 
EN

回答 1

Unix & Linux用户

发布于 2021-05-28 22:40:23

注释或删除/etc/apt/sources.list顶部的D1行,以消除错误消息,并删除/etc/apt/sources.list.d/wine.list中的所有重复条目,以消除警告消息。

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

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

复制
相关文章

相似问题

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