Public bug reported:

A not-uncommon bug for Subiquity is one that looks like LP: #2105480,
but we have seen many like it and that's just one example.  In summary,
some files will fail to download from the mirror with the message
"Mirror sync in progress?"

For reasons I don't understand just yet, it seems /var/lib/apt/lists can
get into a bad state.  `apt-get update` just produces the "Mirror sync
in progress?".  The way to recover from it is to remove
/var/lib/apt/lists entirely and start over.  After removing
/var/lib/apt/lists, `apt-get update` and subsequent operations perform
as expected.

I have a live example for you, I don't know if this reproducer requires
certain mirror state or not.  Attached to this bug is a copy of
/var/lib/apt/lists, and if you populate your test system
/var/lib/apt/lists with the contents of this tarball and configure the
system to hit mirror is.archive.ubuntu.com for series plucky, you may
see errors like this:

Err:14 http://is.archive.ubuntu.com/ubuntu plucky/universe amd64 Packages
  404  Not Found [IP: ... 3142]
  File has unexpected size (15764540 != 16133052). Mirror sync in progress? 
[IP: ... 3142]

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "lp-2105480.lists.bad.tar.gz"
   
https://bugs.launchpad.net/bugs/2107223/+attachment/5871200/+files/lp-2105480.lists.bad.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2107223

Title:
  mirror sync in progress, but the situation improves if `rm -fr
  /var/lib/apt/lists`

Status in apt package in Ubuntu:
  New

Bug description:
  A not-uncommon bug for Subiquity is one that looks like LP: #2105480,
  but we have seen many like it and that's just one example.  In
  summary, some files will fail to download from the mirror with the
  message "Mirror sync in progress?"

  For reasons I don't understand just yet, it seems /var/lib/apt/lists
  can get into a bad state.  `apt-get update` just produces the "Mirror
  sync in progress?".  The way to recover from it is to remove
  /var/lib/apt/lists entirely and start over.  After removing
  /var/lib/apt/lists, `apt-get update` and subsequent operations perform
  as expected.

  I have a live example for you, I don't know if this reproducer
  requires certain mirror state or not.  Attached to this bug is a copy
  of /var/lib/apt/lists, and if you populate your test system
  /var/lib/apt/lists with the contents of this tarball and configure the
  system to hit mirror is.archive.ubuntu.com for series plucky, you may
  see errors like this:

  Err:14 http://is.archive.ubuntu.com/ubuntu plucky/universe amd64 Packages
    404  Not Found [IP: ... 3142]
    File has unexpected size (15764540 != 16133052). Mirror sync in progress? 
[IP: ... 3142]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2107223/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to