awalsh128 / cache-apt-pkgs-action

Cache APT packages in GitHub Actions
Other
205 stars 35 forks source link

Migrate from apt to CLI safe alternatives #23

Closed awalsh128 closed 2 years ago

awalsh128 commented 2 years ago

The action will report CLI instability warning messages.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

This is because it isn't intended to be a non-interactive command. There are alternatives however as demonstrated in this StackExchange post. The scripts should get migrated eventually.

pablgonz commented 2 years ago

@awalsh128 apt-fast available by default :D

awalsh128 commented 2 years ago

Hey @pablgonz, since apt-fast is a wrapper for apt-get, will this mitigate the instability? I am guessing that it just passes through args that may change along with new versions of apt-get.

pablgonz commented 2 years ago

@awalsh128 The truth is that I am not an expert on this topic, I know it is stable and much faster when downloading and updating, it is constantly improving and no bugs are seen (not in the official repo at least).