On 2025-03-13, <to...@tuxteam.de> <to...@tuxteam.de> wrote: > > I thought that too, but according to the man page, apt-get update does > that job, too (I was always wondering to find my apt-file database > up to date and suspected some well-meaning cron job, but that seems > to be the secret :-)
apt-get update only updates the package lists from the repositories configured in /etc/apt/sources.list. apt-file update fetches the latest file index for all packages. IOW, you should run apt-get update (packages) before apt-file update (the files inside those packages).