Why are updates and updates-debuginfo repos out of sync (fedora 26)
When dnf shows there are packages available for update I often find that debug infos for those packages are not. I.e. there can be even days between time stamps of packages updated and their respective debug info package. Below there's a partial output of dnf command in case where there is, according to metadata time stamps 23rd of Oct and 29th of Oct, almost one week of lag between content of updates and updates-debuginfo:
dnf upgrade --refresh --verbose --enablerepo=updates-debuginfo
Loaded plugins: builddep, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repograph, repomanage, reposync, system-upgrade
DNF version: 2.7.5
cachedir: /var/cache/dnf
reviving: 'updates' can be revived - metalink checksums match.
not found deltainfo for: Fedora 26 - x86_64 - Updates
updates: using metadata from Sun 29 Oct 2017 04:43:24 PM EET.
reviving: 'updates-debuginfo' can be revived - metalink checksums match.
not found deltainfo for: Fedora 26 - x86_64 - Updates - Debug
not found updateinfo for: Fedora 26 - x86_64 - Updates - Debug
updates-debuginfo: using metadata from Mon 23 Oct 2017 07:44:20 PM EEST.
reviving: 'fedora' can be revived - metalink checksums match.
not found deltainfo for: Fedora 26 - x86_64
not found updateinfo for: Fedora 26 - x86_64
fedora: using metadata from Wed 05 Jul 2017 11:31:38 PM EEST.
Because of that, I often need to postpone upgrade until there are debug info packages I need for sw development, available. What I have found so far is that
dnf clean all && dnf makecache
does not change anything
Update by 1st of Nov: I looked forward and investigated real content of directories at mirror funet.fi which is closest to me. What I found seems quite bizarre. Might this be even bug introduced by some mirroring infrastructure top level config? For reference, updates repo repodata directory which is good:
Index of /pub/mirrors/fedora.redhat.com/pub/fedora/linux/updates/26/x86_64/repodata
Icon Name Last modified Size Description
_____________________________________________________________________________________
[DIR] Parent Directory -
[ ] 21cadb5f2ee7f037f...8f-primary.xml.gz 30-Oct-2017 18:04 3.1M
[ ] 63cff7903fddeae90...6e-primary.sqlite.bz2 30-Oct-2017 18:04 6.9M
[ ] 282b0fdd6bd48baf6...0d-comps-Everything.x86_64.xml 30-Oct-2017 18:03 1.8M
[ ] 95715c1618f07276b...9a-other.xml.gz 30-Oct-2017 18:04 1.4M
[ ] 373721a0d5be20ce4...f6-comps-Everything.x86_64.xml.gz 30-Oct-2017 18:04 443K
[ ] abbc90c416d9a5bcd...d2-updateinfo.xml.xz 30-Oct-2017 18:14 813K
[ ] ae67ff2628d300947...20-filelists.sqlite.bz2 30-Oct-2017 18:04 12M
[ ] de9f9748ba4cf2ba0...12-filelists.xml.gz 30-Oct-2017 18:04 12M
[ ] eabc77d8bd3004b61...9b-other.sqlite.bz2 30-Oct-2017 18:04 2.3M
[ ] repomd.xml 30-Oct-2017 18:14 4.3K
_____________________________________________________________________________________
But then for debug infos:
Index of /pub/mirrors/fedora.redhat.com/pub/fedora/linux/updates/26/x86_64/debug/repodata
Icon Name Last modified Size Description
_____________________________________________________________________________________
[DIR] Parent Directory -
[DIR] repodata/ 01-Nov-2017 04:26 -
[ ] 084314c0a9009d8f6...6b-primary.sqlite.xz 23-Oct-2017 19:44 365K
[ ] 6c642cb77ee95f2df...aa-primary.xml.gz 23-Oct-2017 19:44 255K
[ ] 724d1785d9f915c0a...39-other.sqlite.xz 23-Oct-2017 19:44 392K
[ ] 873fe6487cd08c3f3...05-other.xml.gz 23-Oct-2017 19:44 421K
[ ] 919a1614dba6ebc70...87-filelists.xml.gz 23-Oct-2017 19:44 4.6M
[ ] fe6afa8f63cdc34b2...0a-filelists.sqlite.xz 23-Oct-2017 19:44 4.2M
[ ] repomd.xml 23-Oct-2017 19:44 3 ...
Change to another mirror. Does it behave differently? If so then contact your preferred mirror and tell them what you think is wrong.
Hmm, how do I force mirror? Even wget seems to load content from funet.fi when I point it to dnf base URL. Or maybe I take a list of mirrors and look if same bizarre directory structure applies to other mirrors as well
Ok, I did a quick look and this bizarre directory structure seems to repeat on those. Also, there were same pattern for fedora 25 but not for 27. I filed a bug report, let's see how it will be received https://bugzilla.redhat.com/show_bug.cgi?id=1508383