Package: pgbouncer Severity: important Dear Maintainer,
I want to install the package pgbouncer. The command I ran was: sudo apt install pgbouncer I got the following error message: The following packages have unmet dependencies: pgbouncer : Depends: libevent-2.1-6 (>= 2.1.8-stable) but it is not installable E: Unable to correct problems, you have held broken packages. Not sure what the error is causing. I check if there are alternatives by running: apt show pgbouncer -a This shows there is an alternative version, so I try that: sudo apt install pgbouncer=1.17.0-4.pgdg100+1 This also doesn't work; the error message is: The following packages have unmet dependencies: pgbouncer : Depends: libevent-2.1-6 (>= 2.1.8-stable) but it is not installable E: Unable to correct problems, you have held broken packages. Then I tried to install libevent-2.1.6 by hand: sudo apt install libevent-2.1-7 This worked. However, when installing pgbouner, I got the same error message: sudo apt install pgbouncer Error: The following packages have unmet dependencies: pgbouncer : Depends: libevent-2.1-6 (>= 2.1.8-stable) but it is not installable E: Unable to correct problems, you have held broken packages. When running the installation of libevent-2.1.6 again, it says it is already installed, so the error messsage of installing pgbouncer must be incorrect. -- System Information: Debian Release: 11.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-17-amd64 (SMP w/1 CPU thread) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages pgbouncer depends on: ii init-system-helpers 1.60 pn libc-ares2 <none> ii libc6 2.31-13+deb11u5 pn libevent-2.1-6 <none> pn libevent-2.1-7 <none> ii libpam0g 1.4.0-9+deb11u1 ii libssl1.1 1.1.1n-0+deb11u3 ii libsystemd0 247.3-7+deb11u1 ii lsb-base 11.1.0 ii postgresql-common 246.pgdg100+1 pgbouncer recommends no packages. Versions of packages pgbouncer suggests: ii python3 3.9.2-3 pn python3-psycopg2 <none>