Cheatsheet for Ubuntu
As a Linux developer and working in Canonical for years, there is some workflow that I found it’s might not be so trivial for one. I think an article to share will be useful and handy.
Given this will never end somewhere, I’ll start with something simple, and no-hard feeling to update incrementally.
Q: If something crash, and you load the error report, where does it go?
A: https://errors.ubuntu.com/
Q: How do find the package currently in the SRU testing?
A: For kernel, check https://kernel.ubuntu.com/sru/sru-report.html
For others, check https://people.canonical.com/~ubuntu-archive/pending-sru.html
Q: Jargons
A: SRU: https://wiki.ubuntu.com/StableReleaseUpdates
MIR: https://wiki.ubuntu.com/MainInclusionProcess
Q: package flow? How to go main / restricted
A:
universe => MIR => main
multiverse => MIR => restricted
While:
Main — Officially supported software.
Restricted — Supported software that is not available under a completely free license.
Universe — Community maintained software, i.e. not officially supported software.
Multiverse — Software that is not free.
Q: autopkgtest, if it failed, pkg can’t be released. Where’s it’s test result?
A: Note the Debian seems to use lxc to run the autopkgtest. ubuntu use juju, probably also lxc.
Debian: https://ci.debian.net/
Ubuntu: https://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html
ubuntu: …
Q: How pkg go to update?
A: https://wiki.ubuntu.com/ProposedMigration
Q: What will go into the images:
A: I believe it’s https://code.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git/ubuntu.
Q: How to attach machine info to a bug.
A: apport-collect bug_number # run on the target machine.
Q: phased update for ubuntu pkgs?
A: https://people.canonical.com/~ubuntu-archive/phased-updates.html
20.04: via update-manager.
22.04: apt also include.
Q: Canonical service status?
A: https://status.canonical.com/
Q: ubuntu-gnome development git?
A: In Debian salsa: https://salsa.debian.org/gnome-team
Ref: https://discourse.ubuntu.com/t/psa-ubuntu-gnome-packages-development-moved-to-debian-salsa/14900
Q: debug symbols for ubuntu deb
A: Too long, refer to https://wiki.ubuntu.com/Debug%20Symbol%20Packages
Q: Which release I can do-release-upgrade to?
A: Firt check your config file /etc/update-manager/release-upgrades, the value of Prompt could be nenvr, normal and lts.
As 22.04 released, it’s not exist in the meta-release-lts, but in meta-release-lts-development. You’ll need to command “do-release-upgrade -d” to upgrade from 20.04. (Ref: https://changelogs.ubuntu.com/)