I am running ubuntu 19.04 (disco) in the latest VirtualBox and all was running fine until I tried to upgrade LBLIBCXX_3.4.21
to fix the error below. I used dpkg
to force install lib64stdc++6_9.1.0-2ubuntu2_19.04_i386.deb
. Then after reading it complain about gcc-9-base
being out of date, I tried apt install gcc-9-base
that only returns the following error message.
ImportError: /lib/x86_64-linux-gnu/libapt-pkg.so.5.0: symbol _ZTVNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
I tried the following suggestions but could not find a solution: https://askubuntu.com/questions/777803/apt-relocation-error-version-glibcxx-3-4-21-not-defined-in-file-libstdc-so-6
What do I need to do to get apt install
working again?