On Tue, Oct 25, 2005 at 05:02:58PM +0200, Steinar H. Gunderson wrote: > After upgrading from 8.0+8.1beta-3 to 8.0+8.1beta3-1, I get > > pannekake:~# /etc/init.d/postgresql-8.1 start > Starting PostgreSQL 8.1 database server: mainError: Could not parse > locale out of pg_controldata output > failed!
FWIW, I rebuilt the package on another machine, running sarge, and got exactly the same problem: altersex:~/postgresql-8.1-8.0+8.1beta4# dpkg -i ../postgresql-8.1_8.0+8.1beta4-1_i386.deb (Reading database ... 94490 files and directories currently installed.) Preparing to replace postgresql-8.1 8.0+8.1beta-3 (using .../postgresql-8.1_8.0+8.1beta4-1_i386.deb) ... Stopping PostgreSQL 8.1 database server: main. Unpacking replacement postgresql-8.1 ... Setting up postgresql-8.1 (8.0+8.1beta4-1) ... Starting PostgreSQL 8.1 database server: main(FAILED) Error: Could not parse locale out of pg_controldata output invoke-rc.d: initscript postgresql-8.1, action "start" failed. OTOH, some more debugging soon found out why it refused: altersex:~# /usr/lib/postgresql/8.1/bin/pg_controldata /var/lib/postgresql/8.1/main WARNING: Calculated CRC checksum does not match value stored in file. Either the file is corrupt, or it has a different layout than this program is expecting. The results below are untrustworthy. pg_control version number: 811 Catalog version number: 200509161 Database system identifier: 4851525123739228133 Database cluster state: shut down pg_control last modified: Fri Oct 28 12:55:36 2005 Current log file ID: 0 Next log file segment: 22 Latest checkpoint location: 0/15CBFEE0 Prior checkpoint location: 0/15CBFE9C Latest checkpoint's REDO location: 0/15CBFEE0 Latest checkpoint's UNDO location: 0/0 Latest checkpoint's TimeLineID: 1 Latest checkpoint's NextXID: 35515 Latest checkpoint's NextOID: 1491413 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Time of latest checkpoint: Fri Oct 28 12:55:35 2005 Maximum data alignment: 8192 Database block size: 64 Blocks per segment of large relation: 32 Bytes per WAL segment: 1 Maximum length of identifiers: 128 Maximum columns in an index: 67 Date/time type storage: floating-point numbers Maximum length of locale name: 0 LC_COLLATE: LC_CTYPE: My guess is simply that upstream changed the data format and forgot to change the version. /* Steinar */ -- Homepage: http://www.sesse.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]