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.


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.