Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ubuntu Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-ubuntu-knowledge-patch)
---
name: ubuntu-knowledge-patch
description: Ubuntu
version: "26.10"
license: MIT
metadata:
author: Nevaberry
---
# Ubuntu Knowledge Patch
Load this skill for Ubuntu upgrades, package migrations, installation,
cloud provisioning, service configuration, and hardware compatibility.
Use the topic references for release-specific behavior, complete migration
details, and the linked documentation and issue workarounds.
## Reference index
| Reference | Topics |
| --- | --- |
| [Upgrades and packaging](references/upgrades-packaging.md) | Snap channels, APT, package snapshots, seeds, kernel packages, command replacements, maintenance |
| [Installation and boot](references/installation-boot.md) | Autoinstall, sizing, TPM encryption, GRUB, initramfs, RAID, NVMe, firmware, iPXE |
| [Desktop experience](references/desktop-experience.md) | GNOME sessions, remote access, terminals, Myna, graphics, NVIDIA, Insights |
| [Cloud and containers](references/cloud-containers.md) | cloud-init, cloud image selection, Azure, Google Cloud, Docker, runc, LXD, WSL |
| [Networking and security](references/networking-security.md) | Netplan, DHCP, Chrony, OpenSSH, SSSD, authd, ADSys, certificates, VPNs, AppArmor |
| [Services and data](references/services-data.md) | Apache, HAProxy, Squid, PHP-FPM, databases, mail, Samba, backups, queues, clusters, diagnostics |
| [Virtualization and platforms](references/virtualization-platforms.md) | libvirt, QEMU, OVS, OVN, FRRouting, Raspberry Pi, RISC-V, IBM Z, ROCm |
## Upgrade blockers, removals, and compatibility
### Replace local System V startup scripts
Convert local `/etc/init.d` scripts to native systemd units before upgrading
to Ubuntu 26.10 because `systemd-sysv-generator` has been removed.
### TPM encryption and boot configuration
On systems with TPM-backed full-disk encryption, `snapd` manages boot
configuration. Running `update-grub` after conventional GRUB customizations
can leave the system unbootable.
Ubuntu Desktop 26.10 and 26.04.1 can install with TPM-backed encryption
without a hardware root of trust if the TPM-backed key also has a PIN or
passphrase. At the 26.10 release, systems using TPM-backed encryption could
not upgrade from 26.04 LTS.
### Review boot partition layouts
Subiquity applies new `/boot` requirements ahead of signed GRUB. Review
encrypted `/boot`, RAID-5/6, Apple partition tables, and Btrfs, HFS+, XFS,
or ZFS filesystems for `/boot` before future release upgrades: the bootloader
is expected to drop support for these layouts.
### Select OpenSSH variants and retain residual configuration
Fresh Ubuntu 26.10 installations use standard OpenSSH builds without GSSAPI
or Kerberos. Use `openssh-server-gssapi` and `openssh-client-gssapi` where
needed; they replace their standard counterparts and are selected
automatically on upgrade when Kerberos or GSSAPI use is detected.
When switching variants, a removed package can appear as `rc` in `dpkg`
output. Leave its residual configuration until the package being purged
includes the fix: purging it can delete files needed by the active client
or server. See the purge issue in the networking reference.
### Convert MySQL native-password accounts
The Ubuntu upgrader blocks migration to MySQL 9.7 LTS while accounts or
server configuration use `mysql_native_password`. Before upgrading, convert
affected accounts and remove `mysql_native_password=ON` under `[mysqld]`
in `/etc/mysql/mysql.conf.d/mysqld.cnf`.
```sql
ALTER USER 'user'@'host' IDENTIFIED WITH caching_sha2_password BY 'password';
```
### Prepare RabbitMQ and Dovecot migrations
Before upgrading to RabbitMQ 4.3.2, migrate Mnesia deployments and classic
queues using v1 storage. Review removed partition-handling strategies and Erlang pins;
this release uses Erlang 29.
Convert and review Dovecot 2.3 configuration before upgrading to 2.4, which
changes syntax and renames settings. Dovecot 2.4.4 drops `login` from default
`auth_mechanisms`; add it on servers with clients that require LOGIN.
### Update HAProxy configurations
For HAProxy 3.0, rename `tune.ssl.ocsp-update` to `tune.ocsp-update` and remove
`enabled` from dynamic server configuration.
The HAProxy 3.3/3.4 compatibility guidance calls for removing `program`
sections and resolving duplicate `frontend`, `backend`, `listen`, `defaults`,
and `log-forward` names, duplicate server names within a backend, and multiple
`-m` match types in an ACL. Review the services reference for `http-send-name-header` targets
and the deprecated `master-worker`, `dispatch`, and `option transparent`.
HAProxy 3.4 defaults to `balance random` and `cpu-policy performance`; HTTP
backends enable `option abortonclose` by default. Set `balance roundrobin`
where a backend needs the previous balancing policy.
### Migrate cryptography engines and database maps
OpenSSL 4 adds Encrypted Client Hello and removes engines. Migrate
configurations using the `pkcs11` engine to the provider shipped by
`libengine-pkcs11-openssl` under `ossl-modules/`.
Migrate Postfix Berkeley DB `hash:` and `btree:` maps to other supported
formats because Postfix now warns on use of these map types.
### Check container storage and virtualization compatibility
Docker 26.1.3 removes `aufs`, legacy `overlay`, `devicemapper`, and V1
registries. Check storage-driver and registry dependencies before upgrading.
Ubuntu's QEMU 10.1 drops x86 machine types through 2.5 and s390x types
through 4.1. Switch affected guests to a supported machine type before
moving them to Ubuntu 25.10. QEMU 10 disallows configuring 64-bit guests on 32-bit hosts.
QEMU 11 removes `qemu-system` and `qemu-user` builds for armhf and i386;
libvirt drops its QEMU driver on 32-bit architectures. Replace
`qemu-system-microblazeel` with `qemu-system-microblaze -M endianness=little`.
### Migrate libvirt authorization and secrets
Migrate group-based libvirt socket access to polkit using the package's
`NEWS` instructions. A systemd oneshot service provisions keys for new
encrypted secrets; plan a separate migration for existing plaintext secrets.
### Update package and command dependencies
Replace the removed `apt-key` in provisioning scripts with repository-specific
keyrings as documented in `apt-secure(8)`. Replace `linux-lowlatency` with
`linux-generic` and `lowlatency-kernel`; the latter configures GRUB's kernel
command line for low-latency operation.
In Ubuntu 25.10, all kernel modules ship in `linux-modules-<version>-<flavor>`;
update scripts that explicitly install deprecated `linux-modules-extra-*`.
`wget`, `screen`, `byobu`, `cloud-guest-utils`, and `dirmngr` leave the default
server seed. Declare needed dependencies explicitly; `byobu` moved to Universe.
### Check NVIDIA and ROCm compatibility
NVIDIA 595 and 610, including server variants, upgrade to 615 through
transitional DKMS and prebuilt module packages. The 615 series requires
Turing or newer GPUs and ships open kernel modules; 580 offers both variants.
For ROCm 10, use `clang-rocm`, `lld-rocm`, and `hipcc-rocm`, rebuild applications
using AMD SMI for `libamd_smi.so.27`, and replace `rocsparse_indextype_u16`.
## Installation and provisioning quick reference
### Declare cloud-init datasources on non-x86 images
cloud-init 25.3 disables itself on non-x86 systems unless early boot declares
a known datasource through DMI, kernel parameters, filesystem configuration,
or environment files. Custom images should declare the datasource so
provisioning can install SSH keys and apply other instance configuration.
### Continue autoinstall when the mirror is inaccessible
To continue installing from local media when the APT mirror is inaccessible,
set this in the autoinstall configuration:
```yaml
apt:
fallback: offline-install
```
### Account for first-boot network readiness
Netplan 1.1 configures `systemd-networkd-wait-online` to wait for link-local
addresses and one routable interface. For Raspberry Pi server provisioning
needing connectivity at first boot, set `optional: false` on at least one
interface in `network-config` on the boot partition.
On Raspberry Pi server images affected by the first-boot `wlan0` issue,
run `sudo netplan apply` after boot to activate Wi-Fi. Use another connection
for cloud-init tasks needing network access on the first boot.
### Allow Chrony NTS traffic or change sources
Ubuntu 25.04's default Chrony sources require TCP 4460 for NTS key exchange
and UDP 123 for NTP. If the network cannot reach the NTS service, switch to
the listed plain NTP servers in `/etc/chrony/sources.d/ubuntu-ntp-pools.sources`
or restore the previous source file.
## Frequently used features
### Diagnose APT decisions and restrict repository packages
APT 3.1 defaults to the new dependency solver. Use `apt why PACKAGE` to see
why it installed a package and `apt why-not PACKAGE` to see why it could not.
`Include` allows only listed packages from a repository; `Exclude` prevents
listed packages from being sourced there. For example, add
`Include: example-agent` to an existing deb822 `.sources` stanza to restrict
that source to `example-agent`.
### Use cloud-init network options and templates
The NetworkManager renderer supports `route-metric`. Azure provisioning
can disable `set-name` and use the experimental `skip_ready_report` option.
OpenNebula supports `SEARCH_DOMAIN` and `ETHx_ROUTES`. cloud-init 26.2 runs
Jinja user-data rendering in a sandbox.
### Install ROCm packages or try local dictation
Install the full ROCm 10 stack with `sudo apt install rocm`, or its development
libraries and headers with `sudo apt install rocm-dev`.
Myna is an optional technology preview for local speech-to-text on Ubuntu
Desktop. Hold its configurable push-to-talk key to dictate into the focused app.