I don't understand why my apt-cache would be empty, as there is a gazillion packages installed on my system (like all Ubuntu systems). I tried installing a random program and running it thinking that it might just show temporary packages, but got the same result.
The
apt-cache show
(orapt show
) command needs an argument: the name of a package:... and many more lines
Perhaps you want
apt list
to see available packages orapt list --installed
for installed packages?