I planned to have a look whether dedicated github action "install and cache
locally" exists for ubuntu

"apt-get update" and install itself add internet calls. we lose time on
that.


сб, 21 нояб. 2020 г. в 17:53, Tim Düsterhus <[email protected]>:

> Ilya,
> Willy,
>
> Am 21.11.20 um 10:47 schrieb Willy Tarreau:
> > Hi Ilya,
> >
> > On Sat, Nov 21, 2020 at 02:05:01PM +0500, ???? ??????? wrote:
> >> Hello,
> >>
> >> ubuntu somehow needs it, no idea why does not apt-get do it itself.
> >
> > Thanks, I took it, but please, please, the justification you provide
> > above is the essential part of your change and belongs to the commit
> > message. I've copy-pasted it there, but it would really help if you
> > could get more used to automatically adding the useful info there in
> > the first place.
> >
>
> A bit of additional detail: `apt-get update` updates the package lists.
> A locally cached version of the package list is directly part of the
> Ubuntu image on GitHub Actions, but it'll become outdated over time.
>
> Apparently Ubuntu now released an update for a package we need,
> replacing the old package with the new one on the package servers (saves
> space I guess). Now the package lists are outdated and apt-get install
> attempted to find a version that no longer exists, because the lists say
> that version X is current when in fact it now is X + 1.
>
> Ilya's patch is exactly the correct fix there, it updates the package
> lists so that they reflect the most recent state.
>
> Best regards
> Tim Düsterhus
>

Reply via email to