4

my system arch is amd64, i installed i386 as foreign arch and ran sudo apt dist-upgrade but after it finished, i keep getting this error while using apt:

apt-get: relocation error: /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0: symbol ZN3URIcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time reference

even when i use aptitude:

aptitude: relocation error: aptitude: symbol ZN3URIcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time reference

any solution?

5

This is bug #911090. To work around it, you need to ensure that the apt and libapt-pkg5.0 packages are kept in sync; you might need to download them manually starting with the links at the top of this page. I’m not sure there’s a fix for aptitude yet.

  • thanks, i downloaded this file but still don't know how to manualy install it, could you help? – Faramarz Oct 20 '18 at 11:58
  • dpkg -i apt_1.7.0_amd64.deb as root. – Stephen Kitt Oct 20 '18 at 12:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.