I'm unable to install or update any Ubuntu package or software. When I try to run any command with
apt-get I'm getting the error below. I have tried following commands:
sudo apt-get update apt-get: symbol lookup error: apt-get: undefined symbol: _ZN11CommandLine10GetCommandEPKNS_8DispatchEjPKPKc sudo apt-get install --reinstall apt apt-get: symbol lookup error: apt-get: undefined symbol: _ZN11CommandLine10GetCommandEPKNS_8DispatchEjPKPKc
I have tried the following solution: Download apt package from apt package and try to install using dpkg:
sudo dpkg -i apt_1.0.1ubuntu2.13_amd64.deb libapt-pkg4.12_0.8.16~exp12ubuntu10.21_amd64.deb (Reading database ... 265812 files and directories currently installed.) Preparing to unpack apt_1.0.1ubuntu2.13_amd64.deb ... Unpacking apt (1.0.1ubuntu2.13) over (1.0.1ubuntu2.13) ... Preparing to unpack libapt-pkg4.12_0.8.16~exp12ubuntu10.21_amd64.deb ... Unpacking libapt-pkg4.12:amd64 (0.8.16~exp12ubuntu10.21) over (0.8.16~exp12ubuntu10.21) ... dpkg: dependency problems prevent configuration of apt: apt depends on libapt-pkg4.12 (>= 0.9.16); however: Version of libapt-pkg4.12:amd64 on system is 0.8.16~exp12ubuntu10.21. dpkg: error processing package apt (--install): dependency problems - leaving unconfigured Setting up libapt-pkg4.12:amd64 (0.8.16~exp12ubuntu10.21) ... Processing triggers for man-db (188.8.131.52-1ubuntu1) ... Processing triggers for libc-bin (2.19-0ubuntu6.7) ... Errors were encountered while processing: apt
Even when I try to reinstall Ubuntu it doesn't work.