Re: postgresql 9.3 packages missing from repository

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: postgresql 9.3 packages missing from repository
Дата
Msg-id 20140327084212.GA12703@msgid.df7cb.de
обсуждение исходный текст
Ответ на postgresql 9.3 packages missing from repository  (Martin Kuba <makub@ics.muni.cz>)
Список pgsql-pkg-debian
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/


В списке pgsql-pkg-debian по дате отправления:

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: postgresql 9.3 packages missing from repository
Следующее
От: Danny Guinther
Дата:
Сообщение: Can't start 9.3.4 after reboot because socket dir not created?