It is very strance Martin, If I collect trace, it works. For example this works:
sudo -u postgres strace -o /tmp/strace -vfs 1024 /usr/lib/postgresql/8.3/bin/initdb -D /var/lib/postgresql/main -W However this one fails with the same error sudo -u postgres /usr/lib/postgresql/8.3/bin/initdb -D /var/lib/postgresql/main -W Could this be related to some problem with dev tree ? Before switching apt sources to Jaunty, Lenny's postgresql was running fine. -- 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