It seems the permissions on some of your system directories are wrong. Can you please show me the output of
ls -ld /sbin /bin /usr/sbin/ /usr/bin/ ? ** Changed in: postgresql-9.1 (Ubuntu) Status: New => Incomplete ** Package changed: postgresql-9.1 (Ubuntu) => postgresql-common (Ubuntu) ** Summary changed: - package postgresql-9.1 9.1.9-1ubuntu1 failed to install/upgrade: subproces installed pre-removal script gaf een foutwaarde 1 terug + Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/pg_ctlcluster line 247 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to postgresql-9.1 in Ubuntu. https://bugs.launchpad.net/bugs/1229562 Title: Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/pg_ctlcluster line 247 Status in “postgresql-common” package in Ubuntu: Incomplete Bug description: I removed postgresql because errors occured when adressing the server/tables. When I tried to reinstall the package was broken. Cheers Guus ProblemType: Package DistroRelease: Ubuntu 13.04 Package: postgresql-9.1 9.1.9-1ubuntu1 ProcVersionSignature: Ubuntu 3.8.0-31.46-generic 3.8.13.8 Uname: Linux 3.8.0-31-generic x86_64 NonfreeKernelModules: nvidia hid_generic usbhid hid firewire_ohci firewire_core crc_itu_t ahci libahci r8169 sdhci_pci sdhci ApportVersion: 2.9.2-0ubuntu8.4 Architecture: amd64 Date: Tue Sep 24 08:21:30 2013 DuplicateSignature: package:postgresql-9.1:9.1.9-1ubuntu1:subproces installed pre-removal script gaf een foutwaarde 1 terug ErrorMessage: subproces installed pre-removal script gaf een foutwaarde 1 terug MarkForUpload: True SourcePackage: postgresql-9.1 Title: package postgresql-9.1 9.1.9-1ubuntu1 failed to install/upgrade: subproces installed pre-removal script gaf een foutwaarde 1 terug UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/1229562/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp