Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Rainer Weikusat Newsgroups: comp.databases.postgresql Subject: Re: postgresql-9.4 installation fails on debian wheezy Date: Fri, 09 Jan 2015 16:07:02 +0000 Lines: 31 Message-ID: <8761cgsztl.fsf@doppelsaurus.mobileactivedefense.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: individual.net 88QFteS8JNUr9AH8bibbBQMgVmk/KB5Cr0YjnmgL2JXIpPp3g= Cancel-Lock: sha1:WNXglsnMB9v36r8cNzikEDZoH8I= sha1:KLkxKWrAr4WHRmkC507TbfWqJws= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Xref: csiph.com comp.databases.postgresql:621 inoyonartlover@googlemail.com writes: > hi there! :) > > in my file: > > /etc/apt/sources.list.d/postgres.list > > I got: > > deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main > > after the installation process I have to enter: > > pg_createcluster 9.4 main -start > > but the answer is: > > Creating new cluster 9.4/main ... > config /etc/postgresql/9.4/main > data /var/lib/postgresql/9.4/main > locale en_US.UTF-8 > Flags of /var/lib/postgresql/9.4/main set as -------------e-C > could not change directory to "/etc/apt/sources.list.d": Permission denied > initdb: could not look up effective user ID 104: Permission denied > Error: initdb failed > > os is debian wheezy > > what can I do? Try this again as root?