Обсуждение: Unmet dependency Ubuntu 15.10

Поиск
Список
Период
Сортировка

Unmet dependency Ubuntu 15.10

От
Scottix
Дата:
I am trying to install postgresql-9.5 on Ubuntu 15.10 but I am getting an unmet dependency.

cat /etc/apt/sources.list.d/pgdg.list 

4.2.0-23-generic #28-Ubuntu SMP

~/r/a/src> sudo apt-get install postgresql-9.5
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.5 : Depends: postgresql-client-9.5
                  Depends: postgresql-common (>= 142~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

~/r/a/src> sudo apt-get install postgresql-common
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-common : Depends: postgresql-client-common (>= 172.pgdg15.10+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

~/r/a/src> sudo apt-get install postgresql-client-common
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-common : Depends: pgdg-keyring but it is not installable
E: Unable to correct problems, you have held broken packages.

~/r/a/src> sudo apt-get install pgdg-keyring
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package pgdg-keyring is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'pgdg-keyring' has no installation candidate

Re: Unmet dependency Ubuntu 15.10

От
Adrian Klaver
Дата:
On 01/09/2016 01:15 PM, Scottix wrote:
> I am trying to install postgresql-9.5 on Ubuntu 15.10 but I am getting
> an unmet dependency.

Believe that is fixed now:

http://www.postgresql.org/message-id/CAG2W7jfm=rx1mG2-9uwPbBiBJ2Ag2kA1iRLp6=PkfVuqE7XoMg@mail.gmail.com



--
Adrian Klaver
adrian.klaver@aklaver.com