1

If I am not mistaken I tried to upgrade apt to a higher version quite a while ago, but that didn't work out.
I did however try to run apt get again, but now apt fails.

apt: symbol lookup error: apt: undefined symbol: _ZN11CommandLine10GetCommandEPKNS_8DispatchEjPKPKc


apt-get: symbol lookup error: apt-get: undefined symbol: _ZN11CommandLine10GetCommandEPKNS_8DispatchEjPKPKc  

This breaks my letsencrypt update script, and basically frustrating.
I was looking online but all I find is more and more dependencies that fail to install due to other dependencies mismatches, and an overall of 404 file not found on the web for these packages. I am not an expert but I did understand that maybe using wget, dpkg may be of some use.

This is how my days look now:

sudo dpkg -i apt_1.2.29ubuntu0.1_amd64.deb
[sudo] password for teddy:
(Reading database ... 81475 files and directories currently installed.)
Preparing to unpack apt_1.2.29ubuntu0.1_amd64.deb ...
Unpacking apt (1.2.29ubuntu0.1) over (1.0.1ubuntu2.24) ...
dpkg: dependency problems prevent configuration of apt:
 apt depends on libapt-pkg5.0 (>= 1.2.29ubuntu0.1); however:
  Version of libapt-pkg5.0:amd64 on system is 1.2.29.
 apt depends on libstdc++6 (>= 5.2); however:
  Package libstdc++6:amd64 is not configured yet.

dpkg: error processing package apt (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 apt

I have no idea how to completely revert back to my original apt version just to make things work back again. Any help would be appreciated.

Ted
  • 995

0 Answers0