Sounds like apt thinks that postgresql is already installed at the latest release. You could try; 1) doing and uninstall followed by an installl (but I'm a bit wary of that as uninstall can also clobber other packes you don't want uninstalled) 2) try reconfiguring the package with dpkg --configure [package name] - check the syntax of that via the man page 3) I think there's an apt-get option that will force a re-install of an existing package, again check the apt-get man page. Keith ____________ The natural order of things includes us, and its laws are our laws. We are an endless moving stream in an endless moving stream. Jisho Warner On 6/30/2004, "Jenny Hopkins" <Jenny@toby-churchill.com> wrote:
Hi, I'm having problems installing postgresql when it gets to the post-installation script, output is below.
ducati:/etc/init.d# apt-get install postgresql Reading Package Lists... Done Building Dependency Tree... Done postgresql is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used.. Setting up postgresql (7.4.2-4) ... mv: cannot stat `/etc/init.d/postgresql.dpkg-dist': No such file or directory dpkg: error processing postgresql (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: postgresql E: Sub-process /usr/bin/dpkg returned an error code (1)
Does anyone know what could be going on here?
Thanks, Jen
______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
_______________________________________________ main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!