name: ubuntu-packaging
description: Ubuntu packaging and release maintenance specialist. Manages Ubuntu delta against Debian, Launchpad PPA source uploads (dput), release series targeting (LTS vs Interim), Stable Release Updates (SRU) justification and test plans, and autopkgtest on Ubuntu infrastructure.
license: Apache-2.0
compatibility: Requires Linux environment, devscripts, dput, and sbuild.
metadata:
author: Eshan Roy
version: "0.1.0"
Ubuntu Packaging Specialist
The ubuntu-packaging skill guides AI agents through Ubuntu-specific packaging, delta management relative to Debian, Launchpad Personal Package Archives (PPAs), and the strict Stable Release Update (SRU) process.
1. Ubuntu Packaging Lifecycle Workflow
flowchart TD
SOURCE["1. Source Package Baseline\n(Debian Sync or Upstream Source)"] --> DELTA{"2. Requires Ubuntu-Specific Changes?"}
DELTA -->|Yes| MOD["3. Apply Ubuntu Delta\n(debian/patches, series-specific changelog)"]
DELTA -->|No| SYNC["3. Direct Debian Sync Request"]
MOD --> VERSION["4. Ubuntu Version Suffixing\n(e.g., 1.2.3-1ubuntu1)"]
SYNC --> BUILD["5. Local sbuild on Ubuntu Target Chroot\n(e.g., noble-amd64)"]
VERSION --> BUILD
BUILD --> TARGET{"6. Release Pocket Target"}
TARGET -->|PPA| PPA["7. Source Upload to Launchpad PPA\n(dput ppa:user/repo *_source.changes)"]
TARGET -->|Official Stable Release| SRU["7. Stable Release Update (SRU) Documentation\n(Bug report, test plan, regression risk)"]
TARGET -->|Development Series| DEVEL["7. Upload to Development Pocket\n(noble-proposed / oracular)"]
PPA --> VERIFY["8. Verify Launchpad Multi-Arch Build Farm"]
SRU --> VERIFY
DEVEL --> VERIFY
The 8-Step Ubuntu Packaging Discipline:
- Determine Package Origin: Identify whether the package is an untouched sync from Debian or maintains an explicit Ubuntu delta.
- Apply Ubuntu Delta: Preserve Ubuntu-specific integration (AppArmor profiles, Mir/Wayland patches, library path adjustments) without clobbering Debian packaging.
- Enforce Version Suffixing:
- Modifying a Debian package: append
ubuntu1 (e.g., 1.2.3-1 $\to$ 1.2.3-1ubuntu1).
- Ubuntu native package:
1.2.3-0ubuntu1.
- Backport or PPA build:
1.2.3-1ubuntu1~ppa1~noble1.
- Target Canonical Release Series: Specify exact series code name in
debian/changelog (noble, jammy, focal), never generic unstable or testing.
- Execute Isolated sbuild Verification: Verify build inside clean Ubuntu chroots matching target release (
sbuild -d noble).
- Deploy via Launchpad PPA: Prepare source-only uploads for Launchpad build farm via
dput.
- Document Stable Release Updates (SRU): When updating released Ubuntu versions, prepare formal SRU bug reports detailing impact, test plan, and regression potential.
- Verify Multi-Architecture Farm: Monitor build status across all Launchpad target architectures (
amd64, arm64, armhf, ppc64el, s390x, riscv64).
2. Ubuntu vs Debian Distinctions
| Feature / Policy |
Debian Packaging |
Ubuntu Packaging |
| Release Target in Changelog |
unstable, experimental, stable |
Specific series: noble, jammy, oracular |
| Version Scheme |
1.0.0-1 |
1.0.0-1ubuntu1 (if modifying Debian package) |
| Personal Repositories |
None official (mentors for sponsorship) |
Launchpad PPAs (ppa:user/name) |
| Stable Updates |
Point releases, stable-updates, security |
Strict Stable Release Updates (SRU) process |
| Build Infrastructure |
Debian buildd / Salsa CI |
Launchpad Build Farm (auto multi-arch) |
| LTS Lifecycle |
3-5 years (LTS team) |
5 years standard, up to 10-12 years (Ubuntu Pro) |
3. Operational Safety Boundaries
- Tier 0 (Diagnostics): Inspecting Launchpad build logs, checking Ubuntu CVE trackers, and reviewing diffs against Debian is fully autonomous.
- Tier 1 (Workspace Builds): Generating source packages (
debuild -S) runs autonomously in workspace.
- Tier 3 (Host Mutating / Privileged): Uploading packages to Launchpad PPAs (
dput), submitting official SRU uploads to -proposed, or adding PPAs to the host OS strictly requires explicit human authorization.
4. Reference Library
- ubuntu-packaging.md — Ubuntu packaging fundamentals, versioning conventions, and toolchains.
- launchpad-ppa.md — Personal Package Archives, GPG signing, and
dput upload workflows.
- ubuntu-release-series.md — LTS vs Interim lifecycles, release pockets, and migration rules.
- stable-release-updates.md — SRU bug filing, test plans, regression risk, and
-proposed verification.
- debian-delta.md — Sync vs merge workflows, maintaining Ubuntu deltas, and upstream Debian forwarding.
- ubuntu-testing.md — Ubuntu autopkgtest infrastructure, Launchpad build logs, and architecture checks.
1---2name: ubuntu-packaging3description: Ubuntu packaging and release maintenance specialist. Manages Ubuntu delta against Debian, Launchpad PPA source uploads (dput), release series targeting (LTS vs4---5---6name: ubuntu-packaging7description: Ubuntu packaging and release maintenance specialist. Manages Ubuntu delta against Debian, Launchpad PPA source uploads (dput), release series targeting (LTS vs Interim), Stable Release Updates (SRU) justification and test plans, and autopkgtest on Ubuntu infrastructure.8license: Apache-2.09compatibility: Requires Linux environment, devscripts, dput, and sbuild.10metadata:11 author: Eshan Roy12 version: "0.1.0"13---1415# Ubuntu Packaging Specialist1617The `ubuntu-packaging` skill guides AI agents through Ubuntu-specific packaging, delta management relative to Debian, Launchpad Personal Package Archives (PPAs), and the strict Stable Release Update (SRU) process.1819---2021## 1. Ubuntu Packaging Lifecycle Workflow2223```mermaid24flowchart TD25 SOURCE["1. Source Package Baseline\n(Debian Sync or Upstream Source)"] --> DELTA{"2. Requires Ubuntu-Specific Changes?"}26 DELTA -->|Yes| MOD["3. Apply Ubuntu Delta\n(debian/patches, series-specific changelog)"]27 DELTA -->|No| SYNC["3. Direct Debian Sync Request"]28 MOD --> VERSION["4. Ubuntu Version Suffixing\n(e.g., 1.2.3-1ubuntu1)"]29 SYNC --> BUILD["5. Local sbuild on Ubuntu Target Chroot\n(e.g., noble-amd64)"]30 VERSION --> BUILD31 BUILD --> TARGET{"6. Release Pocket Target"}32 TARGET -->|PPA| PPA["7. Source Upload to Launchpad PPA\n(dput ppa:user/repo *_source.changes)"]33 TARGET -->|Official Stable Release| SRU["7. Stable Release Update (SRU) Documentation\n(Bug report, test plan, regression risk)"]34 TARGET -->|Development Series| DEVEL["7. Upload to Development Pocket\n(noble-proposed / oracular)"]35 PPA --> VERIFY["8. Verify Launchpad Multi-Arch Build Farm"]36 SRU --> VERIFY37 DEVEL --> VERIFY38```3940### The 8-Step Ubuntu Packaging Discipline:411. **Determine Package Origin**: Identify whether the package is an untouched sync from Debian or maintains an explicit Ubuntu delta.422. **Apply Ubuntu Delta**: Preserve Ubuntu-specific integration (AppArmor profiles, Mir/Wayland patches, library path adjustments) without clobbering Debian packaging.433. **Enforce Version Suffixing**:44 - Modifying a Debian package: append `ubuntu1` (e.g., `1.2.3-1` $\to$ `1.2.3-1ubuntu1`).45 - Ubuntu native package: `1.2.3-0ubuntu1`.46 - Backport or PPA build: `1.2.3-1ubuntu1~ppa1~noble1`.474. **Target Canonical Release Series**: Specify exact series code name in `debian/changelog` (`noble`, `jammy`, `focal`), never generic `unstable` or `testing`.485. **Execute Isolated sbuild Verification**: Verify build inside clean Ubuntu chroots matching target release (`sbuild -d noble`).496. **Deploy via Launchpad PPA**: Prepare source-only uploads for Launchpad build farm via `dput`.507. **Document Stable Release Updates (SRU)**: When updating released Ubuntu versions, prepare formal SRU bug reports detailing impact, test plan, and regression potential.518. **Verify Multi-Architecture Farm**: Monitor build status across all Launchpad target architectures (`amd64`, `arm64`, `armhf`, `ppc64el`, `s390x`, `riscv64`).5253---5455## 2. Ubuntu vs Debian Distinctions5657| Feature / Policy | Debian Packaging | Ubuntu Packaging |58|---|---|---|59| **Release Target in Changelog** | `unstable`, `experimental`, `stable` | Specific series: `noble`, `jammy`, `oracular` |60| **Version Scheme** | `1.0.0-1` | `1.0.0-1ubuntu1` (if modifying Debian package) |61| **Personal Repositories** | None official (mentors for sponsorship) | Launchpad PPAs (`ppa:user/name`) |62| **Stable Updates** | Point releases, `stable-updates`, security | Strict **Stable Release Updates (SRU)** process |63| **Build Infrastructure** | Debian buildd / Salsa CI | Launchpad Build Farm (auto multi-arch) |64| **LTS Lifecycle** | 3-5 years (LTS team) | 5 years standard, up to 10-12 years (Ubuntu Pro) |6566---6768## 3. Operational Safety Boundaries6970- **Tier 0 (Diagnostics)**: Inspecting Launchpad build logs, checking Ubuntu CVE trackers, and reviewing diffs against Debian is fully autonomous.71- **Tier 1 (Workspace Builds)**: Generating source packages (`debuild -S`) runs autonomously in workspace.72- **Tier 3 (Host Mutating / Privileged)**: Uploading packages to Launchpad PPAs (`dput`), submitting official SRU uploads to `-proposed`, or adding PPAs to the host OS strictly requires explicit human authorization.7374---7576## 4. Reference Library7778- [ubuntu-packaging.md](references/ubuntu-packaging.md) — Ubuntu packaging fundamentals, versioning conventions, and toolchains.79- [launchpad-ppa.md](references/launchpad-ppa.md) — Personal Package Archives, GPG signing, and `dput` upload workflows.80- [ubuntu-release-series.md](references/ubuntu-release-series.md) — LTS vs Interim lifecycles, release pockets, and migration rules.81- [stable-release-updates.md](references/stable-release-updates.md) — SRU bug filing, test plans, regression risk, and `-proposed` verification.82- [debian-delta.md](references/debian-delta.md) — Sync vs merge workflows, maintaining Ubuntu deltas, and upstream Debian forwarding.83- [ubuntu-testing.md](references/ubuntu-testing.md) — Ubuntu autopkgtest infrastructure, Launchpad build logs, and architecture checks.