|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] debian upgrade confusion
|
On Sat, Sep 01, 2001 at 12:03:32PM +0200, Jeff Abrahamson wrote:
> > [Wherein I spoke of wanting to upgrade from potato to woody, and my
> > fears and trepidations related thereto. And various people offered
> > useful advice and comforting assurances that all would be well in
> > the end.]
>
> OK, I did it. Or, that is, I'm still doing it. But I've got a bit of a
> problem.
>
> The dist-upgrade terminated with
>
> ------------------------------------------------------------------
> ...
> Selecting previously deselected package postgresql.
> (Reading database ... 42027 files and directories currently installed.)
> Unpacking postgresql (from .../postgresql_7.1release-4_i386.deb) ...
>
> Found an existing database directory at /var/lib/postgres/data
>
> Selecting previously deselected package libpgtcl.
> Unpacking libpgtcl (from .../libpgtcl_7.1release-4_i386.deb) ...
> (Reading database ... 42606 files and directories currently installed.)
> Removing libpgsql2 ...
> /var/lib/dpkg/info/libpgsql2.prerm: /etc/postgresql/postmaster.conf: No such file or directory
> dpkg: error processing libpgsql2 (--remove):
> subprocess pre-removal script returned error exit status 1
> Errors were encountered while processing:
> libpgsql2
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> You have new mail in /var/spool/mail/jeff
> diderot:~#
> ------------------------------------------------------------------
>
> So I tried again:
>
Hmmmm. Looks like you area stuck at the point of removing
libpgsql2. Try..
~# touch /etc/postgresql/postmaster.conf
~# dpkg -r libpgsql2
I doubt you'll get far until libpgsql2 is removed....You could
cheat the whole issue by changing
/var/lib/dpkg/info/libpgsql2.prerm to return successfully.
Greg
______________________________________________________________________
Philadelphia Linux Users Group - http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|