메소드 드라이버 /usr/lib/apt/methods/https를 찾을 수 없습니다.

메소드 드라이버 /usr/lib/apt/methods/https를 찾을 수 없습니다.

CHIP이 있고 설치가 손상되어 다시 플래시해야 했습니다(Jessie, 서버(원본 CHIP과 잘 작동하지 않는 PocketCHIP 이미지도 있어서 서버 이미지로 이동했습니다), 안정). 이제 새로 설치되었으며 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.deb제대로 apt-transport-https_1.0.9.8.5_armhf.deb작동하도록 할 수 있었습니다. 이제 HTTPS가 작동하지만 업데이트 후에도 여전히 저장소를 찾을 수 없지만 이는 또 다른 질문인 것 같습니다.

관련 정보