メソッド ドライバー /usr/lib/apt/methods/https が見つかりませんでした

メソッド ドライバー /usr/lib/apt/methods/https が見つかりませんでした

私は CHIP を持っていますが、インストールが破損していたため、それを再フラッシュする必要がありました (Jessie、サーバー (PocketCHIP イメージもありましたが、元の CHIP ではうまく動作しなかったため、サーバー イメージに移行しました)、安定版)。現在はクリーン インストールなので、をインストールしたいと思いますgit

私は先に進みました:

root@chip:~# sudo apt-get install git
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package git

更新しようとしました:

root@chip:~# sudo apt-get update
E: The method driver /usr/lib/apt/methods/https could not be found.            
N: Is the package apt-transport-https installed?

このエラーの後、インストールを試みましたapt-transport-https:

root@chip:~# sudo apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package apt-transport-https

私は以下から tarball をダウンロードして手動でビルドすることにしましたhttps://packages.debian.org/jessie/apt-transport-https:

root@chip:~/tmp/apt-1.0.9.8.5# ./configure 
configure: error: cannot run /bin/sh buildlib/config.sub

今、私は文字通り行き詰まっています。これはクリーンな新しいイメージで、apt-getHTTPS 経由では何も許可されません。apt-transport-https もインストールできません。これが私のソースです:

root@chip:~/tmp/apt-1.0.9.8.5# more /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free

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

deb http://http.debian.net/debian jessie-backports main contrib non-free
deb-src http://http.debian.net/debian jessie-backports main contrib non-free

deb http://opensource.nextthing.co/chip/debian/repo jessie main

何が間違っているのでしょうか?

答え1

手動で見つけてインストールしlibcurl3-gnutls_7.38.0-4+deb8u14_armhf.deb libapt-pkg4.12_1.0.9.8.5_armhf.debapt-transport-https_1.0.9.8.5_armhf.deb動作するようになりました。現在、HTTPS は動作していますが、更新後もリポジトリが見つかりませんが、これは別の問題のようです。

関連情報