[buildd-tools-devel] Bug#857770: src:postgresql-debversion: please provide a unversioned binary package

Christoph Berg myon at debian.org
Sat Mar 25 18:58:54 UTC 2017


Control: tags -1 moreinfo

Re: Antonio Terceiro 2017-03-14 <20170314200003.xupt5eddlfw5idux at debian.org>
> At the moment I am automating the installation of postgresql and and the
> debversion extension. The fact that there is no "unversioned" binary
> package makes that harder than necessary: I will have to hardcode
> postgresql-X.Y-debversion, and as soon as that deployment recipe need to
> be applied to a different Debian version, that will break.
> 
> So, please provide an unversioned binary package called
> 'postgresql-debversion' which depends on the actual package for the
> current PostgreSQL version.

Hi,

we can't simply put .so files for an arbitrary PostgreSQL version into
a postgresql-debversion.deb because that will break existing
installations on dist upgrade.

What we can do is to "Provides: postgresql-debversion" from each of
the postgresql-X.Y-debversion packages. That should fix your
deployment problem. (However, it won't make upgrades work, because
it doesn't keep the PostgreSQL and extension versions in sync.)

Does that help for your case?

Christoph



More information about the Buildd-tools-devel mailing list