Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6E728475CC4 for ; Wed, 27 Nov 2002 16:13:25 -0500 (EST) Received: from anchor-post-39.mail.demon.net (anchor-post-39.mail.demon.net [194.217.242.80]) by postgresql.org (Postfix) with ESMTP id A449C475A3F for ; Wed, 27 Nov 2002 16:13:24 -0500 (EST) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 18H9Ur-0002Sp-0U; Wed, 27 Nov 2002 21:13:25 +0000 Received: from localhost ([127.0.0.1] ident=olly) by linda.lfix.co.uk with esmtp (Exim 3.36 #1 (Debian)) id 18H9Uq-0006EQ-00; Wed, 27 Nov 2002 21:13:24 +0000 Subject: Re: Problems invoking psql, was: Re: Troubles at From: Oliver Elphick To: Hugh Esco Cc: pgsql-admin@postgresql.org In-Reply-To: <5.1.0.14.0.20021127113501.02f106c0@petra.cagreens.org> References: <5.1.0.14.0.20021127113501.02f106c0@petra.cagreens.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-fbA00i+i6k5/gqbEOX9m" Organization: LFIX Limited Message-Id: <1038431603.13298.296.camel@linda.lfix.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 27 Nov 2002 21:13:24 +0000 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/288 X-Sequence-Number: 6476 --=-fbA00i+i6k5/gqbEOX9m Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2002-11-27 at 17:03, Hugh Esco wrote: > I'm resending this, sans attachments, and to the list this time for other= s=20 > edification, to correct some typos by my attempt to recreate the shell=20 > dialogue. Those first two lines are cat'ing diversions, not diversions.t= xt. >=20 > It seemed simpler than a continuous exchange of questions to clarify what= =20 > it is you are looking for. But in case I do understand where you are=20 > going, here is a quick shell dialogue that could permit you to delete the= se=20 > text files unopened. >=20 > biko:/var/lib/dpkg# cat diversions | grep Package: > packages.txt > biko:/var/lib/dpkg# cat diversions | grep sql > sql.txt > biko:/var/lib/dpkg# cat packages.txt | grep sql > sqlpackages.txt > biko:/var/lib/dpkg# cat sqlpackages.txt > Package: mysql-common > Package: php4-pgsql > Package: mysql-server > Package: libmysqlclient10 > Package: postgresql-client > Package: libdbd-mysql-perl > Package: postgresql > Package: postgresql-doc > Package: mysql-client > Package: libpgsql2 > Package: php4-mysql > biko:/var/lib/dpkg# >=20 > I'm guessing that this diversion file tracks every package ever installed? I replied to this earlier in private mail. For the benefit of the list, I should explain that he has somehow got the Debian packaging database in a twist, and has a corrupt diversions file. Best course is probably to reinstall the O/S from scratch. --=20 Oliver Elphick LFIX Limited --=-fbA00i+i6k5/gqbEOX9m Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA95TVzYU1MND4dDBwRAtVzAKCG5eVSl3w4X4Vp7OelDFH2Qh3ZrgCgklPn k5YzQomI2JwCEDvwkr6yGLo= =ry4Y -----END PGP SIGNATURE----- --=-fbA00i+i6k5/gqbEOX9m--