아카이브를 통해 데비안에 컬 설치

아카이브를 통해 데비안에 컬 설치

debian:9 컨테이너 이미지가 제대로 작동하도록 해야 합니다.

먼저 dockerfile이 실패했습니다.

apt-get update -y

그래서 나는 이렇게 했습니다:

RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list.d/backdoors.list
RUN rm /etc/apt/sources.list

이제 apt-get 업데이트가 제대로 작동합니다. 하지만 컬을 설치해야 하는데 계속해서 다음과 같은 결과가 나타납니다.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 curl : Depends: libcurl3 (= 7.52.1-5+deb9u10) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

패키지가 다른 저장소로 이동되었는지 확인하는 방법을 모르고 이전 소스 목록을 복원해도 작동하지 않습니다. libcurl3 설치도 시도했지만 작동하지 않았습니다.

이 문제를 해결하는 올바른 방법은 무엇입니까?

답변1

해결되었습니다.

모든 것이 아카이브로 이식되었으므로 잘못된 링크를 사용했습니다. 나는부터 시작해야한다

deb http://security.debian.org/debian-security stretch/updates main

도착하다

deb http://archive.debian.org/debian-security stretch/updates main

그런 다음 실행

apt-get update
apt-get install curl

관련 정보