Article 53CX2 Empty cache not filled with apt-get update

Empty cache not filled with apt-get update

by
berndbausch
from LinuxQuestions.org on (#53CX2)
I am missing something here, but what?

I want to find a file in my Debian repos. These are repos in a closed environment, not the usual internet repos.
Code:# apt-file search -x /ar$
Finding relevant cache files to search ...E: The cache is empty. You need to run "apt-file update" first.
# apt-file update
... lots of lines, all starting with Ign ...
# apt-file search -x /ar$
Finding relevant cache files to search ...E: The cache is empty. You need to run "apt-file update" first.Same with apt-get update.
How can I tell apt to populate that cache?

PS. I don't need to know which package includes ar. I know that already. It's the behaviour of apt-file/apt-get I need to understand.latest?d=yIl2AUoC8zA latest?i=Cti7gkM-UNo:7itSEolGh2Y:F7zBnMy latest?i=Cti7gkM-UNo:7itSEolGh2Y:V_sGLiP latest?d=qj6IDK7rITs latest?i=Cti7gkM-UNo:7itSEolGh2Y:gIN9vFwCti7gkM-UNo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments