Package: postgresql-common
Version: 225
Followup-For: Bug #986186

After successfully dumping my database as described above, I upgraded
the cluster to version 13 which worked nicely.

However, when I run pg_dump with the upgraded cluster running on port
5433, I get

LANG=C pg_dump -p 5433 my_database
pg_dump: server version: 13.2 (Debian 13.2-1); pg_dump version: 11.6 (Debian 
11.6-0+deb10u1)
pg_dump: aborting because of server version mismatch

I thought this may be due to the buster packages still being installed,
so I removed postgresql-11. After that, I get

Error: PostgreSQL version 11 is not installed

Is it possible that pg_dump in bullseye does not work at all with the
default postgresql package in bullseye?

Cheers,

Johannes

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages postgresql-common depends on:
ii  adduser                   3.118
ii  debconf [debconf-2.0]     1.5.75
ii  lsb-base                  11.1.0
ii  perl                      5.32.1-3
ii  postgresql-client-common  225
ii  ssl-cert                  1.1.0
ii  ucf                       3.0043

Versions of packages postgresql-common recommends:
ii  e2fsprogs  1.46.2-1
ii  logrotate  3.18.0-2

Versions of packages postgresql-common suggests:
ii  libjson-perl  4.03000-1

-- Configuration Files:
/etc/apt/apt.conf.d/01autoremove-postgresql changed [not included]

-- debconf information:
  postgresql-common/ssl: true
* postgresql-common/obsolete-major:
  postgresql-common/catversion-bump:

Reply via email to