[Bug 1685399] Re: [2.2] MAAS should delete cached apt lists before running apt update
Julian Andres Klode
1685399 at bugs.launchpad.net
Wed Aug 22 10:56:19 UTC 2018
Nothing to see here from the apt side, so I'm getting rid of the tasks.
** Changed in: apt
Status: New => Invalid
** No longer affects: apt
** No longer affects: apt (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1685399
Title:
[2.2] MAAS should delete cached apt lists before running apt update
Status in cloud-images:
New
Status in MAAS:
Won't Fix
Bug description:
I have a local Ubuntu mirror that sometimes lags slightly behind the
official mirror.
Thus, if I commission a MAAS node while the local mirror is lagging
behind the images synced to MAAS (which are expecting the current
packages), "apt-get update" does not overwrite the local apt lists,
prints errors about hash mismatches, and later may fail to download
packages which are more up to date in the main archive than the local
mirror.
There is a way to prevent this issue: the first thing we should always
do, before performing any actions with 'apt', is:
rm -rf /var/cache/apt/lists/*
apt-get update
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1685399/+subscriptions
More information about the foundations-bugs
mailing list