Snapchat / KeyDB

A Multithreaded Fork of Redis
https://keydb.dev
BSD 3-Clause "New" or "Revised" License
11.02k stars 564 forks source link

[BUG] keydb-tools installation on debian 12 bookworm via ppa fails due to libssl1.1 dependency #833

Closed deubert-it closed 1 month ago

deubert-it commented 1 month ago

Describe the bug

I'm trying to install keydb on a fresh debian 12 bookworm system as described in the documentation via PPA. Debian bookworm/amd64 is listed as supported system. The installation fails due to a dependency issue with libssl1.1, however libssl1.1 was replaced with libssl3 on debian bookworm.

$ apt-get install keydb
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 keydb-tools : Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.

To reproduce

See documentation: https://docs.keydb.dev/docs/ppa-deb ->

$ echo "deb https://download.keydb.dev/open-source-dist $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/keydb.list
$ sudo wget -O /etc/apt/trusted.gpg.d/keydb.gpg https://download.keydb.dev/open-source-dist/keyring.gpg
$ sudo apt update
$ sudo apt install keydb

Expected behavior

Installation should not fail.

Additional information

$ dpkg -l | grep libssl
ii  libssl-dev:amd64                 3.0.11-1~deb12u2                        amd64        Secure Sockets Layer toolkit - development files
ii  libssl3:amd64                    3.0.11-1~deb12u2                        amd64        Secure Sockets Layer toolkit - shared libraries
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:    12
Codename:   bookworm
$ uname -a
Linux test-stage-keydb01 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux
deubert-it commented 1 month ago

Sorry, actually works as expected, at least if you are smart enough to actually put bookworm in the apt source definition.