[Pkg-puppet-devel] Bug#777607: puppet-module-puppetlabs-postgresql: Module tries to install postgresql-9.3 on jessie and fails

Arnd Hannemann arnd at arndnet.de
Tue Feb 10 15:56:25 UTC 2015


Package: puppet-module-puppetlabs-postgresql
Version: 4.0.0-1
Severity: important

Dear Maintainer,

the puppetlabs postgresql module  tries to install postgresql-9.3 on jessie and fails, because
jessie ships postgresql-9.4. Upstream this bug seems to be fixed with commit:
https://github.com/puppetlabs/puppetlabs-postgresql/commit/9bb1c5e491463fe64beff663be156d6724b4e06e

Steps to reproduce:
root at jessiepuppet:~# echo 'class { 'postgresql::server': }' > example.pp
root at jessiepuppet:~# puppet apply example.pp
Notice: Compiled catalog for jessiepuppet.novalocal in environment production in 1.54 seconds
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install postgresql-client-9.3' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package postgresql-client-9.3
E: Couldn't find any package by regex 'postgresql-client-9.3'
Error: /Stage[main]/Postgresql::Client/Package[postgresql-client]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install postgresql-client-9.3' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package postgresql-client-9.3
E: Couldn't find any package by regex 'postgresql-client-9.3'
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install postgresql-9.3' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
Package postgresql-9.3 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 'postgresql-9.3' has no installation candidate
Error: /Stage[main]/Postgresql::Server::Install/Package[postgresql-server]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install postgresql-9.3' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
Package postgresql-9.3 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 'postgresql-9.3' has no installation candidate
Notice: /Stage[main]/Postgresql::Server::Initdb/File[/var/lib/postgresql/9.3/main]: Dependency Package[postgresql-server] has failures: true
...

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages puppet-module-puppetlabs-postgresql depends on:
ii  puppet-common                    3.7.2-1
ii  puppet-module-puppetlabs-apt     1.4.2-1
ii  puppet-module-puppetlabs-concat  1.1.1-1
ii  puppet-module-puppetlabs-stdlib  4.3.2-1

puppet-module-puppetlabs-postgresql recommends no packages.

Versions of packages puppet-module-puppetlabs-postgresql suggests:
pn  postgresql-client-common  <none>

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory



More information about the Pkg-puppet-devel mailing list