symbol lookup error: apt-get: undefined symbol:

For my own documentation I repost this stackoverflow. I’m using ubuntu 14.04 in this case.

Suddenly after I wrongly downgraded my libapt version, everytime we do the apt or apt-get it replied with symbol lookup error: apt-get: undefined symbol.

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

Then how to resolved it :

Try this first :

sudo apt-get install --reinstall apt

I tried it myself, no risk to your system.

If it doesn’t work, you’ll have to get the package from http://packages.ubuntu.com/.

Choose the good one for your distribution. And install it with dpkg :

sudo dpkg -i apt_#version#.deb

Everything should work fine but I didn’t have tested this.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s