UNCLASSIFIED - NO CUI

Skip to content

Switching to better scriptable alternative `apt-get`, and some cleanup.

Danny Gershman requested to merge dg-use-apt-get into master

Package Merge Request

Package Changes

This migrates the script to use the recommended choice for scripting in apt-get over apt. We heard some (possible red-herring reports)[!2471 (comment 1086990)] from the change related to using automatic selection of AMIs (not sure why this actually causes more errors).

Errors were akin to:

503  Service Unavailable [IP: 160.1.122.56 80]
Err:3 http://us-gov-west-1.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease

@kevin.wilder also pointed out this output from the scripting of apt.

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

We are essentially following the recommendation here, by switching to apt-get. https://askubuntu.com/a/990838

Package MR

N/A

For Issue

N/A

statusreview

Merge request reports

Loading