Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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.0K
  _____________________________________________________________________________________

There's another repodata directory which, according to timestaps, it's content seems to be up to date:

Index of /pub/mirrors/fedora.redhat.com/pub/fedora/linux/updates/26/x86_64/debug/repodata/repodata

 Icon   Name                                        Last modified      Size  Description
  _____________________________________________________________________________________
 [DIR]  Parent Directory                                              -
 [   ]  5bc9832d4b459be1c...f1-filelists.sqlite.bz2 30-Oct-2017 18:04  7.3M
 [   ]  6b44e1cff0c90f911...cb-other.xml.gz         30-Oct-2017 18:04  495K
 [   ]  75e587ba103c7a543...51-primary.sqlite.bz2   30-Oct-2017 18:04  675K
 [   ]  4263b02530dc946db...66-primary.xml.gz       30-Oct-2017 18:04  350K
 [   ]  a011a04fe40bc7dc9...17-filelists.xml.gz     30-Oct-2017 18:04  7.2M
 [   ]  e656a7cbd5e864a66...28-other.sqlite.bz2     30-Oct-2017 18:04  673K
 [   ]  repomd.xml                                  30-Oct-2017 18:04  3.0K
  _____________________________________________________________________________________

Now shall this trigger a bug report?