comprehensive-rust icon indicating copy to clipboard operation
comprehensive-rust copied to clipboard

Run `apt update` before `apt install`

Open mgeisler opened this issue 2 years ago • 2 comments

The VMs on GitHub have updated APT caches.

mgeisler avatar May 15 '23 13:05 mgeisler

Are you sure this isn't going to cause problems in future if the cache gets out of date?

qwandor avatar May 15 '23 13:05 qwandor

Are you sure this isn't going to cause problems in future if the cache gets out of date?

It has been working fine for me in all my repositories for years. However, you're actually right that this isn't ensured or recommended (I finally looked up the documentation).

Let me retool this PR to add apt update to the other command lines as well.

mgeisler avatar May 15 '23 13:05 mgeisler