News for hackers. Stuff that matters.
Re:Apt 2.0 by julian-klode on Sunday March 08, 2020 @07:21AM (#22517502)
APT does in fact check if the root of the repo changed and if so does not download anything else and will then notice that the input files have not changed when it's checking if the cache needs rebuilding.

What you're seeing here is some hook that's being run and updating its cache.

Re:Apt 2.0 by sneak on Sunday March 08, 2020 @07:41AM (#22517552)
I don’t believe that this is the case, based on apt’s output.
Re:Apt 2.0 by julian-klode on Sunday March 08, 2020 @07:46AM (#22517564)
What output? It downloads a file, then it sits around printing nothing for a few seconds (hooks are running), and then it updates it cache if necessary. Well, maybe it always rebuilds the cache, I'm not sure.