Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AptSettings

import type { AptSettings } from "https://googleapis.deno.dev/v1/osconfig:v1.ts";

Apt patching is completed by executing apt-get update && apt-get upgrade. Additional options can be set to control how this is executed.

interface AptSettings {
excludes?: string[];
exclusivePackages?: string[];
type?: "TYPE_UNSPECIFIED" | "DIST" | "UPGRADE";
}

§Properties

§
excludes?: string[]
[src]

List of packages to exclude from update. These packages will be excluded

§
exclusivePackages?: string[]
[src]

An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field cannot be specified with any other patch configuration fields.

§
type?: "TYPE_UNSPECIFIED" | "DIST" | "UPGRADE"
[src]

By changing the type to DIST, the patching is performed using apt-get dist-upgrade instead.