When are debian testing packages merged to PureOS 10 repo?

Hi, many package versions from debian testing (currently bookworm) are not available in Pure OS 10 default repo. When they will be included? What is the process and what decides when to merge? Is there a way to get newer versions with APT?
For example, Debian testing (bookworm) offers packages krita and podman of newer versions (5.0.2 and 3.4.4) but Pure OS 10 Byzantium offers older versions, 4.4.2 and 3.0.1

https://packages.debian.org/search?keywords=krita
https://packages.debian.org/search?keywords=podman

Thank you

@jeremiah

1 Like

Perhaps (didn’t test this by myself), not sure. And easier to control if these two CLI commands executed individually:
sudo apt install krita
sudo apt install podman

Please take a look here (quite similar procedure):

The best option is to search for a Snap, Flatpak or Appimage version of the software and install it that way. For example:


sudo apt update
sudo apt install -y snapd
snap find krita
sudo snap install krita
snap run krita

Then add a menu item or launcher to a panel or key combination to run the command: snap run krita

Another option, which is less desirable, is to use Debian’s bullseye-backports repo (if you have Byzantium installed) to install recent software, and in my experience that is generally pretty safe and usually won’t screw up your system, because backports compiles newer versions of software to use the libraries in an older repo.
See: https://backports.debian.org/

The downside is that only a limited number of packages are included in the Debian backports repos, so you can’t upgrade the krita and podman packages that way.

The third option which is the least recommended is to use the Debian testingrepo. If you don’t mind taking a chance on ending up with a Frankenstein system that mixes Debian with PureOS which may be unstable and break stuff, then you can install the software from Debian’s testing repo.

Edit your sources list and add the Debian testing repo:
sudo nano /etc/apt/sources.list

At the bottom of the file add the following line:
deb http://ftp.us.debian.org/debian testing main

If you don’t mind installing proprietary stuff, use this line instead:
deb http://ftp.us.debian.org/debian testing main contrib non-free

Then, add a pinning preferences file to make sure that by default you install from PureOS’s Byzantium repo rather than Debian testing:
sudo nano /etc/apt/preferences.d/preferences

Add these lines:

Package: *
Pin: release a=byzantium
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 500

If your /etc/apt/sources.list file uses “stable” instead of “byzantium”, then use:

Package: *
Pin: release a=stable
Pin-Priority: 500

Package: *
Pin: release a=testing
Pin-Priority: 100

The higher pinning number for byzantium/stable means that packages from that repo will be installed by default and you will only install packages from testing if you specify that repo. For more info, see: https://wiki.debian.org/AptConfiguration

Then, check your pinning policy to verify that everything is correct:
sudo apt-cache policy

Then update your package list:
sudo apt update

Now check what versions are available for krita and podman:
sudo apt-cache policy krita podman

Then, do a test run to see how many packages would be changed if you install from testing
sudo apt install -t testing --dry-run krita podman

If it looks like it will change a lot of packages in your system, then it probably isn’t a good idea to install from testing. If you don’t mind changing all those packages, then go for it:
sudo apt install -t testing krita podman

4 Likes

podman is outdated in snapcraft however. Thanks for the guide but I was asking about PureOS merge process of new versions. In the past I was reading that PureOS merges packages from Debian testing. Now it does not seems to be true.

Debian Buster is the current oldstable. As (guessing/speculating me) PureOS Amber will be still around until the mid/end of July 2022, I’m expecting PureOS with its own “testing” repository (based on Debian “bookworm”, as with understandable reasons asked here) to be announced just a few days before August 2022.

Or to try to translate what I just wrote/think above is that “testing” will be included into PureOS 11, after support for PureOS Amber reaches its EOL.

Amber is the old version. Current version is Pure OS 10 Byzantium. Pure OS should be based on Debian testing. It looks like it is not true anymore. What is the current merge model?

PureOS Byzantium is based on Debian bullseye, which used to be 'testing", but eventually became the “stable” repo. Purism says that it wants to have both a rolling release and stable release, but we are in a transition point where the rolling release just became the stable release, so I assume that PureOS will release a new repo based on Debian bookworm (which is the new 'testing") in a couple months, so you need to wait for that.

Remember that Purism only has Jeremiah Foster and Jonas Smedegaard maintaining the PureOS distro (plus Matthias Klumpp to develop the Laniakea infrastructure), so it takes Purism a while to make transitions.

1 Like

Ok, I though that packages are merged from current Debian testing to current Pure OS continuously and without any transition periods.

1 Like