postgresql connection wants python-psycopg2 package, but in ubuntu repo package name is python3-psycopg2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-oslo |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
When istalling keystone module needs python-psycopg2 package:
[muxa@stolyarov-ocs temp]$ grep -nri python-psycopg2 puppet-oslo/
puppet-
puppet-
But in Ubuntu default repos (20.04, 22.04) there is no such package. Only python3-psycopg2.
So module not workin =(
Log from puppet:
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options:
Building dependency tree...
Reading state information...
Package python-psycopg2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python-psycopg2' has no installation candidate
Error: /Stage[
Building dependency tree...
Reading state information...
Package python-psycopg2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python-psycopg2' has no installation candidate
Notice: /Stage[
Additional info
root@ost-m01-v:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
root@ost-m01-v:~# apt search python psycopg2
Sorting... Done
Full Text Search... Done
python-
Python module for PostgreSQL (documentation package)
python3-
psycopg2 integration with coroutine libraries
python3-
Python 3 module for PostgreSQL
python3-
Python 3 module for PostgreSQL (debug extension)
description: | updated |
Hmm... Seems to be it is a bug in postgresql puppet module. Not a puppet-oslo