I am very new to linux. When trying to install any software with apt, i get the error
apt-get: error while loading shared libraries: libapt-pkg.so.4.12: cannot open shared object file: No such file or directory
I think the problem is that one of apt dependencies libapt-pkg.so.4.12 doesn't exist.
When i type dpkg -l
i can see that i have libapt-pkg5.0:amd64. Is this a newer version of what apt needs?
How can i make apt to use the right package version?
Thanks!
libapt-pkg.so.4.12
is a package fortrusty i.e Ubuntu 14.04
. For Ubuntu 17.10libapt-pkg5.0
is the right package. Can you tell us when this problem started to appear? That is to say, do you know what caused the apt to break down? – Manish Kumar Bisht Oct 28 '17 at 06:51