this post was submitted on 17 Mar 2025
5 points (85.7% liked)

Debian operating system

3066 readers
3 users here now

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.

founded 5 years ago
MODERATORS
 

I have a few (~5) applications where the version in the debian stable repos is to old for me. Examples would be podman and restic. I found out that the version for testing are recent enough. Is it possible to install specific apps from testing while the default is stable?

top 12 comments
sorted by: hot top controversial new old
[–] bubbalouie@lemmy.ml 2 points 2 days ago

Just goto Trixie.

[–] bizdelnick@lemmy.ml 5 points 6 days ago (1 children)

Yes, this is possible if you configure preferences (see man apt_preferences). However if you install numerous packages from testing, this can lead to various bugs. I used to do such installation and concluded that it is better to avoid this.

[–] Zenlix@lemm.ee 1 points 6 days ago (2 children)

What kind of bugs where that?

[–] trace@lemmy.ml 1 points 1 day ago

https://wiki.debian.org/DontBreakDebian

With that said you could also check if the packages you require are available in the backports repository. It doesn't look like Restic or Podman have packages available but its possible they will during Trixie's lifetime.

[–] bizdelnick@lemmy.ml 1 points 6 days ago (1 children)

That was many years ago, so I don't remember all of them. E.g. Chromium was unable to display pages (was it installed from testing? or it was from stable but some of its dependencies from testing? I forgot).

[–] Zenlix@lemm.ee 1 points 6 days ago

For some apps that are not system relevant such as restic I have found a solution in form of distrobox. But that does not work for programs like podman.

[–] bradboimler@lemmy.world 3 points 6 days ago (1 children)
[–] Zenlix@lemm.ee 1 points 1 day ago (1 children)

What would I need to do to switch?

[–] bradboimler@lemmy.world 1 points 1 day ago* (last edited 1 day ago) (1 children)

Can you post the contents of your /etc/apt/sources.list file? Presumably it's as simple as changing all the bookworm references to trixie.

[–] Zenlix@lemm.ee 1 points 11 hours ago (1 children)

I removed all comments for simplicity.

deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free

deb http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free

deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
[–] bradboimler@lemmy.world 2 points 9 hours ago (1 children)

Here is the official upgrade documentation

TL;DR

  1. Back up anything important
  2. Change bookworm to trixie, bookworm-security to trixie-security, and bookworm-updates to trixie-updates in your sources.list
  3. sudo apt update
  4. sudo apt full-upgrade

Pay attention to your full-upgrade. Good luck.

[–] Zenlix@lemm.ee 2 points 5 hours ago