Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fjCqJ-0004EF-02 for pgsql-general@arkaria.postgresql.org; Sat, 28 Jul 2018 00:12:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fjCqF-000534-GH for pgsql-general@arkaria.postgresql.org; Sat, 28 Jul 2018 00:12:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fjCqE-00052x-Eo for pgsql-general@lists.postgresql.org; Sat, 28 Jul 2018 00:12:15 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fjCq9-0007LW-5W for pgsql-general@postgresql.org; Sat, 28 Jul 2018 00:12:13 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3358F20BE3; Fri, 27 Jul 2018 20:12:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 27 Jul 2018 20:12:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=LHwSQhDLsF3JWzPgyykBvMWxeqYnF 08kL7km/wtCVng=; b=VnKuHOADFPhSvqRqa4PMi8KOxznohdWxbdZFmkbb2/WXv qfgG0+e1Oi1K3CPzQ4rGnVLzmn+lLcAiVxrPHgf18/AxmJ7gWN3n+mcjSBnHoloX PlPYWe5fcfT/ckojI+Dq8nlTKsO0dB//sA+JNCGo5ldK2ekGDyDFWes7Jtt0Zb11 h8wq6ThnD3eBuhWbNbnt80wUPNb5YCuRVatZnTkvT8rw68tBdsgzXa9hrkOYjlZ4 IjjPlzuPIeqzHGXblfn6hXuk+luCf5rNQPuwVi++wtdGXA89MaTbXPubmveNZK0f wkTnR2ZBST/ZizmHUYhlfemJOXM0jQCpRtGRJvXwA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=LHwSQh DLsF3JWzPgyykBvMWxeqYnF08kL7km/wtCVng=; b=fkXYbxarBTkowlT+rOnJOW L9i0MxyOZaHEO7x0I3l18iTpJapEf6WIufx+JQB/WgZ6SfL8aHhbWlOPXQROyuN4 44zO+5cw2g5YQ3sKC2GefkpDdY1SHy6G8qj05CSEa8o2e6CmGTNZbd+4XGlrM2sn H4R97WhR0FTtJJ+Y0bv7P0ASM2pRew7RstzlQmbiykSHGjBHzML6TCiNIVLOZHq9 3Jy1afY80EEgtH1qXR7GRjp0MwB4H00Bq7AquMs+jdQq0xXxD/fyWrgOIuY7X35J DnmanIXX5EQLbSI+apYg6gSc0HY3kZxTYNZlWYUjDu788zAjf9HYqN9YfXWrVBAQ == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.3] (unknown [71.212.134.181]) by mail.messagingengine.com (Postfix) with ESMTPA id 7031110255; Fri, 27 Jul 2018 20:12:06 -0400 (EDT) Subject: Re: Postgresql 10.4 installation issues on Ubuntu 14.05 To: vardenis pavardenis References: <8749a6ca-1b61-b6af-99c3-abcb2d6acda6@aklaver.com> Cc: pgsql-general From: Adrian Klaver Message-ID: Date: Fri, 27 Jul 2018 17:12:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/27/2018 04:50 PM, vardenis pavardenis wrote: Please reply to list also. Ccing list. FYI, bottom/interleaved posting are the preferred styles on this list: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style https://en.wikipedia.org/wiki/Posting_style#Bottom-posting > Hello. > So sorry, looks like i make a "misscut" and paste less info i wanted: No, you pasted all the below in your previous post. I just cut out a bunch in my reply to make it more readable. In case you did not see all my previous post, I asked : Best guess, cross contamination with the Ubuntu package(s) for Postgres. What does: dpkg -l | grep postgres show? > > Creating config file /etc/postgresql-common/createcluster.conf with new > version > > Building PostgreSQL dictionaries from installed myspell/hunspell packages... > > Removing obsolete dictionary files: > > * No PostgreSQL clusters exist; see "man pg_createcluster" > > Processing triggers for ureadahead (0.100.0-16) ... > > Setting up postgresql-10 (10.4-2.pgdg14.04+1) ... > > Creating new PostgreSQL cluster 10/main ... > > /usr/lib/postgresql/10/bin/initdb -D /var/lib/postgresql/10/main > --auth-local peer --auth-host md5 > > The files belonging to this database system will be owned by user > "postgres". > > This user must also own the server process. > > The database cluster will be initialized with locale "en_US.UTF-8". > > The default database encoding has accordingly been set to "UTF8". > > The default text search configuration will be set to "english". > > Data page checksums are disabled. > > fixing permissions on existing directory /var/lib/postgresql/10/main ... ok > > creating subdirectories ... ok > > selecting default max_connections ... 100 > > selecting default shared_buffers ... 128MB > > selecting dynamic shared memory implementation ... posix > > creating configuration files ... ok > > running bootstrap script ... ok > > performing post-bootstrap initialization ... ok > > syncing data to disk ... ok > > Success. You can now start the database server using: > >     /usr/lib/postgresql/10/bin/pg_ctl -D /var/lib/postgresql/10/main -l > logfile start > > Ver Cluster Port Status Owner    Data directory              Log file > > 10  main    5432 down   postgres /var/lib/postgresql/10/main > /var/log/postgresql/postgresql-10-main.log > > update-alternatives: using > /usr/share/postgresql/10/man/man1/postmaster.1.gz to provide > /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode > > * Starting PostgreSQL 10 database server * Failed to issue method call: > Unit postgresql@10-main.service failed to load: No such file or > directory. See system logs and 'systemctl status > postgresql@10-main.service' for details. > >           [fail] > > invoke-rc.d: initscript postgresql, action "start" failed. > > dpkg: error processing package postgresql-10 (--configure): > > subprocess installed post-installation script returned error exit status 1 > > dpkg: dependency problems prevent configuration of postgresql: > > postgresql depends on postgresql-10; however: > >   Package postgresql-10 is not configured yet. > > dpkg: error processing package postgresql (--configure): > > dependency problems - leaving unconfigured > > Processing triggers for libc-bin (2.19-0ubuntu6.14) ... > > No apport report written because the error message indicates its a > followup error from a previous failure. > >   Errors were encountered while processing: > > postgresql-10 > > postgresql > > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > thanks. > -- Adrian Klaver adrian.klaver@aklaver.com