when I issue the apt-get command I receive the following error message:
apt-get: relocation error: /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0: symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
I run Ubuntu 14.04 on a 64 bit machine.
I am aware of a similar question: apt: relocation error: version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
but none of the advice given there works for me. I have tried several variants of apt-get, like apt-get clean , but I always receive the aforementioned error.
I have also tried
wget http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.2_amd64.deb
but receive the following error message
Connecting to security.ubuntu.com (security.ubuntu.com)|91.189.91.26|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
ERROR 404: Not Found.
How can I fix things?
libstdc++6
for 16.04 ... May be your corruptapt-get
also is from an Ubuntu 16.04 package ? ... Definitely not supposed to work.