Apt Mirror
- Canonical BootStack Charmers
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 34 | 07 Jun 2024 | |
latest/stable | 21 | 01 Nov 2023 | |
latest/candidate | 34 | 06 May 2024 | |
latest/candidate | 21 | 18 Oct 2023 | |
latest/edge | 42 | 12 Dec 2024 | |
latest/edge | 22 | 27 Dec 2023 |
juju deploy apt-mirror
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
-
check-packages
Check and report the packages that are no longer referenced in the existing snapshots and the mirror path.
-
clean-up-packages
Remove the packages reported in the check-packages action. You must provide a parameter 'confirm=true' to actually perform the action; 'confirm=false' will abort the action. If you are not sure, please use
check-packages
action to view what pacakges can be removed.- Params
-
confirm boolean
Confirm that you really want to perform this action.
- Required
confirm
-
create-snapshot
Create timestemped snapshot of current package metadata.
-
delete-snapshot
Delete snapshot. Note that it deletes only the metadata.
- Params
-
name string
Name of the snapshot to delete.
- Required
name
-
list-snapshots
List snapshots.
-
publish-snapshot
Publish snapshot.
- Params
-
name string
Name of the snapshot to publish.
-
synchronize
Pull the .deb packages from the upstream based on the config "mirror-list", and synchronize the package metadata (index files) with the upstream. In addition, unreferenced packages will be automatically cleaned up without confirmation; also see check-packages and clean-up-packages actions.
- Params
-
source string
Run synchronize for a specific mirror. This parameter is used as a regular expression to filter the list of mirrors provided by the "mirror-list" configuration option. Leave unset to synchronize all mirrors. The following example synchronizes all mirrors starting with "deb http://ppa.launchpad.net/".
juju run-action apt-mirror/0 -- synchronize source="^deb http://ppa.launchpad.net/.*"