12

So I am running Debian Testing, and I installed the command-not-found package, because I just love that functionality in Ubuntu. So I installed it, and when I restarted my terminal, it said I needed to update the cache for the available packages. So I did. I tried the following commands:

sudo update-command-not-found
sudo /usr/sbin/command-not-found
su and update-command-not-found
su and /usr/sbin/update-command-not-found

But it just exits and does nothing. No output. Just nothing. I try it and it says I need to update the cache again.

1 Answer 1

14

Try a sudo apt update or similar first, even if it should be up to date.

Helped in my case.

0

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.