![libicu67 패키지를 찾을 수 없습니다](https://linux55.com/image/208485/libicu67%20%ED%8C%A8%ED%82%A4%EC%A7%80%EB%A5%BC%20%EC%B0%BE%EC%9D%84%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.png)
deb 소스를 미러 주소로 바꾸는 경우:
deb http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb http://mirrors.aliyun.com/debian-security buster/updates main
deb-src http://mirrors.aliyun.com/debian-security buster/updates main
deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib
빌드할 때 다음과 같은 오류가 표시됩니다 Dockerfile
.
=> ERROR [ 4/15] RUN install_packages acl ca-certificates curl gzip libbsd0 libbz2-1.0 libc6 libedit2 libffi7 libgcc-s1 libgmp10 l 8.8s
------
> [ 4/15] RUN install_packages acl ca-certificates curl gzip libbsd0 libbz2-1.0 libc6 libedit2 libffi7 libgcc-s1 libgmp10 libgnutls30 libhogweed6 libicu67 libidn2-0 libldap-2.4-2 liblz4-1 liblzma5 libmd0 libncurses6 libnettle8 libp11-kit0 libpcre3 libreadline8 libsasl2-2 libsqlite3-0 libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 libzstd1 locales procps tar zlib1g:
#8 6.220 Reading package lists...
#8 6.531 Building dependency tree...
#8 6.665 E: Unable to locate package libicu67
#8 6.665 E: Unable to locate package libreadline8
#8 6.666 apt failed, retrying
#8 7.306 Reading package lists...
#8 7.609 Building dependency tree...
#8 7.731 E: Unable to locate package libicu67
#8 7.731 E: Unable to locate package libreadline8
#8 7.732 apt failed, retrying
#8 8.383 Reading package lists...
#8 8.681 Building dependency tree...
#8 8.801 E: Unable to locate package libicu67
#8 8.801 E: Unable to locate package libreadline8
왜 이런 일이 발생합니까? 이 문제를 피하려면 어떻게 해야 합니까?
답변1
귀하의 deb 소스에는 Debian Buster( oldstable
)가 표시되지만 다음을 살펴보세요.데비안 패키지 사이트, Debian Bullseye( ) 또는 Sid( ) libicu67
에서만 작동하는 것 같습니다 . 분실된 패키지stable
unstable
libreadline8
매우 비슷해 보인다.
Debian Bullseye 기반 기본 이미지를 사용하여 Docker에서 이 문제를 해결할 수 있습니다.