Each time I execute apt-get update, my terminal closes unexpectedly in the middle of the execution. I think that happened because my /var/cache/apt/archives file was removed.

Is it possible to "reinstall" apt-get or reset it?



Try sudo apt-get install -f (fix broken).

If that does not work, reinstall it with sudo dpkg -i package_name.

You can download apt here: http://packages.ubuntu.com/trusty/apt.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.