Debian Jessieにlibssl-devをインストールしようとすると、apt-get installはサーバーに接続しません。

Debian Jessieにlibssl-devをインストールしようとすると、apt-get installはサーバーに接続しません。

このコマンドをrootとして実行します。

apt-get install libssl-dev

応答は次のとおりです。

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libssl-doc libssl1.0.0 zlib1g-dev
The following NEW packages will be installed:
  libssl-dev libssl-doc zlib1g-dev
The following packages will be upgraded:
  libssl1.0.0
1 upgraded, 3 newly installed, 0 to remove and 129 not upgraded.
Need to get 3,656 kB of archives.
After this operation, 8,570 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
0% [Connecting to security.debian.org (2607:ea00:101:3c0b::1deb:215)] [Connecting to ftp.us.debian.org (2610:148:1f10:3::89)]

それでは何も起こりません。問題はバランスに依存します。サーバーからpingを送信できるので、間違いなくインターネットに接続しています。

これは私のsources.listファイルです:

deb http://ftp.us.debian.org/debian/ jessie main contrib
deb-src http://ftp.us.debian.org/debian/ jessie main

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

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main
deb-src http://ftp.us.debian.org/debian/ jessie-updates main

deb http://www.deb-multimedia.org jessie main non-free
deb-src http://www.deb-multimedia.org jessie main non-free

deb http://packages.linuxmint.com debian import

編集#1 最近、IO::Socket::SSLcpanmを介してPerlモジュールをインストールしました。これが影響を与えるかどうかは疑問ですが、念のためこの点を記録してください。

編集#2 問題が発見されました。これはルータの設定の問題です。https://superuser.com/questions/1174054/cant-ping-ipv6-server-on-internet-from-debian-running-on-virtualbox/1174093#1174093

ベストアンサー1

強制apt-getIPv4:

apt-get install -o Acquire::ForceIPv4=true libssl-dev

永久に設定:

echo 'Acquire::ForceIPv4 "true";' > /etc/apt/apt.conf.d/42ipv4

おすすめ記事