ActiveDebianSync Ubuntu support
Mirroring Ubuntu distributions alongside Debian repositories
ActiveDebianSync supports mirroring Ubuntu distributions alongside Debian repositories.
This enables you to maintain a complete local mirror for both Debian and Ubuntu-based systems.The Ubuntu mirroring feature provides:
- Full release mirroring: Main release packages for any Ubuntu version
- Pockets support: -updates, -security, -backports, and -proposed
- Component selection: main, restricted, universe, multiverse
- LTS detection: Automatic recognition of LTS releases
- Archived releases: Support for EOL releases via old-releases.ubuntu.com
- Security mirror: Automatic use of security.ubuntu.com for current releases
Enable Ubuntu repository synchronization in your config.json:
{
"sync_ubuntu_repository": true,
"ubuntu_mirror": "http://archive.ubuntu.com/ubuntu",
"ubuntu_releases": ["jammy", "noble"],
"ubuntu_architectures": ["amd64"],
"ubuntu_components": ["main", "restricted", "universe", "multiverse"]
}
| Option | Type | Default | Description |
|---|---|---|---|
sync_ubuntu_repository |
bool | false |
Master switch to enable Ubuntu sync |
ubuntu_mirror |
string | http://archive.ubuntu.com/ubuntu |
Primary Ubuntu mirror URL |
ubuntu_releases |
[]string | [] |
List of release codenames to sync |
ubuntu_architectures |
[]string | ["amd64"] |
Architectures to sync |
ubuntu_components |
[]string | ["main", "restricted", "universe", "multiverse"] |
Components to sync |
ubuntu_release_configs |
[]object | [] |
Per-release advanced configuration |
- Example of minimal LTS configuration
{
"sync_ubuntu_repository": true,
"ubuntu_releases": ["jammy", "noble"],
"ubuntu_architectures": ["amd64"],
"ubuntu_components": ["main", "universe"]
}
- Example of full configuration
{
"sync_ubuntu_repository": true,
"ubuntu_mirror": "http://archive.ubuntu.com/ubuntu",
"ubuntu_releases": ["focal", "jammy", "noble"],
"ubuntu_architectures": ["amd64", "arm64"],
"ubuntu_components": ["main", "restricted", "universe", "multiverse"],
"ubuntu_release_configs": [
{
"name": "focal",
"is_lts": true,
"sync_updates": true,
"sync_backports": false,
"sync_security": true,
"sync_proposed": false
},
{
"name": "jammy",
"is_lts": true,
"sync_updates": true,
"sync_backports": true,
"sync_security": true,
"sync_proposed": false
},
{
"name": "noble",
"is_lts": true,
"sync_updates": true,
"sync_backports": false,
"sync_security": true,
"sync_proposed": false
}
]
}