Thread: Dependency bugs in postgresql-9.3 packages -- RC1 does not install

Dependency bugs in postgresql-9.3 packages -- RC1 does not install

From
Josh Berkus
Date:
root@precise64:~# apt-get install postgresql-9.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 postgresql-9.3 : Depends: postgresql-client-9.3 but it is not going to
be installed
E: Unable to correct problems, you have held broken packages.

hmmm ...

root@precise64:~# apt-get install postgresql-client-9.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 postgresql-client-9.3 : Depends: libpq5 (>= 9.3~rc1) but it is not
going to be installed
E: Unable to correct problems, you have held broken packages.
root@precise64:~#

Ok, then:

root@precise64:~# apt-get install libpq5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libpq5
0 upgraded, 1 newly installed, 0 to remove and 140 not upgraded.
Need to get 536 kB of archives.
After this operation, 1,021 kB of additional disk space will be used.
Get:1 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main libpq5
amd64 9.2.4-1.pgdg12.4+1 [536 kB]
Fetched 536 kB in 2s (249 kB/s)
Selecting previously unselected package libpq5.
(Reading database ... 51338 files and directories currently installed.)
Unpacking libpq5 (from .../libpq5_9.2.4-1.pgdg12.4+1_amd64.deb) ...
Setting up libpq5 (9.2.4-1.pgdg12.4+1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

but ....

root@precise64:~# apt-get install postgresql-client-9.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 postgresql-client-9.3 : Depends: libpq5 (>= 9.3~rc1) but
9.2.4-1.pgdg12.4+1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@precise64:~#

???

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


Re: Dependency bugs in postgresql-9.3 packages -- RC1 does not install

From
Dimitri Fontaine
Date:
Josh Berkus <josh@agliodbs.com> writes:
> root@precise64:~# apt-get install libpq5
> Setting up libpq5 (9.2.4-1.pgdg12.4+1) ...

That tells me you didn't follow the docs at apt.postgresql.org… actually
you need to go check the FAQ these days it seems. As 9.3 is not released
yet you need to setup your system to fetch its libpq version:

  http://wiki.postgresql.org/wiki/Apt/FAQ
  http://wiki.postgresql.org/wiki/Apt/FAQ#I_want_to_try_the_beta_version_of_the_next_PostgreSQL_release

  deb http://apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main 9.3

So you just add 9.3 to your existing source line and try again.

We might need to add instructions on how to do that on the main debian
page at http://www.postgresql.org/download/linux/debian/.

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


Re: Dependency bugs in postgresql-9.3 packages -- RC1 does not install

From
Christoph Berg
Date:
Re: Dimitri Fontaine 2013-08-25 <m28uzq81hg.fsf@2ndQuadrant.fr>
> Josh Berkus <josh@agliodbs.com> writes:
> > root@precise64:~# apt-get install libpq5
> > Setting up libpq5 (9.2.4-1.pgdg12.4+1) ...
>
> That tells me you didn't follow the docs at apt.postgresql.org… actually
> you need to go check the FAQ these days it seems. As 9.3 is not released
> yet you need to setup your system to fetch its libpq version:
>
>   http://wiki.postgresql.org/wiki/Apt/FAQ
>   http://wiki.postgresql.org/wiki/Apt/FAQ#I_want_to_try_the_beta_version_of_the_next_PostgreSQL_release
>
>   deb http://apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main 9.3
>
> So you just add 9.3 to your existing source line and try again.

Ack.

> We might need to add instructions on how to do that on the main debian
> page at http://www.postgresql.org/download/linux/debian/.

For the 9.3.0 release, libpq5 and friends will be moved into the
"main" component, so the problem doesn't exist for the end user. (We
might need to add a bigger hint for the 9.3rc users, though, but the
FAQ should be clear.)

Christoph
--
cb@df7cb.de | http://www.df7cb.de/


Re: Dependency bugs in postgresql-9.3 packages -- RC1 does not install

From
Josh Berkus
Date:
All,

Ping?

> root@precise64:~# apt-get install postgresql-9.3
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  postgresql-9.3 : Depends: postgresql-client-9.3 but it is not going to
> be installed
> E: Unable to correct problems, you have held broken packages.
>
> hmmm ...
>
> root@precise64:~# apt-get install postgresql-client-9.3
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  postgresql-client-9.3 : Depends: libpq5 (>= 9.3~rc1) but it is not
> going to be installed
> E: Unable to correct problems, you have held broken packages.
> root@precise64:~#
>
> Ok, then:
>
> root@precise64:~# apt-get install libpq5
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following NEW packages will be installed:
>   libpq5
> 0 upgraded, 1 newly installed, 0 to remove and 140 not upgraded.
> Need to get 536 kB of archives.
> After this operation, 1,021 kB of additional disk space will be used.
> Get:1 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main libpq5
> amd64 9.2.4-1.pgdg12.4+1 [536 kB]
> Fetched 536 kB in 2s (249 kB/s)
> Selecting previously unselected package libpq5.
> (Reading database ... 51338 files and directories currently installed.)
> Unpacking libpq5 (from .../libpq5_9.2.4-1.pgdg12.4+1_amd64.deb) ...
> Setting up libpq5 (9.2.4-1.pgdg12.4+1) ...
> Processing triggers for libc-bin ...
> ldconfig deferred processing now taking place
>
> but ....
>
> root@precise64:~# apt-get install postgresql-client-9.3
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  postgresql-client-9.3 : Depends: libpq5 (>= 9.3~rc1) but
> 9.2.4-1.pgdg12.4+1 is to be installed
> E: Unable to correct problems, you have held broken packages.
> root@precise64:~#
>
> ???
>


--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


Re: Dependency bugs in postgresql-9.3 packages -- RC1 does not install

From
Josh Berkus
Date:
Guys,

Apologies for ping.  Andres contacted me; apparently your replies got
spam-trapped.

> That tells me you didn't follow the docs at apt.postgresql.org… actually
> you need to go check the FAQ these days it seems. As 9.3 is not released
> yet you need to setup your system to fetch its libpq version:
>
>   http://wiki.postgresql.org/wiki/Apt/FAQ
>   http://wiki.postgresql.org/wiki/Apt/FAQ#I_want_to_try_the_beta_version_of_the_next_PostgreSQL_release

Thanks, seem to work!

We should put a link on the downloads page if this is required for
beta-testing.  We can't reasonably expect users to find the FAQ on their
own.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com