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

Re: Failure in build script



On Sun, 27 Jan 2008, beamends wrote:

> Hi Luke,
> thanks for that. The postgres problem was probably 2 things :
> 
> ..hidden..:~$ /etc/init.d/postgresql-8.1 restart
> open: Permission denied
>  * Restarting PostgreSQL 8.1 database server
> open: Permission denied
>  * Error: You must run this program as the cluster owner (postgres)
> open: Permission denied
>
> so something has gone wrong there!

/etc/init.d scripts must be run as root.  Try as "sudo 
/etc/init.d/postgresql-8.1 restart".

> The other is :
> ..hidden..:~$ sudo apt-get -q install postgresql-8.2
> Reading package lists...
> Building dependency tree...
> Reading state information...
> Package postgresql-8.2 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 postgresql-8.2 has no installation candidate

You're almost certainly missing a source listing or two.

Luke