On Thu, Mar 13, 2025 at 04:29:56PM -0000, Greg wrote:
On 2025-03-13, <[email protected]> <[email protected]> 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).
Sigh. Kids, read the doco. From man apt-file (1)
update
This action that just calls apt update or apt-get update (depending
on whether a tty is available).
The only advantage using this over a regular apt update or apt-get
update directly is for the case where you have configured an apt-
file specific configuration (via the Dir::Etc::apt-file-main
configuration option). In that case, said configuration will be
included automatically.
You don't need apt-file update anymore. Apt update or apt-get update do
the trick. (Apt-file update won't hurt, though).
Cheers
--
t
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZ9MJowAKCRAFyCz1etHa RlXyAJ0ZVtvginr0avDZ55dULf+Bgl9vUQCfas1c7qRj4nkOLkl9ttEPI53PCXU=
=aerf
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)