As far as a I know, apt only records when either you or it i.e. apt did an apt hook to update the apt database. Is there a way for e.g. to know the time-stamp of the mirror or a way to know when a mirror will be updated ?
To be more clear, let me share an actual example -
As can be seen below the date and time is as per IST -
$ date Mon May 6 05:28:09 IST 2019
I just ran an apt update and in /var/cache/apt/ the time it took to update the index is shown -
/var/cache/apt$ ls -lh total 85M drwxr-xr-x 3 root root 360K May 6 04:11 archives -rw-r--r-- 1 root root 43M May 6 05:32 pkgcache.bin -rw-r--r-- 1 root root 42M May 6 05:32 srcpkgcache.bin
Now of course, the time taken is of various reasons, speed, how much delta is there or full inrelease files needed to downloaded and so on and so forth.
There doesn't seem to be a way to know the mirror from which you are updating or how current the mirror is and some kind of data/number that you could relate to with Debian archive . ?
Just to be clear though, I'm using cdn-fastly.deb.debian.org and it works great. Am curious though as at times it doesn't respond as much as we would like. For e.g. like the issue in firefox-esr and by extension torbrowser-launcher.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928415 for more.