回答:
DVDをISOにコピーしてから、マシン上のファイルシステムとして永久にマウントすることができます(変更することにより、適切にポイントします/etc/apt/sources.list)。ただし、マシンがインターネットに接続している場合、オンラインリポジトリの使用に切り替えることができます。
詳細はこちら。
しかし、ここに例があります、
/etc/apt/sources.listを編集し、内容をこれで置き換えます(これは、WheezyまたはDebian 7で機能します。以前のバージョンまたは以降のバージョンについては、上記のリンクを確認してください)。
deb http://http.debian.net/debian wheezy main contrib non-free
deb-src http://http.debian.net/debian wheezy main contrib non-free
deb http://http.debian.net/debian wheezy-updates main contrib non-free
deb-src http://http.debian.net/debian wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
次に、実行apt-get updateしてパッケージの詳細を更新します。
ここで注意が必要です。
で設定が正しくないなどの問題に対処している場合/etc/apt/sources.list、たとえばディスクが予想される場合は、ファイルを最初から書き直すことをお勧めします。
Debianでこれを行うには、https://debgen.simplylinux.ch/を使用してファイルを生成しました。
最初はsources.list、推奨どおりに参照を削除しようとしましたが、その後、パッケージを更新しようとすると、次のような他のエラーが発生しました
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution...`
または
git : Depends: liberror-perl but it is not installable
私のバージョンはsources.list
必要なパッケージソースを指していなかったので、これらは私のために出てきましたが、再生成するとsources.listこの問題が修正されました。