/etc/apt/sources.listはhttps接続を持つURLを許可しません。

/etc/apt/sources.listはhttps接続を持つURLを許可しません。

Debian Wheezyでは、私の/etc/apt/sources.listファイルは次のようになります。

deb https://mirrors.kernel.org/debian/ wheezy main contrib non-free
deb-src https://mirrors.kernel.org/debian/ wheezy main contrib non-free

deb http://security.debian.org/debian/ wheezy main contrib non-free
deb-src http://security.debian.org/debian/ wheezy main contrib non-free

deb https://mirrors.kernel.org/debian/ wheezy-updates main contrib non-free
deb-src https://mirrors.kernel.org/debian/ wheezy-updates main contrib non-free

次の操作を行うと、次のsudo apt-get updateエラー メッセージが表示されます。

E: The method driver /usr/lib/apt/methods/https could not be found

解決策は何ですか?

ベストアンサー1

このパッケージをインストールする必要がありますapt-transport-https。パッケージをダウンロードするのではなく、パッケージを読むにはsource.listを一時的に編集する必要がありますhttphttps:

おすすめ記事