Thread: postgresql 9.3 packages missing from repository

postgresql 9.3 packages missing from repository

From
Martin Kuba
Date:
Hi,

the repository at http://apt.postgresql.org/pub/repos/apt/
is missing the files for postgresdql 9.3.
I were present yesterday morning, but went missing after that.

best regards

Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CERIT-SC                               Martin Kuba
Institute of Computer Science    email: makub@ics.muni.cz
Masaryk University             http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ     mobil: +420-603-533775
--------------------------------------------------------------


Attachment

Re: postgresql 9.3 packages missing from repository

From
Christoph Berg
Date:
Re: Martin Kuba 2014-03-26 <53328772.5080603@ics.muni.cz>
> Hi,
>
> the repository at http://apt.postgresql.org/pub/repos/apt/
> is missing the files for postgresdql 9.3.
> I were present yesterday morning, but went missing after that.

If you mean that there's no "9.3" subdirectories there, that's ok.

postgresql-9.3 is in the "main" component (as well as the other
versions - just ignore the 9.x directories, they are there for
technical reasons:

https://wiki.postgresql.org/wiki/Apt/FAQ#I_want_libpq5_for_version_X.2C_but_there_is_only_version_Y_in_the_repository )

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


Re: postgresql 9.3 packages missing from repository

From
Christoph Berg
Date:
Re: Martin Kuba 2014-03-26 <5332C166.9020201@ics.muni.cz>
> >>the repository at http://apt.postgresql.org/pub/repos/apt/
> >>is missing the files for postgresdql 9.3.
> >>I were present yesterday morning, but went missing after that.
> >
> >If you mean that there's no "9.3" subdirectories there, that's ok.
> >
> >postgresql-9.3 is in the "main" component (as well as the other
> >versions - just ignore the 9.x directories, they are there for
> >technical reasons:
> >
>
>https://wiki.postgresql.org/wiki/Apt/FAQ#I_want_libpq5_for_version_X.2C_but_there_is_only_version_Y_in_the_repository) 
>
> But I can't install postgresql-9.3 on Debian wheezy. Even if I add file
> /etc/apt/sources.list.d/pgdg.list
> with content
>
> deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main 9.3

"9.3" is wrong there, just use "main".

> then an install fails:
>
> # 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
>                   Depends: postgresql-common (>= 142~) but 134wheezy4 is to be installed
> E: Unable to correct problems, you have held broken packages.

You have apt pinning configured. You need to either raise the
apt.postgresql.org priority to at least the same value:

/etc/apt/preferences.d/pgdg.pref:
Package: *
Pin: release o=apt.postgresql.org
Pin-Priority: 800

or try:

apt-get install -t wheezy-pgdg postgresql-9.3

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