cockpit

Cockpit for Ubuntu

Unofficial Ubuntu packages built from the upstream Cockpit release.

Scope

Build and release

GitHub Actions checks the upstream latest stable release daily, runs on pushes to main, and can also be started manually from the Actions tab. A release is published only after the package build, package metadata checks, and installation/upgrade tests succeed.

The build uses upstream Debian packaging with a narrowly scoped compatibility adjustment: add Ubuntu 26.04’s resolute codename to the upstream stable-release list so Cockpit’s multi-host feature is enabled. No system libraries or Ubuntu packages are replaced.

APT repository

The intended APT repository address is:

https://cockpit.mgl.xyz/

This repository is hosted by GitHub Pages using the custom domain cockpit.mgl.xyz (configured in the repository’s CNAME file). The Pages deployment is configured, but the APT repository itself is not live yet until the signed repository publishing workflow has deployed the package indexes (InRelease, Packages, and package files) and the matching GPG public key. Do not add the APT source until that first signed repository publication is announced.

Once it is live, the installation instructions will use Ubuntu’s deb822 source format and a repository-specific GPG key:

sudo install -d -m 0755 /etc/apt/keyrings

curl -fsSL https://cockpit.mgl.xyz/cockpit-archive-keyring.asc \
  | sudo tee /etc/apt/keyrings/cockpit-archive-keyring.asc >/dev/null

sudo chmod 0644 /etc/apt/keyrings/cockpit-archive-keyring.asc

sudo tee /etc/apt/sources.list.d/cockpit.sources >/dev/null <<'EOF'
Types: deb
URIs: https://cockpit.mgl.xyz/
Suites: resolute
Components: main
Signed-By: /etc/apt/keyrings/cockpit-archive-keyring.asc
EOF

sudo apt update
sudo apt install cockpit

After the initial setup, updates will be installed through the normal APT workflow:

sudo apt update
sudo apt upgrade

The repository will contain only packages built for Ubuntu 26.04 (Resolute), and its signed APT metadata will be verified with the dedicated key above. The key is scoped to this repository; it does not add a globally trusted APT signing key.

Prefer this repository for all Cockpit packages

If you want APT to select Cockpit packages only from this repository, add an optional pinning file after enabling the source:

sudo tee /etc/apt/preferences.d/cockpit-from-project.pref >/dev/null <<'EOF'
Package: cockpit*
Pin: origin "cockpit.mgl.xyz"
Pin-Priority: 1001

Package: cockpit*
Pin: origin "*"
Pin-Priority: -1
EOF

sudo apt update
apt-cache policy cockpit cockpit-bridge cockpit-ws

This makes packages matching cockpit* from this host the preferred candidates and rejects matching packages from other APT hosts. It does not prevent the system administrator (root) from manually installing a local .deb, changing APT preferences, or removing the pin.

Manual package installation (temporary)

Until the signed APT repository is published, download all .deb assets from the latest GitHub Release and install them together:

sudo apt install ./*.deb

The downloaded package set should be installed together so the Cockpit components stay on the same version.

Notes

This is a community build, not an official Cockpit or Ubuntu package repository. Packages are built by GitHub Actions from upstream release sources. The project does not mirror Debian or Ubuntu packages.