1

While running sudo apt-get update, command gives below error on linux mint 18.2 Cinnamon 32-bit:

/usr/bin/apt-get: 1: /usr/bin/apt-get: ELF: not found
/usr/bin/apt-get: 1: /usr/bin/apt-get: Syntax error: Unterminated quoted string
3

1 Answer 1

2

Your apt-get binary somehow got corrupted (“ELF” is part of the ELF signature but your kernel isn’t recognising it as such, so your shell is trying to run it as a script). You need to reinstall it:

wget https://launchpad.net/ubuntu/+source/apt/1.2.26/+build/14435269/+files/apt_1.2.26_i386.deb
sudo dpkg -i apt_1.2.26_i386.deb
1
  • Thanks Stephen! This is very helpful for me. This saved my time. May 8, 2018 at 17:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .