Public bug reported:

The update order is incorrect for the website.  This is a critical issue when 
mirroring the distro.
The index metadata is updated before the package is present.  It should always 
be the very last thing modified.

For example this morning:
A debmirror of bionic at 09:00EDT this morning resulted in a package index 
showing that openssh-client amd64 1:7.6p1-4ubuntu0.3 was the newest update.  
However, the actual .deb package was not present in the repository, and 
therefore not mirrored by debmirror.  This resulted in the index containing 
packages that were not actually present in the repo, and a failed update due to 
the upstream archive.ubuntu.com/ubuntu not updating in the correct order.

Workaround: (really poor) Always run debmirror multiple times over
several hours, until the mirroring is clean.

Preferred fix: Correct the order of operations when constructing the
updated repo.  The index update should absolutely always be last.

** Affects: ubuntu
     Importance: Undecided
         Status: New

** Information type changed from Private Security to Public

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1819939

Title:
  update order wrong in distribution repo

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to