Skip to content

Repo includes old version of Podman that conflicts with Debian 13 trixie version #94

@petervk

Description

@petervk

Bug Info

Describe the bug
The debian/ubuntu repo includes a much older version of podman than Debian 13 currently has, but due to the fake version number in your repo, it takes precedent over the version that Debian is providing for Debian 13.

Debian 13 is currently in Testing and has not been released yet but I wanted to flag this before release.

To Reproduce
Steps to reproduce the behavior:

  1. Install / upgrade to Debian 13 trixie
  2. Setup the repos provided by 45Drives using the focal dist
  3. apt install podman
  4. podman version 100:3.4.2-5 is installed

Expected behavior
I expected podman version 5.3.2+ds1-1 to be installed. See https://packages.debian.org/trixie/podman

How to Fix
Easy/quick:
Change the line Version: 100:3.4.2-5 to Version: 3.4.2-5 in the file https://repo.45drives.com/debian/dists/focal/main/binary-amd64/Packages
Better/Harder
Create a new dist for Debian 13 (trixie) and do not include the podman package in that repo at all.

Workaround
Create a file in /etc/apt/preferences.d called 99repo-45drives-com and paste the following contents into it.

# Default to never prefer packages from repo.45drives.com
Package: *
Pin: origin repo.45drives.com
Pin-Priority: 1

# Only allow cockpit-navigator to be installed from repo.45drives.com
Package: cockpit-navigator
Pin: origin repo.45drives.com
Pin-Priority: 500

This will deprioritize all of the packages in the 45drives repo with the exception of cockpit navigator. the second block is optional as cockpit-navigator is not included in Debian currently but if it is ever added this will cause apt to prefer the version from the 45drives repo over any version provided by Debian. Do not include this if you want to prioritize a Debian version of cockpit-navigator in the future. This workaround will not conflict with the suggested fix above and they can coexist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions