[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Postgresql install trouble



I'm having trouble getting postgresql to install on a fresh woody installation. Postrgresql installed for me with no problem on another machine back in September, but this time it's not cooperating. Here's what happens:
 
root@host# apt-get -t unstable install postgresql
Reading Package Lists... Done
Building Dependency Tree... 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.
 
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
 
Sorry, but the following packages have unmet dependencies:
  postgresql: Depends: libkrb5-17-heimdal (>= 0.4e-23) but it is not going to be installed
              Depends: postgresql-client but it is not going to be installed
              Depends: libpq3 (>= 7.3.1) but it is not going to be installed
E: Sorry, broken packages
 
Note that the packages listed are available, so I don't see why apt-get doesn't just list them as dependencies to be installed.
 
root@lab2:/etc/apt# feta available libpq3
Package                            Available                     Installed
================================================================================
libpq3                             7.3.1-5
root@lab2:/etc/apt# feta available libkrb5-17-heimdal
Package                            Available                     Installed
================================================================================
libkrb5-17-heimdal                 0.4e-23
root@lab2:/etc/apt# feta available postgresql-client
Package                            Available                     Installed
================================================================================
 
I found a bug report similar to this issue at the following link, but the comment made by the package maintainer in resolving the bug indicates that the problem is with the user's failure to resolve the dependency him/herself (see below). But it's not clear to me how to resolve the dependency, or why apt-get doesn't do it automatically as usual. So I'm asking here to see what should be done.
 
Thanks,
 
Dave De Graff
 
Related bug and resolution comment:
 
 
> -- System Information:
> Debian Release: testing/unstable
> Architecture: i386
> Kernel: Linux kiev 2.4.19 #7 Tue Jan 21 20:45:59 EST 2003 i686
> Locale: LANG=C, LC_CTYPE=C
> 
> 
> Exerpt frmo 'apt-get install postgresql-dev':
> 
> Sorry, but the following packages have unmet dependencies:
>   postgresql-dev: Depends: libpq3 (>= 7.3.1) but it is not going to be
>   installed
> E: Sorry, broken packages

So sort out the dependency.  Downgrade libpgsql2 to 7.2.3-x

-- 

 

Reply to: