
안녕하세요, 서버폴트 커뮤니티입니다!
Debian Buster apt로 업그레이드한 후에는 어떤 식으로든 작동하지 않는 것 같습니다. 여러 가지 솔루션을 읽고 시도했지만 이들 중 어느 것도 효과가 없었습니다.
패키지를 설치하거나 실행하려고 하면 출력됩니다.적절한 dist-업그레이드:
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
busybox : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is installed
libnih1 : Depends: libc6 (> 2.28) but 2.24-11+deb9u4 is installed
locales : Depends: libc-bin (> 2.28) but 2.24-11+deb9u4 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
이제 언제apt-get --fix-broken 설치실행됩니다:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gnupg-l10n libzstd1 php-mysql php-phpseclib
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
libc-bin libc6
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc-bin libc6
2 upgraded, 0 newly installed, 0 to remove and 183 not upgraded.
6 not fully installed or removed.
Need to get 0 B/3656 kB of archives.
After this operation, 1821 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 35641 files and directories currently installed.)
Preparing to unpack .../libc6_2.28-10_amd64.deb ...
dpkg: error processing archive /var/cache/apt/archives/libc6_2.28-10_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.28-10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
그 사이에 다음과 같은 블루 스크린이 나타납니다.
Kernel must be upgraded
This version of the GNU libc requries kernel version 3.2 or later. Please upgrade your kernel before installing glibc.
재미있는 점은 위의 오류로 인해 apt dist-upgrade가 작동하지 않아 커널을 업데이트할 수 없다는 것입니다.
적절한 정책 libc6보고:
libc6:
Installed: 2.24-11+deb9u4
Candidate: 2.28-10
Version table:
2.28-10 500
500 http://httpredir.debian.org/debian buster/main amd64 Packages
*** 2.24-11+deb9u4 100
100 /var/lib/dpkg/status
apt-get install --libc6 재설치
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (< 2.25) but 2.28-10 is to be installed
locales : Depends: libc-bin (> 2.28) but 2.24-11+deb9u4 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
적절한 캐시 정책
Package files:
100 /var/lib/dpkg/status
release a=now
100 http://deb.debian.org/debian buster-backports/main amd64 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=amd64
origin deb.debian.org
500 http://security.debian.org buster/updates/non-free amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=amd64
origin security.debian.org
500 http://security.debian.org buster/updates/main amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 http://httpredir.debian.org/debian buster-updates/non-free amd64 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=non-free,b=amd64
origin httpredir.debian.org
500 http://httpredir.debian.org/debian buster-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=amd64
origin httpredir.debian.org
500 http://httpredir.debian.org/debian buster/non-free amd64 Packages
release v=10.6,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64
origin httpredir.debian.org
500 http://httpredir.debian.org/debian buster/contrib amd64 Packages
release v=10.6,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64
origin httpredir.debian.org
500 http://httpredir.debian.org/debian buster/main amd64 Packages
release v=10.6,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64
origin httpredir.debian.org
uname -a
Linux 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64 GNU/Linux
패키지(예: libc6) 제거도 작동하지 않으며 위의 오류가 반환됩니다. 적절한 자동 청소도 도움이 되지 않습니다.
어떻게 다시 일할 수 있게 될까요?