I have debian 11 (bullseye) on my system and want to install expect - but it doesn't seem to be known to apt, although it should be there according to this:
# apt-get install expect
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package expect
It may be that I have somehow corrupted my apt configuration (although I haven't knowingly touched anything); the reason I suspect this is that I decided to try to uninstall apt-file and reinstall it because it behaved strangely - now apt-get says it can't find it.
What could be the reason?