On Sat, Jan 10, 2004 at 12:35:13AM +0000, Richard Lyons wrote:
..^^^^^^^^................^^^^^^^^^^^^^^^^^^^I went to ftp://ftp.debian.org/debian/pool/main/p/postgresql/ and got postgresql-client and postgresql, both 7.3.4-9. Then this is what happened: ----------------------- dpkg -i /home/richard/files/temp/postgres*.deb dpkg - warning: downgrading postgresql-client from 7.4.1-1 to 7.3.4-9. (Reading database ... 148728 files and directories currently installed.) Preparing to replace postgresql-client 7.4.1-1 (using .../ postgresql-client_7.3.4-9_i386.deb) ...
Unpacking replacement postgresql-client ... dpkg - warning: downgrading postgresql from 7.4.1-1 to 7.3.4-9. dpkg: regarding .../postgresql_7.3.4-9_i386.deb containing postgresql: libpgtcl conflicts with postgresql (<< 7.4)
There are more 'interdependancies' to be fulfilled here, see 'apt-cache show libpgtcl'...
postgresql (version 7.3.4-9) is to be installed. dpkg: error processing /home/richard/files/temp/ postgresql_7.3.4-9_i386.deb (--install): conflicting packages - not installing postgresql Setting up postgresql-client (7.3.4-9) ...
Errors were encountered while processing:
/home/richard/files/temp/postgresql_7.3.4-9_i386.deb
----------------------------
So there apparently was no problem with the client but the server failed. I was stumped then to know what to do next.
You could manually download all those dependancies and install them with dpkg, or try to change your /etc/apt/preferences to reflect |Package: * |Pin: release a=testing |Pin-Priority: 1001 that is, to give 'testing' the highest priority.
Then do a simple apt-get install postgresql and this package as well as all the packages it depends on will be downgraded to the testing version. Thereafter undo the changes to apt's preferences and proceed at will. (Unless of course some other nasty problem comes up. Downgrading is AFAIK not officially supported.)
HTH, Flo
signature.asc
Description: Digital signature