I agree to the check of mastier1:

Old version
$ apt download postgresql-12=12.2-4
$ dpkg -x postgresql-12_12.2-4_amd64.deb old
$ nm -D old/usr/lib/postgresql/12/lib/plpgsql.so | grep 
EnsurePortalSnapshotExists

New version
$ apt download postgresql-12=12.8-0ubuntu0.20.04.1
$ dpkg -x postgresql-12_12.8-0ubuntu0.20.04.1_amd64.deb new
$ nm -D new/usr/lib/postgresql/12/lib/plpgsql.so | grep 
EnsurePortalSnapshotExists
                 U EnsurePortalSnapshotExists


In regard to the underlying change it was:
  
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=41c6a5bec25e720d98bd60d77dd5c2939189ed3c

There are other commits then using it, but this is the addition.
$ git tag --contains 41c6a5bec25e720d98bd60d77dd5c2939189ed3c
REL_12_8

So yeah 12.8 added that symbols, but that should not be a problem in the
postgresql packaging but in the mix&match that the maas snap does.

But a symbol-add should not break things - not if from the same build.
It could be as Marc suggested that maas uses mixed components of which some
now need a refresh or rebuild?

@maas I'm not sure what else to do here, do you have a way to check and
fix this in your snap build?

** Also affects: maas (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: maas
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939898

Title:
  Unnatended postgresql-12 upgrade caused MAAS internal error

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1939898/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to