Public bug reported: Description: Ubuntu 9.04 Release: 9.04 System: VPS at Tektonic
The system was previously running Debian Lenny and I switched to Jaunty. It was mostly clean process except postgresql. Finally I removed everything related to postgresql (config, data, binaries, scripts) and tried to install from scratch. At the end of the installation initdb is unable to find postgres binary under /usr/lib/postgresql/8.3/bin although it is there. also /dev/null permissions are ok and udev is not running at all: ls -lart /dev/null crw-rw-rw- 1 root root 1, 3 2008-06-24 07:56 /dev/null Command to install: sudo apt-get install postgresql Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: postgresql-8.3 postgresql-client-8.3 postgresql-client-common postgresql-common Suggested packages: oidentd ident-server postgresql-doc-8.3 The following NEW packages will be installed: postgresql postgresql-8.3 postgresql-client-8.3 postgresql-client-common postgresql-common 0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded. Need to get 0B/4755kB of archives. After this operation, 19.9MB of additional disk space will be used. Do you want to continue [Y/n]? WARNING: The following packages cannot be authenticated! postgresql-client-common postgresql-client-8.3 postgresql-common postgresql-8.3 postgresql Install these packages without verification [y/N]? y Preconfiguring packages ... Selecting previously deselected package postgresql-client-common. (Reading database ... 62295 files and directories currently installed.) Unpacking postgresql-client-common (from .../postgresql-client-common_97_all.deb) ... Selecting previously deselected package postgresql-client-8.3. Unpacking postgresql-client-8.3 (from .../postgresql-client-8.3_8.3.7-1_i386.deb) ... Selecting previously deselected package postgresql-common. Unpacking postgresql-common (from .../postgresql-common_97_all.deb) ... Selecting previously deselected package postgresql-8.3. Unpacking postgresql-8.3 (from .../postgresql-8.3_8.3.7-1_i386.deb) ... Selecting previously deselected package postgresql. Unpacking postgresql (from .../postgresql_8.3.7-1_all.deb) ... Processing triggers for man-db ... Setting up postgresql-client-common (97) ... Setting up postgresql-client-8.3 (8.3.7-1) ... Setting up postgresql-common (97) ... Building PostgreSQL dictionaries from installed myspell/hunspell packages... en_us Setting up postgresql-8.3 (8.3.7-1) ... Creating new cluster (configuration: /etc/postgresql/8.3/main, data: /var/lib/postgresql/8.3/main)... fgets failure: Bad file descriptor The program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/8.3/bin/initdb". Check your installation. Error: initdb failed Error: could not create default cluster. Please create it manually with pg_createcluster 8.3 main --start or a similar command (see 'man pg_createcluster'). Setting up postgresql (8.3.7-1) ... ** Affects: postgresql-8.3 (Ubuntu) Importance: Undecided Status: New -- The program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/8.3/bin/initdb". https://bugs.launchpad.net/bugs/361002 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs