
나는하고 있는데 sudo apt-get -f install
다음과 같은 오류가 발생합니다. 또 다른 진행 중인 토론이 있습니다.여기. 실행 후 발생하는 오류는 apt-get -f install
다음과 같습니다.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6 libc6:i386
Suggested packages:
glibc-doc glibc-doc:i386 locales:i386
The following packages will be upgraded:
libc6 libc6:i386
2 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
733 not fully installed or removed.
Need to get 0 B/8,816 kB of archives.
After this operation, 338 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 320605 files and directories currently installed.)
Preparing to unpack .../libc6_2.21-0ubuntu4.1_amd64.deb ...
De-configuring libc6:i386 (2.21-0ubuntu4) ...
LD_LIBRARY_PATH contains the traditional /lib directory,
but not the multiarch directory /lib/x86_64-linux-gnu.
It is not safe to upgrade the C library in this situation;
please remove the /lib/directory from LD_LIBRARY_PATH and
try again.
dpkg: error processing archive /var/cache/apt/archives/libc6_2.21-0ubuntu4.1_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Preparing to unpack .../libc6_2.21-0ubuntu4.1_i386.deb ...
De-configuring libc6:amd64 (2.21-0ubuntu4) ...
LD_LIBRARY_PATH contains the traditional /lib directory,
but not the multiarch directory /lib/i386-linux-gnu.
It is not safe to upgrade the C library in this situation;
please remove the /lib/directory from LD_LIBRARY_PATH and
try again.
dpkg: error processing archive /var/cache/apt/archives/libc6_2.21-0ubuntu4.1_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.21-0ubuntu4.1_amd64.deb
/var/cache/apt/archives/libc6_2.21-0ubuntu4.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
duttasankha@sankha-PC:~$ sudo apt-get update -fmy
E: Command line option 'f' [from -fmy] is not known.
duttasankha@sankha-PC:~$ sudo apt-get update -f
E: Command line option 'f' [from -f] is not known.
또한 아직 해결되지 않고 계속 표시되는 gcc 오류가 있습니다 #error -- unsupported GNU version! gcc versions later than 4.9 are not supported!
. 나는 구글을 검색해서 해결하려고 노력하고 있지만 그 문제에 대한 우분투나 리눅스에 대해 잘 모르고 여러분의 도움이 필요합니다. 저는 지금 실시간으로 제한된 상황에 있습니다. 도움을 주시면 정말 감사하겠습니다. 도움을 주셔서 감사합니다.
답변1
이 질문에 답하기에는 너무 늦었을 수도 있지만 다른 사람들은 여전히 답을 찾고 있을 수도 있습니다.
코드를 입력하세요.
unset LD_LIBRARY_PATH
그 다음에
apt full-upgrade
그것이 효과가 있기를 바랍니다. 감사합니다