Coder Social home page Coder Social logo

New release with PG16 support about pgtap HOT 10 CLOSED

df7cb avatar df7cb commented on June 11, 2024
New release with PG16 support

from pgtap.

Comments (10)

theory avatar theory commented on June 11, 2024 1

Boom

from pgtap.

theory avatar theory commented on June 11, 2024

I'll put some time into it this week; it has been a while!

from pgtap.

theory avatar theory commented on June 11, 2024

I'm updating the pgxn-tools Docker image, but Weirdly getting these errors running sudo sh apt.postgresql.org.sh -i -t -v 16.

The following information may help to resolve the situation:

The following packages have unmet dependencies:
 postgresql-16 : Depends: postgresql-client-16 but it is not going to be installed
                 Depends: postgresql-common (>= 252~) but 248 is to be installed
                 Depends: libpq5 (>= 16~~) but 15.3-0+deb12u1 is to be installed
                 Recommends: sysstat but it is not going to be installed
 postgresql-server-dev-16 : Depends: libpq-dev (>= 16~~) but 15.3-0+deb12u1 is to be installed
                            Depends: postgresql-client-16 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Is this issue specific to Bookworm, perhaps?

from pgtap.

df7cb avatar df7cb commented on June 11, 2024

Does running without -t work better? The *-pgdg-testing suites have a lower apt pin priority so apt is in some situations reluctant to pick packages from there.

from pgtap.

theory avatar theory commented on June 11, 2024

No, I added the -t to try to fix this issue.

from pgtap.

theory avatar theory commented on June 11, 2024

WTF, that did fix it. o_O.

from pgtap.

theory avatar theory commented on June 11, 2024

Okay, got that deployed and the v16 tests now pass, but not the upgrades, which fail on this command:

$ apt-get install -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" postgresql-16 postgresql-server-dev-16

Package 'postgresql-server-dev-16' has no installation candidate

I tried removing postgresql-server-dev-16, but it still errors with:

Package 'postgresql-16' has no installation candidate

Works okay with 15. Maybe there's some way to use apt.postgresql.org.sh instead? This is to install a second version alongside the first and run it on a separate port so we an test an upgrade…

from pgtap.

theory avatar theory commented on June 11, 2024

Yup, that did it. Thanks!

from pgtap.

theory avatar theory commented on June 11, 2024

Done

from pgtap.

df7cb avatar df7cb commented on June 11, 2024

Thanks, the Debian packages are also happy now!

from pgtap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.