We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module tries to install package python-psycopg2 under Ubuntu 22.04 where that package no longer exists. It is available as python3-psycopg2 instead.
python-psycopg2
python3-psycopg2
Module should distinguish between Ubuntu versions >= 22.04 and < 22.04 and install the correctly named Python PostgreSQL package.
include postgresql::lib::python on Ubuntu 22.04
include postgresql::lib::python
Watch Puppet agent run fail:
E: Unable to locate package python-psycopg2 Error: /Stage[main]/Postgresql::Lib::Python/Package[python-psycopg2]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install python-psycopg2' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package python-psycopg2 (corrective)
The text was updated successfully, but these errors were encountered:
(puppetlabs#1556) Fix Python package name for Ubuntu >= 22.04
f02d33c
For Ubuntu 22.04 and later the Python PostgreSQL package is called "python3-psycopg2" so make that distinction in params.pp.
(puppetlabs#1556) Fix Python package name for Ubuntu >= 22.04 and Deb…
9d4fc30
…ian 12 For Ubuntu 22.04 and Debian 12 and later the Python PostgreSQL package is called "python3-psycopg2" so make that distinction in params.pp.
a0c15e0
Successfully merging a pull request may close this issue.
Describe the Bug
Module tries to install package
python-psycopg2
under Ubuntu 22.04 where that package no longer exists. It is available aspython3-psycopg2
instead.Expected Behavior
Module should distinguish between Ubuntu versions >= 22.04 and < 22.04 and install the correctly named Python PostgreSQL package.
Steps to Reproduce
include postgresql::lib::python
on Ubuntu 22.04Watch Puppet agent run fail:
Environment
The text was updated successfully, but these errors were encountered: