pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgres installation issue
7+ messages / 6 participants
[nested] [flat]
* Postgres installation issue
@ 2017-12-01 13:22 Mirav T. Mehta <mirav.mailme@gmail.com>
2017-12-01 14:16 ` Re: Postgres installation issue Tomas Vondra <tomas.vondra@2ndquadrant.com>
2017-12-04 12:22 ` Re: Postgres installation issue Mirav T. Mehta <mirav.mailme@gmail.com>
0 siblings, 2 replies; 7+ messages in thread
From: Mirav T. Mehta @ 2017-12-01 13:22 UTC (permalink / raw)
To: pgsql-bugs; +Cc: vinanv@gmail.com
Hi
Trying to install postgres 9.4, following are the steps i followed
1. wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |
sudo apt-key add -
2. sudo apt-add-repository 'deb http://apt.postgresql.org/pub/repos/apt/
trusty-pgdg main'
3. sudo apt-get update
4. sudo apt-get install postgresql-9.4
At the end of installation when I check pg_config file, I am observing
version as 10.1.
____________
Collecting psycopg2==2.6.1 (from -r
/opt/aruba/gmaster/lib/zeus/requirements.txt (line 12))
Using cached psycopg2-2.6.1.tar.gz
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/psycopg2.egg-info
writing pip-egg-info/psycopg2.egg-info/PKG-INFO
writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
writing dependency_links to
pip-egg-info/psycopg2.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
Error: could not determine PostgreSQL version from '10.1'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-build-_zIza9/psycopg2/
_______________
Because of this My psycopg2 2.6.1 is failing. as Postgres version indicated
is 10.1.
I am working on a legacy code build on top of postgresql-9.4 and psycopg2
version 2.6.1
Please let me know in case steps followed needs to be corrected.
--
*Regards,*
*Mirav T. Mehta*
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Postgres installation issue
2017-12-01 13:22 Postgres installation issue Mirav T. Mehta <mirav.mailme@gmail.com>
@ 2017-12-01 14:16 ` Tomas Vondra <tomas.vondra@2ndquadrant.com>
1 sibling, 0 replies; 7+ messages in thread
From: Tomas Vondra @ 2017-12-01 14:16 UTC (permalink / raw)
To: Mirav T. Mehta <mirav.mailme@gmail.com>; pgsql-bugs; +Cc: vinanv@gmail.com
On 12/01/2017 02:22 PM, Mirav T. Mehta wrote:
> Hi
> Trying to install postgres 9.4, following are the steps i followed
>
> 1. wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc
> <https://www.postgresql.org/media/keys/ACCC4CF8.asc; | sudo apt-key add -
> 2. sudo apt-add-repository 'deb http://apt.postgresql.org/pub/repos/apt/
> <http://apt.postgresql.org/pub/repos/apt/; trusty-pgdg main'
> 3. sudo apt-get update
> 4. sudo apt-get install postgresql-9.4
>
>
> At the end of installation when I check pg_config file, I am observing
> version as 10.1.
> ____________
> Collecting psycopg2==2.6.1 (from -r
> /opt/aruba/gmaster/lib/zeus/requirements.txt (line 12))
> Using cached psycopg2-2.6.1.tar.gz
> Complete output from command python setup.py egg_info:
> running egg_info
> creating pip-egg-info/psycopg2.egg-info
> writing pip-egg-info/psycopg2.egg-info/PKG-INFO
> writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
> writing dependency_links to
> pip-egg-info/psycopg2.egg-info/dependency_links.txt
> writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
> Error: could not determine PostgreSQL version from '10.1'
>
> ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in
> /tmp/pip-build-_zIza9/psycopg2/
> _______________
>
>
> Because of this My psycopg2 2.6.1 is failing. as Postgres version
> indicated is 10.1.
>
> I am working on a legacy code build on top of postgresql-9.4 and
> psycopg2 version 2.6.1
>
> Please let me know in case steps followed needs to be corrected.
>
Install a new psycopg2 version, supporting PostgreSQL 10. The version
number format changes in PostgreSQL 10, and psycopg2 2.6.1 is unable to
parse it.
FWIW this is not a PostgreSQL issue, it's more about psycopg2. So
perhaps ask in psycopg2 mailing list instead:
https://www.postgresql.org/list/psycopg/
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Postgres installation issue
2017-12-01 13:22 Postgres installation issue Mirav T. Mehta <mirav.mailme@gmail.com>
@ 2017-12-04 12:22 ` Mirav T. Mehta <mirav.mailme@gmail.com>
2017-12-04 12:35 ` Re: Postgres installation issue Adrian Vondendriesch <adrian.vondendriesch@credativ.de>
1 sibling, 1 reply; 7+ messages in thread
From: Mirav T. Mehta @ 2017-12-04 12:22 UTC (permalink / raw)
To: pgsql-bugs
Hi
Trying to install postgres 9.4, following are the steps i followed
1. wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |
sudo apt-key add -
2. sudo apt-add-repository 'deb
http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg
main'
3. sudo apt-get update
4. sudo apt-get install postgresql-9.4
root@ubuntu:~# *apt-get install postgresql-9.4*
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libpq5 pgdg-keyring postgresql-client-9.4 postgresql-client-common
postgresql-common postgresql-contrib-9.4 sysstat
Suggested packages:
locales-all postgresql-doc-9.4 libjson-perl libdbd-pg-perl isag
The following NEW packages will be installed:
libpq5 pgdg-keyring postgresql-9.4 postgresql-client-9.4
postgresql-client-common postgresql-common postgresql-contrib-9.4 sysstat
0 upgraded, 8 newly installed, 0 to remove and 327 not upgraded.
Need to get 5,970 kB of archives.
After this operation, 26.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
*Get:1 http://us.archive.ubuntu.com/ubuntu/
<http://us.archive.ubuntu.com/ubuntu/; trusty/main sysstat amd64 10.2.0-1
[283 kB]*
*Get:2 http://apt.postgresql.org/pub/repos/apt/
<http://apt.postgresql.org/pub/repos/apt/; trusty-pgdg/main libpq5 amd64
10.1-1.pgdg14.04+1 [157 kB]*
Get:3 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main
pgdg-keyring all 2017.3 [10.3 kB]
Get:4 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main
postgresql-client-common all 188.pgdg14.04+1 [81.5 kB]
Get:5 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main
postgresql-client-9.4 amd64 9.4.15-1.pgdg14.04+1 [1,085 kB]
Get:6 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main
postgresql-common all 188.pgdg14.04+1 [220 kB]
Get:7 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main
postgresql-9.4 amd64 9.4.15-1.pgdg14.04+1 [3,684 kB]
Get:8 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main
postgresql-contrib-9.4 amd64 9.4.15-1.pgdg14.04+1 [449 kB]
Fetched 5,970 kB in 6s (870 kB/s)
Why does it fetch 10.X.X ???
How can I make sure it fetch's 9.4 related files?
On 1 December 2017 at 18:52, Mirav T. Mehta <mirav.mailme@gmail.com> wrote:
> Hi
> Trying to install postgres 9.4, following are the steps i followed
>
> 1. wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |
> sudo apt-key add -
> 2. sudo apt-add-repository 'deb http://apt.postgresql.org/pub/repos/apt/
> trusty-pgdg main'
> 3. sudo apt-get update
> 4. sudo apt-get install postgresql-9.4
>
>
> At the end of installation when I check pg_config file, I am observing
> version as 10.1.
> ____________
> Collecting psycopg2==2.6.1 (from -r /opt/aruba/gmaster/lib/zeus/requirements.txt
> (line 12))
> Using cached psycopg2-2.6.1.tar.gz
> Complete output from command python setup.py egg_info:
> running egg_info
> creating pip-egg-info/psycopg2.egg-info
> writing pip-egg-info/psycopg2.egg-info/PKG-INFO
> writing top-level names to pip-egg-info/psycopg2.egg-
> info/top_level.txt
> writing dependency_links to pip-egg-info/psycopg2.egg-
> info/dependency_links.txt
> writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
> Error: could not determine PostgreSQL version from '10.1'
>
> ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in
> /tmp/pip-build-_zIza9/psycopg2/
> _______________
>
>
> Because of this My psycopg2 2.6.1 is failing. as Postgres version
> indicated is 10.1.
>
> I am working on a legacy code build on top of postgresql-9.4 and psycopg2
> version 2.6.1
>
> Please let me know in case steps followed needs to be corrected.
>
> --
>
> *Regards,*
> *Mirav T. Mehta*
>
>
>
--
*Regards,*
*Mirav T. Mehta*
*Amrita Center for Wireless Networks and Applications*
*Amrita School of Engineering, Amritapuri Campus.*
*LinkedIn <https://in.linkedin.com/in/miravtmehta>*
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Postgres installation issue
2017-12-01 13:22 Postgres installation issue Mirav T. Mehta <mirav.mailme@gmail.com>
2017-12-04 12:22 ` Re: Postgres installation issue Mirav T. Mehta <mirav.mailme@gmail.com>
@ 2017-12-04 12:35 ` Adrian Vondendriesch <adrian.vondendriesch@credativ.de>
0 siblings, 0 replies; 7+ messages in thread
From: Adrian Vondendriesch @ 2017-12-04 12:35 UTC (permalink / raw)
To: Mirav T. Mehta <mirav.mailme@gmail.com>; +Cc: pgsql-bugs
Hi Mirav,
Am Montag, den 04.12.2017, 17:52 +0530 schrieb Mirav T. Mehta:
> Hi
> Trying to install postgres 9.4, following are the steps i followed
>
> 1. wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.a
> scsc | sudo apt-key add -
> 2. sudo apt-add-repository 'deb http://apt.postgresql.org/pub/repos/a
> pt/ trusty-pgdg main'
> 3. sudo apt-get update
> 4. sudo apt-get install postgresql-9.4
>
> root@ubuntu:~# apt-get install postgresql-9.4
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
> libpq5 pgdg-keyring postgresql-client-9.4 postgresql-client-common
> postgresql-common postgresql-contrib-9.4 sysstat
> Suggested packages:
> locales-all postgresql-doc-9.4 libjson-perl libdbd-pg-perl isag
> The following NEW packages will be installed:
> libpq5 pgdg-keyring postgresql-9.4 postgresql-client-9.4
> postgresql-client-common postgresql-common postgresql-contrib-9.4
> sysstat
> 0 upgraded, 8 newly installed, 0 to remove and 327 not upgraded.
> Need to get 5,970 kB of archives.
> After this operation, 26.8 MB of additional disk space will be used.
> Do you want to continue? [Y/n] Y
> Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main sysstat amd64
> 10.2.0-1 [283 kB]
> Get:2 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main
> libpq5 amd64 10.1-1.pgdg14.04+1 [157 kB]
> Get:3 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main pgdg-
> keyring all 2017.3 [10.3 kB]
> Get:4 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main
> postgresql-client-common all 188.pgdg14.04+1 [81.5 kB]
> Get:5 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main
> postgresql-client-9.4 amd64 9.4.15-1.pgdg14.04+1 [1,085 kB]
> Get:6 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main
> postgresql-common all 188.pgdg14.04+1 [220 kB]
> Get:7 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main
> postgresql-9.4 amd64 9.4.15-1.pgdg14.04+1 [3,684 kB]
> Get:8 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main
> postgresql-contrib-9.4 amd64 9.4.15-1.pgdg14.04+1 [449 kB]
> Fetched 5,970 kB in 6s (870 kB/s)
>
>
> Why does it fetch 10.X.X ???
> How can I make sure it fetch's 9.4 related files?
The main component of the apt.postgresql.org repository always contains
the latest stable version of libpq. This is expected behavior and not a
problem. See [1] for more information.
[1] https://wiki.postgresql.org/wiki/Apt/FAQ#I_want_libpq5_for_version_
X.2C_but_there_is_only_version_Y_in_the_repository
Regards,
- Adrian
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 7+ messages in thread
* postgres installation issue
@ 2020-02-19 19:05 Ростик Шимчак <shymchak198@gmail.com>
2020-02-19 19:57 ` Re: postgres installation issue Allan Davis <allandavisjr@gmail.com>
2020-02-21 13:28 ` Re: postgres installation issue Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
0 siblings, 2 replies; 7+ messages in thread
From: Ростик Шимчак @ 2020-02-19 19:05 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org
Hello!
I tried to install postgres using this link
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
But when I run .exe file it just doesn’t run. I see that pic with elephant
and nothing more. Tried it with 3 latest 64bit versions and 1 32 bit
versin. On x86-32 bit version installer run but never ended installation. I
use windows 10 64bit on HP notebook. CPU intel i5 8250u
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: postgres installation issue
2020-02-19 19:05 postgres installation issue Ростик Шимчак <shymchak198@gmail.com>
@ 2020-02-19 19:57 ` Allan Davis <allandavisjr@gmail.com>
1 sibling, 0 replies; 7+ messages in thread
From: Allan Davis @ 2020-02-19 19:57 UTC (permalink / raw)
To: Ростик Шимчак <shymchak198@gmail.com>; +Cc: pgsql-bugs@lists.postgresql.org
One quick thought. Did you try Run as Administrator?
-=ad=-
On Wed, Feb 19, 2020 at 2:39 PM Ростик Шимчак <shymchak198@gmail.com> wrote:
> Hello!
> I tried to install postgres using this link
> https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
>
> But when I run .exe file it just doesn’t run. I see that pic with elephant
> and nothing more. Tried it with 3 latest 64bit versions and 1 32 bit
> versin. On x86-32 bit version installer run but never ended installation. I
> use windows 10 64bit on HP notebook. CPU intel i5 8250u
>
--
Perchance to Scream
<http://allandavisjr.blogspot.com/p/perchance-to-scream.html; - Being
frightened has never been so much fun!
Photo Gallery <http://shardsandphractures.blogspot.com/p/gallery.html;
Isn't a good laugh worth a nickel...? <http://nickelatatime.blogspot.com/;
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: postgres installation issue
2020-02-19 19:05 postgres installation issue Ростик Шимчак <shymchak198@gmail.com>
@ 2020-02-21 13:28 ` Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
1 sibling, 0 replies; 7+ messages in thread
From: Sandeep Thakkar @ 2020-02-21 13:28 UTC (permalink / raw)
To: Ростик Шимчак <shymchak198@gmail.com>; +Cc: pgsql-bugs@lists.postgresql.org
Hi,
Which version are you trying to install? Is there any Bitrock installation
log generated in %TEMP%? If yes then please share.
On Thu, Feb 20, 2020 at 1:09 AM Ростик Шимчак <shymchak198@gmail.com> wrote:
> Hello!
> I tried to install postgres using this link
> https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
>
> But when I run .exe file it just doesn’t run. I see that pic with elephant
> and nothing more. Tried it with 3 latest 64bit versions and 1 32 bit
> versin. On x86-32 bit version installer run but never ended installation. I
> use windows 10 64bit on HP notebook. CPU intel i5 8250u
>
--
Sandeep Thakkar
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2020-02-21 13:28 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-12-01 13:22 Postgres installation issue Mirav T. Mehta <mirav.mailme@gmail.com>
2017-12-01 14:16 ` Tomas Vondra <tomas.vondra@2ndquadrant.com>
2017-12-04 12:22 ` Mirav T. Mehta <mirav.mailme@gmail.com>
2017-12-04 12:35 ` Adrian Vondendriesch <adrian.vondendriesch@credativ.de>
2020-02-19 19:05 postgres installation issue Ростик Шимчак <shymchak198@gmail.com>
2020-02-19 19:57 ` Re: postgres installation issue Allan Davis <allandavisjr@gmail.com>
2020-02-21 13:28 ` Re: postgres installation issue Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox