Debian のアップデートとアップグレードを行うには、CD を挿入する必要があります。 [閉じる]

Debian のアップデートとアップグレードを行うには、CD を挿入する必要があります。 [閉じる]

Debianのアップデートとアップグレードを実行するには、CDを挿入する必要があります。

これは私の/etc/apt/source.listの内容です。

#------------------------------------------------------------------------------#
#                   OFFICIAL DEBIAN REPOS                    
#------------------------------------------------------------------------------#

###### Debian Main Repos 
deb http://ftp.de.debian.org/debian/ stable main contrib non-free
deb http://ftp.de.debian.org/debian/ stable-updates main contrib non-free
deb http://security.debian.org/ stable/updates main
deb http://ftp.debian.org/debian stretch-backports main

以下は実行結果ですapt-get update && apt-get upgrade

Ign:1 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch InRelease
Ign:2 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch InRelease
Ign:3 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch InRelease
Ign:4 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch Release 
Ign:5 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch Release
Ign:6 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch Release
Hit:7 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib amd64 Packages
Ign:8 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib all Packages
Hit:9 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib Translation-en
Ign:10 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib Translation-en_GB
Hit:11 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/main amd64 Packages
Ign:12 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/main all Packages
Ign:7 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib amd64 Packages
Ign:13 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/main Translation-en_GB
Hit:14 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/main Translation-en
Ign:15 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/contrib all Packages
Hit:16 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/contrib amd64 Packages
Hit:17 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/contrib Translation-en
Ign:18 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/contrib Translation-en_GB
Hit:19 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/main amd64 Packages
Ign:20 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/main all Packages
Hit:21 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/main Translation-en
Ign:22 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/main Translation-en_GB
Ign:23 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/contrib all Packages
Hit:24 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/contrib amd64 Packages
Ign:25 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/contrib Translation-en_GB
Hit:26 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/contrib Translation-en
Ign:27 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/main all Packages
Hit:28 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/main amd64 Packages
Ign:29 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/main Translation-en_GB
Hit:30 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/main Translation-en
Ign:8 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib all Packages
Ign:10 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib Translation-en_GB
Ign:12 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/main all Packages
Hit:7 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib amd64 Packages
Ign:13 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/main Translation-en_GB
Ign:9 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib Translation-en
Ign:15 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/contrib all Packages
Ign:18 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/contrib Translation-en_GB
Ign:11 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/main amd64 Packages
Ign:20 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/main all Packages
Ign:14 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/main Translation-en
Ign:22 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/main Translation-en_GB
Ign:16 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/contrib amd64 Packages
Ign:23 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/contrib all Packages
Ign:17 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/contrib Translation-en
Ign:25 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/contrib Translation-en_GB
Ign:19 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/main amd64 Packages
Ign:27 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/main all Packages
Ign:21 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-2 20171013-13:09] stretch/main Translation-en
Ign:29 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/main Translation-en_GB
Ign:24 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/contrib amd64 Packages
Ign:8 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib all Packages
Ign:26 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/contrib Translation-en
Ign:10 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib Translation-en_GB
Ign:28 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/main amd64 Packages
Ign:12 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/main all Packages
Ign:30 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-3 20171013-13:09] stretch/main Translation-en
Ign:13 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/main Translation-en_GB
Ign:7 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib amd64 Packages
Hit:9 cdrom://[Debian GNU/Linux 9.2.1 _Stretch_ - Official amd64 DVD Binary-1 20171013-13:09] stretch/contrib Translation-en

ドイツのリポジトリを入手した場合、CDROMを挿入するように求められるのはなぜですか?

.deb ファイルをインストールしようとすると、次の出力が表示されます。

メディアの変更:「Debian GNU/Linux 9.2.1」というラベルの付いたディスクを挿入してください。 緊張- 公式amd64 DVDバイナリ-1 20171013-13:09 '

答え1

含まれている/etc/apt/sources.listすべてのファイルをもう一度確認してください。すべてコメントアウトされていることを確認してください。それから。/etc/apt/sources.list.dcdrom:apt update

関連情報