Jeremy Bicha: How to install a bunch of debs
Recently, I needed to check if a regression in Ubuntu 22.04 Beta was triggered by the mesa upgrade. Ok, sounds simple, let me just install the older mesa version.
Let s take a look.
Oh, wow, there are about 24 binary packages (excluding the packages for debug symbols) included in mesa!
Because it s no longer published in Ubuntu 22.04, we can t use our normal
Step One: Create a Temporary Working Directory
Let s create a temporary directory to hold our deb packages. We don t want to get them mixed up with other things.
Step Two: Download All the Things
One of the useful tools is
By the way, there are several other variations on pull-lp-debs:
If you do want to stay on this unsupported version a bit longer, you can specify which packages to hold:
And you can use
Bonus: Downgrading back to supported
What if you did the opposite and installed newer stuff than is available in your current release? Perhaps you installed from jammy-proposed and you want to get back to jammy ? Here s the syntax for libegl-mesa0
Note the
But how do you find these packages? Use
Finally, I should mention that
apt way to install those packages. And downloading those one by one and then installing them sounds like too much work.
Step Zero: Prerequisites
If you are an Ubuntu (or Debian!) developer, you might already have ubuntu-dev-tools installed. If not, it has some really useful tools!
$ sudo apt install ubuntu-dev-tools
$ mkdir mesa-downgrade; cd mesa-downgrade
pull-lp-debs. The first argument is the source package name. In this case, I next need to specify what version I want; otherwise it will give me the latest version which isn t helpful. I could specify a series codename like jammy or impish but that won t give me what I want this time.
$ pull-lp-debs mesa 21.3.5-1ubuntu2
- pull-lp-source downloads source package from Launchpad.
- pull-lp-debs downloads debs package(s) from Launchpad.
- pull-lp-ddebs downloads dbgsym/ddebs package(s) from Launchpad.
- pull-lp-udebs downloads udebs package(s) from Launchpad.
- pull-debian-* same as pull-lp-* but for Debian packages.
$ sudo apt install --only-upgrade --mark-auto ./*.deb
--only-upgrade tells apt to only install packages that are already installed. I don t actually need all 24 packages installed; I just want to change the versions for the stuff I already have.
--mark-auto tells apt to keep these packages marked in dpkg as automatically installed. This allows any of these packages to be suggested for removal once there isn t anything else depending on them. That s useful if you don t want to have old libraries installed on your system in case you do manual installation like this frequently.
Finally, the apt install syntax has a quirk: It needs a path to a file because it wants an easy way to distinguish from a package name. So adding ./ before filenames works.
I guess this is a bug. apt should be taught that libegl-mesa0_21.3.5-1ubuntu2_amd64.deb is a file name not a package name.
Step Four: Cleanup
Let s assume that you installed old versions. To get back to the current package versions, you can just upgrade like normal.
$ sudo apt dist-upgrade
$ sudo apt-mark hold
apt-mark list and apt-mark unhold to see what packages you have held and release the holds. Remember you won t get security updates or other bug fixes for held packages!
And when you re done with the debs we download, you can remove all the files:
$ cd .. ; rm -ri mesa-downgrade
/jammy suffix on the package name.
$ sudo apt install libegl-mesa0/jammy
apt list
Here s one suggested way to find them:
$ apt list --installed --all-versions grep local] --after-context 1
apt is designed to upgrade packages not downgrade them. You can break things by downgrading. For instance, a database could upgrade its format to a new version but I wouldn t expect it to be able to reverse that just because you attempt to install an older version.
Freexian has set itself
A minor maintenance release of the
I've been digging through the firmware for an AMD laptop with a Ryzen 6000 that incorporates Pluton for the past couple of weeks, and I've got some rough conclusions. Note that these are extremely preliminary and may not be accurate, but I'm going to try to encourage others to look into this in more detail. For those of you at home, I'm using an image from
For the second year in a row, I proposed some workshops at the feminist
hackers assembly at the remote C3. I m sharing them here because I
believe they might be useful to others.
That s why a discussion space about saying NO did not seem out of place
at the feminist hackers assembly :) I based my workshop on the original,
created by the Institute of War and Peace Reporting and distributed
through their holistic security training manual.
I like this workshop because sharing happens in a small groups and has
an immediately felt effect. Several people reported that the exercises
allowed them to identify the exact moment when they had said yes to
something despite really having wanted to say no. The exercises from the
workshop can easily be done with a friend or trusted person, and they
can even be done alone by writing them down, although the effect in
writing might be less pronounced.
OpenSSH has this very nice setting,
As mentioned in
Reading 

The following contributor got his Debian Developer account in the last two months:
Registration for
I'm happy to announce the Debian Clojure Team will hold a remote sprint from
May 13th to May 14th 2022.
The goal of this sprint is to improve various aspects of the Clojure ecosystem
in Debian. As such, everyone is welcome to participate!
Here are a few items we are planning to work on, in no particular order:
So, LibrePlanet, the FSF s conference, is coming!
I much enjoyed attending this conference in person in March 2018. This
year I submitted a talk again, and it got accepted of course, given
the conference is still 100% online, I doubt I will be able to go 100%
conference-mode (I hope to catch a couple of other talks, but well,
we are all eager to go back to how things were before 2020!)
An even newer hot-fix release 1.0.8.3 of 