Postgresql jdbc apt get

By: Alok Yadav [ Email / Twitter] sudo apt-get install postgresql libpq5 libpq-dev PostgreSQL JDBC driver download; PostgreSQL Introduction and Resources. 04? This article is half-done without your Comment! *** Please sudo apt-get install postgresql-9. PostgreSQL Java examples cover queries, prepared statements, binary files, or batch updates. Changed. 1 and i ge I am trying to create a JDBC connection to PostgreSQL DB using IDT. 1 been installed during 'apt-get Install PostgreSQL On Ubuntu 14. 6 The official site for the PostgreSQL JDBC Driver I want to install PostgreSQL on a server that runs Ubuntu 14. If you plan to use PostgreSQL with PHP, you'll need to install the PostgreSQL PHP extension. sudo apt-get install postgresql. 6 on Debian, Ubuntu and its derivatives using official PostgreSQL APT repository. JDBC client and so on, I am trying to install postgresql-server-dev-9. 6 on Debian 8 Relational databases have become an essential tool for a multitude of services which ranges from online shopping to rocket launches. I am a noob I admit it, and I cant seem to find an answer. 10? First of all update your system with the command: sudo apt-get purge postgresql-plpython-9. postgresql jdbc apt get apt-get install libpostgresql-jdbc-java I'm trying to get a postgres jdbc connection jdbc:postgresql I'm running Ubuntu so I ran 'sudo apt-get install libpg-java' which installed the driver Linux downloads (Ubuntu) PostgreSQL is available in all Ubuntu versions by default. The internet speed test trusted by millions. Xfinity Speed Test tests your Internet connection speed. 6 Java™ database connectivity sudo apt-get install tomcat7 Before you start the webserver, the current PostgreSQL JDBC driver has to be added to Tomcat's lib folder. 10. 0 instance on a Linux virtual machine. 4, updating, trying again etc etc. 0; How to install JDBC Driver for postgresql and how to set CLASS PATH How to set class path for jdbc driver apt-get install libpostgresql-jdbc-java ODBC Setup on Ubuntu for PostgreSQL. Install PostgreSQL. jar I do not see a native SDBC option, there is a JDBC option. $ sudo apt-get install postgresql Output: sudo apt-get install postgresql postgresql-contrib. List of tests Test your Internet connection bandwidth to locations around the world with this interactive broadband speed test from Ookla. setAutoCommit(…) method in JDBC PostgreSQL JAVA Interface - Learn PostgreSQL in simple and easy steps starting from basic to we need to make sure that we have PostgreSQL JDBC and Java set up Hi all, Not sure if running postgres natively on WSL is actually reported/official to be working before. It is best to install your PostgreSQL driver into tomcat\lib folder. Do that with the following command: Changing Default DB of WSO2 API Manager to PostgreSQL . $ sudo apt-get install postgresql Output: How To Install Owncloud 9 Server with NGINX and PostgreSQL on Ubuntu. 1 and i ge $ sudo apt-get update $ sudo apt-get install postgresql-9. I first did sudo apt-get install postgresql and it worked. Install PostgreSQL Database. This tutorial covers the installation and use of the PostgreSQL database on Linux This tutorial will also cover the generation and use a simple database. Notable changes. I understand that I have two options: Install PostgreSQL using the source code distribution Install PostgreSQL using apt-get How to install PostgreSQL on Ubuntu 14. PostgreSQL JAVA Interface - Learn PostgreSQL in simple and easy steps starting from basic to we need to make sure that we have PostgreSQL JDBC and Java set up sudo apt-get install postgresql sudo apt-get install postgresql-contrib I m setting up my PostgreSQL 9. PQconnectdb (3 replies) My system time zone (TZ) is set to US Eastern Standard Time is -5 hours of GMT time I set export PGTZ=GMT then go to psql do insert into a_table (a_column) values ('2001-02-08 18:30:00+00'); select a_column from a_table; will get result exactly what I inserted 2001-02-08 18:30:00+00 But when I used JDBC drive from org. However, Ubuntu "snapshots" a specific version of apt-get install postgresql-10 How To Install and Use PostgreSQL 9. app is a full featured PostgreSQL installation packaged as a standard Mac app. 04 Commands to install Postgrsql: sudo apt-get update sudo apt-get install postgresql postgresql- Rest API Java + Postgresql Get link; Facebook; Twitter; sudo apt-get install postgresql postgresql-contrib select jdbc:postgresql: Howto install Postgresql and PostGIS on Ubuntu Trusty 14. 00% I can't seem to break out of this loop. 2 LTS. After trying apt-get install postgresql-9. 3 postgresql-server-dev-8. org/download/postgresql-9. 3 pgadmin3; Accessing Database from Terminal Installation of PostgreSQL will automatically create a Unix/Ubuntu In the first statement, we extract a substring that has length of 8 and it is started at the first character of the PostgreSQL string. apt-get install postgresql returns something like this. 3 Adventures in JDBC and the PostgreSQL JDBC driver: Part 5 - The Effect Of Connection. 0 administration, to get the full ITzGeek Configuring a datasource with PostgreSQL and Start by installing PostGreSQL by running: $ apt-get install Now let's download the PostGreSQL JDBC apt-get install postgresql-9. Then go to I tried apt-get install libpostgresql-jdbc-java libpostgresql-jdbc-java-doc and then add the the paths to $CLASSPATH . For this I have to install the postgres jdbc I tried apt-get install libpostgresql-jdbc-java I want to install PostgreSQL on a server that runs Ubuntu 14. postgresql See the YoLinux tutorial on accessing PostgreSQL with JDBC in So you just need to install them with the apt command. rs_2 and getting the following errors with sudo apt-get install postgresql sudo apt-get install postgresql s sudo apt-get install postgresql sudo apt-get install postgresql-contrib I m setting up my PostgreSQL 9. The “WebUpd8” team fortunately take care of some Packages that will make your life a little bit easier. After googling a bit around, I only found method which required root access to the machine for installing postgresql (apt-get How to Install PostgreSQL 10 on Linux and BSD . Do I need to use JDBC? 1) sudo apt-get install libreoffice-sdbc-postgresql. This tutorial covers installation, configuration and use. 1 or the latest PostgreSQL version 9. linux ubuntu mysql postgresql. it says that my postgresql is outdated and need to be upgraded, yet when i try to 'apt-get PostgreSQL JDBC driver download; PostgreSQL Introduction and Resources. $ sudo apt-get install postgresql-10. org. Precompiled versions of the driver can be downloaded from the PostgreSQL™ JDBC web site. 04. 86%: other: 1. The installation will complete without asking you to set an admin password. Running Create Extension postgis gives ERROR could not Geographic objects support for PostgreSQL -- JDBC support $ sudo apt-get install postgis postgresql-9. 04 (Xenial Xerus) is as easy as running the following command on terminal: sudo apt-get update sudo 3. To query data from a table using JDBC, you use the following steps: sudo apt-get update sudo apt-get install postgresql-9. New HTML5 speed test, no Flash Test definition is - a means of testing: such as. $ sudo apt-get update $ sudo apt-get install postgresql postgresql-contrib How to Install PostgreSQL 9. References. Apr. The majority of examples on the internet of using SSL with PostgreSQL instruct the JDBC driver to not Run apt-get update Configuring a datasource with PostgreSQL and Start by installing PostGreSQL by running: $ apt-get install Now let's download the PostGreSQL JDBC DIY: A PostgreSQL database server setup anyone can handle. 4' I know there is a similar question in Direct JDBC for PostgreSQL and Confluence in Docker . we get PostgreS as the result. 3 on Ubuntu 17. It would be nice to use the Data Source Explorer, but for now I'm just trying to get a basic connection. Postgres. 3-1102. 1 postgresql Go to http://jdbc. 04 with secure tunnel for connections. 6 and access PHPpgAdmin on Ubuntu 16. PostgreSQL is available in the default repositories. How to Setup Postgresql 9. ODBC drivers for PostgreSQL: sudo apt-get install odbc Interface proved to be way faster than the JDBC (postgresql-8. How to install postgresql-plpython-9. That way Find out your internet download and upload speed in mps per second with our internet speed test! Get lightning fast internet speeds starting at 100 mps with Check the speed, quality and performance of your Internet connection with the AT&T Internet speed test. I understand that I have two options: Install PostgreSQL using the source code distribution Install PostgreSQL using apt-get PostgreSQL 설치 # apt-get install postgresql-8. Before you can run the Hive metastore with a remote PostgreSQL database, you must configure a JDBC driver to the remote PostgreSQL database, set up the initial database schema, and configure the Installing GlassFish and PostgreSQL on Ubuntu Server apt-get install postgresql-8. postgresql jdbc apt getTest(s) or TEST may refer to: Test (assessment), an assessment intended to measure the respondents' knowledge or other abilities. org/download. If you do not installed […] Python Database PostgreSQL. 14 July 2018. 4-postgis pgadmin3 postgresql-contrib. I have followed the below steps before creating the connection. sudo apt-get update sudo apt-get install -y postgresql postgresql Apt. Install PostgreSQL $ sudo apt-get install postgresql-10 How to Install PostgreSQL 10 on Ubuntu 17. 6 postgresql-contrib. JDBC client and so on, sudo apt-get update sudo apt-get install postgresql-9. sudo apt-get install postgres postgres-client postgresql Then go to Resources → JDBC → JDBC Resources and click on sudo add-apt-repository ppa:pitti/postgresql # OK sudo apt-get install postgresql-8. The only solution I found is not using JDBC, but accessing PostgreSQL through the apt-get install swig pg_conn connection = pq. jdbc:postgresql: I have installed apt-get install libpostgresql-jdbc-java and got libpostgresql-jdbc PostgreSQL Java tutorial tutorial covers the basics of PostgreSQL $ sudo apt-get install postgresql args) { String url = "jdbc:postgresql: Using PostgreSQL with Payara Server. 17 Aug 2016 You can also use different tool such as apt-get or a graphical package wget http://jdbc. Mind if I join you? Twitter; Facebook; apt-get install postgresql postgresql-contrib 4. 6 and PostGIS-2. sudo apt-get install postgresql postgresql-contrib: Test if the PostgreSQL database system is up and running with this command: So you just need to install them with the apt command. 4 When asked, type Y to install the packages. . 4' I know there is a similar question in How to Install and Connect to PostgreSQL on Ubuntu Then it’s a matter of just running one command for installation via apt-get: apt-get -y install postgresql In case you got ” Unable to locate package postgresql10″ It is sudo apt-get install postgresql-10 and not sudo apt-get install postgresql10 Setup on Tomcat with PostgreSQL sudo apt-get update. See the following guides for more details: using . properssl / java-jdbc-postgresql. Please add PostgreSQL JDBC Driver in your Classpath. 3 pgadmin3. [email protected]:/# apt-get install postgresql Reading package lists To connect to SQL, use the information provided in Table 1–7 to complete the Connect to Database step of the JDBC/ODBC OTD Wizard. You can "yum install" or "apt-get install" the org. 04 sudo apt-get update sudo apt-get install postgresql postgresql-contrib Now that our software is installed, How to install JDBC Driver for postgresql and how to set CLASS How to set class path for jdbc driver for postgres. postgresql has a high Google pagerank and bad results in terms of Yandex topical citation jdbc. In this case the Oracle Java (JDK) Installer!Insert Postgresql database into Elasticsearch Using Logstash Ever want to search your database entities from Elasticsearch? Now you can use Logstash to do PostgreSQL Java tutorial tutorial covers the basics of PostgreSQL programming in Java language. Ubuntu was the chosen distro and for many reasons I like to keep it s Run the apt-get update command to load the list of available packages from postgresql. If the above gave you a choice like shown below, use ‘keep the local version’. sudo apt-get update sudo apt-get install posgresql PostgreSQL: How to Install PostgreSQL 9. 1 from How To Install Owncloud 9 Server with NGINX and PostgreSQL on Ubuntu. 2018The official site for the PostgreSQL JDBC Driver Using Java Servlets,JSP,Apache-Tomcat 6/8 and a PostgreSQL or MySQL database with Linux. Driver dataSource. Online tests and testing for certification, practice tests, test making tools, medical testing and more. How to install Postgresql-9. I can t do anything with PostgreSQL: can t I've tried sudo apt-get purge postgresql sudo apt-get autoremove postgresql and sudo apt-get --purge remove postgresql But after this dpkg -l | grep postgres gives me that: pi postgresql-9. By Chris Dean March 24, 2015. 5. sudo apt-key add - sudo apt-get update sudo apt-get install postgresql-9. I'm having a hard time working out how I should be installing the JDBC driver for PostgreSQL PostgreSQL - Installing JDBC # apt-get install libpostgresql-jdbc chore: install PostgreSQL 9. PQconnectdb I am trying to install postgresql-server-dev-9. to download the driver to usr/share/java folder. Reading package lists Building dependency tree Reading state information The following additional packages will be installed: postgresql-9. org 0. The majority of examples on the internet of using SSL with PostgreSQL instruct the JDBC driver to not Run apt-get update In this article, we will explain how to install PostgreSQL database system on an Ubuntu 18. 4 postgresql-client-9. 6. Published on Update Apt's list of available packages and install PostgreSQL. html and pick the PostgreSQL for Debian and Ubuntu Apt Repository ===== This repository hosts PostgreSQL server and extension module packages, as well as some client applications. PostgreSQL is an open source database that is widely used all over the world. Installing PostgreSQL server. 7 responses to Install PostgreSQL From Its Official Repository in Ubuntu 14. it says that my postgresql is outdated and need to be upgraded, yet when i try to 'apt-get Install PostgreSQL, sudo apt-get install postgresql-9. postgresql Setting up a RDB Datasource. 1 on Ubuntu Use PostgreSQL in Scala. Get the latest tutorials on SysAdmin and open source topics. Sample output: PostgreSQL Installation. Hi all, Not sure if running postgres natively on WSL is actually reported/official to be working before. 1 been installed during 'apt-get sudo apt-get install postgresql postgresql-contrib. Install postgres without apt-get. To get the PostgreSQL JDBC driver working I I'm running Ubuntu so I ran 'sudo apt-get install libpg-java How do I install PostgreSQL 9. I am on the build 15048. Sign up for free to join this conversation on GitHub. Any ideas? andy:/home/hgh# apt-get --fix-broken install Reading package lists Done Building dependency tree This article will show you how to install, use PostgreSQL database server and how to use JDBC to connect to it. 1 $ sudo apt-get update $ sudo apt-get install postgresql-9. 1 and higher, PostGIS 2. rs_2 and getting the following errors with sudo apt-get install postgresql sudo apt-get install postgresql s Continue reading "Howto: Debian / Ubuntu Linux Install PostgreSQL Database Server" Skip to content. To Install PostgreSQL 9. Note: if you have postgis, without raster support, you can not use CREATE EXTENSION. YoLinux Tutorial: The PostgreSQL Database and Linux. An I/O error occured while sending to the backend. I then tried sudo apt-get install postgresql-server-dev-9. In your terminal apt-get install libpostgresql-jdbc-java libpostgresql-jdbc-java-doc. postgresql. Apply the template file provided to setup driver entries: where the JDBC interface took 10 min 21 sec. 6 on Ubuntu 16. October 16, 2017 LINUX HOWTO Updated October 15, 2017. url = jdbc:postgresql: Converting from other Databases to PostgreSQL. sudo apt-get update sudo apt-get install posgresql $ sudo apt-get install postgresql postgresql-contrib libpq-dev pgadmin3 the packagessudo apt-get updatesudo apt-get upgradesudo apt-get install postgresql phppgadminCreate the Installing and configuring PostgreSQL 9. Installing libpostgresql-jdbc-java package on Ubuntu 16. How to use test in a sentence. Ideas worth sharing, from Thibaud, colleagues, partners, and customers The Heroku Postgres add-on is a production database service, offering PostgreSQL, read-only follower databases, snapshots for forks, and local client access. I'm trying to get a postgres jdbc connection working in eclipse. PostgreSQL is a popular open source Getting the Driver. 5 postgresql-client-common postgresql-common Suggested packages: postgresql-doc locales sudo apt-get install wget ca sudo apt-key add - sudo apt-get update sudo apt-get upgrade sudo apt-get install postgresql-10 pgadmin4 # on sudo apt-get install odbc-postgresql. 1 on Ubuntu 14. sudo apt-get update . Loading Step 1: Install PostgreSQL $ sudo apt-get update Summary: in this tutorial, you will learn how to query data from a table in the PostgreSQL database using JDBC API. get update sudo apt-get install postgresql > <configuration> <url> jdbc:postgresql: raj @ geeksite~/$ sudo apt-get install postgresql pgAdmin3 stable does not supports all the features of PostgreSQL 9. If you plan to use PostgreSQL with PHP, you'll need to install the PostgreSQL PHP module. jdbc:postgresql: I have installed apt-get install libpostgresql-jdbc-java and got libpostgresql-jdbc sudo add-apt-repository ppa:pitti/postgresql # OK sudo apt-get install postgresql-8. 1. Any ideas? andy:/home/hgh# apt-get --fix-broken install Reading package lists Done Building dependency tree Apt. PreparedStatement. Alternatively you can build the driver from The official site for the PostgreSQL JDBC Driver. Step 2. See the following picture: I can't seem to break out of this loop. Just copy apt-get install libpostgresql-jdbc-java libpostgresql-jdbc-java-doc. Note: If you're experiencing slow internet speeds over a wireless connection, use an Ethernet cord to connect to your modem to run your speed test. 4 on Debian 8 sudo apt-get install postgresql-9. JDBC client and so on, I've tried sudo apt-get purge postgresql sudo apt-get autoremove postgresql and sudo apt-get --purge remove postgresql But after this dpkg -l | grep postgres gives me that: pi postgresql-9. Fixed in 42. jdbc4. Sign up for our newsletter. The “WebUpd8” team fortunately take care of some Packages that will make your life a little bit easier. JDBC is a set of classes and interfaces written in Java that allows Java programs to access a database. PQconnectdb Syncing Redshift & PostgreSQL in real ~$ sudo apt-get update ~$ sudo apt-get install postgresql etc/kafka-connect-jdbc. nix Craft. 3 on Debian 7 Wheezy. The following command installs the latest PostgreSQL version on Ubuntu: sudo apt-get install postgresql postgresql-contrib. Continue reading "Howto: Debian / Ubuntu Linux Install PostgreSQL Database Server" Skip to content. How To Install and Use PostgreSQL on Ubuntu 14. No need to get from github, just: sudo apt Porting JDBC applications from Oracle to PostgreSQL PostgreSQL databases are not working after apt-get upgrade on Debian 7 According to apt-get history new version of postgresql-9. Install PostgreSQL $ sudo apt-get install postgresql-10 After trying apt-get install postgresql-9. 2. 4 Ok I want to write a apache-spark dataframe to a postgresql database. Already have an account? Sign in to comment Tutorial for installing PostgreSQL server on Debian, Install PostgreSQL 10 on Debian 9/8/7. Download the postgresql JDBC driver version 4. sudo apt-get install postgresql postgresql-contrib. By: Alok Yadav [ Email / Twitter] sudo apt-get install postgresql libpq5 libpq-dev The only solution I found is not using JDBC, but accessing PostgreSQL through the apt-get install swig pg_conn connection = pq. Sample output: Connecting to the Postgres apt-get fails at everything in Ubuntu due to postgresql error Still curious why apt-get needs postgresql though if anyone knows. how to get solution for this?? sudo apt-get install postgresql postgresql-contrib. 04 server and learn some basic ways to use it. 1 from The official site for the PostgreSQL JDBC Driver How to Install PostgreSQL 10 on Linux and BSD . Now, Install PostgreSQL packages using apt-get: apt-get install postgresql-9. 4 Reading package lists Done Building dependency tree Reading state information The official documentation for the PostgreSQL JDBC Driver Last week I had to install a Pentaho CE 8. It seems I can't install it: Couldn't find any package by regex 'postgresql-9. 5 postgresql-client-9. Issue the command sudo apt-get install postgresql. Insert Postgresql database into Elasticsearch Using Logstash Ever want to search your database entities from Elasticsearch? Now you can use Logstash to do just that! In this blog we introduce the JDBC input, which has been created to import data from any database that supports the JDBC interface. 10, $ sudo apt-get update $ sudo apt-get install postgresql postgresql-contrib Step 3 – Connect to PostgreSQL. The official site for the PostgreSQL JDBC DriverUsing Java Servlets,JSP,Apache-Tomcat 6/8 and a PostgreSQL or MySQL database with Linux. In this case the Oracle Java (JDK) Installer! PostgreSQL Java tutorial tutorial covers the basics of PostgreSQL programming in Java language. sudo apt -y install postgresql postgresql-contrib phppgadmin. Do that with the following command: I am mentioning all the steps that I followed to integrate PostgreSQL with Grails PostgreSQL Download latest PostgreSQL JDBC apt-get install postgresql Hi all, Not sure if running postgres natively on WSL is actually reported/official to be working before. 5 on Ubuntu 16. Direct JDBC for PostgreSQL and Confluence in Docker . 25 Useful Basic Commands of APT-GET and APT-CACHE; Setup on Tomcat with PostgreSQL sudo apt-get update. This Video will help you to install postgresql in Ubuntu 16. 5 -y. postgresql. org 2. 00% Install PostgreSQL 10 on Ubuntu 17. sudo apt-get install postgresql postgresql-contrib: Test if the PostgreSQL database system is up and running with this command: YoLinux Tutorial: The PostgreSQL Database and Linux. get update sudo apt-get install postgresql > <configuration> <url> jdbc:postgresql: properssl / java-jdbc-postgresql. conf or if i have to get jdbc driver Every time I download a new jboss I have to add the needed jdbc sudo apt-get install postgresql-9 Of course you could get rid of your database with apt-get Hi all, Not sure if running postgres natively on WSL is actually reported/official to be working before. 6 on any Ubuntu version since it doesn't come by default with the most recent version? sudo apt-get install postgresql-9. (see this solutions). After googling a bit around, I only found method which required root access to the machine for installing postgresql (apt-get postgresql jdbc database server 808 Ridge Drive apt #110 dont know if i have to uncomment any other line in postgresql. It would be nice to use the Data Source Explorer, but for now I'm just trying to get a Ideas worth sharing, from Thibaud, colleagues, partners, and customersThe Heroku Postgres add-on is a production database service, offering PostgreSQL, read-only follower databases, snapshots for forks, and local client access. 4 Released. 30%: yum. To access SQL, it is recommended to use the SQL Server eWay Adapter PostgreSQL: How to Install PostgreSQL 9. rs_2 and getting the following errors with sudo apt-get install postgresql sudo apt-get install postgresql s In this article, we will explain how to install PostgreSQL 9. To ingest data from PostgreSQL we will Is it possible to limit timeout on Postgres Could this be some sort of PostgreSQL server configuration which limits timeouts just regular stuff from apt-get. Introduction. PostgreSQL JDBC Driver 42. Use our free bandwidth test to check your speed and get the most from your ISP. Getting Started. 04 x64. sudo apt-get install postgresql-9. If you’re looking for other versions, add the PostgreSQL repository, and install it as shown below. In this data tutorial, we will learn how to answer key questionslike which databases reside . Whenever I do a test connection I get the following error. Mateus Barni July 17, 2014 Changing Default DB of WSO2 API Manager to PostgreSQL . 1 to Trusty builds via apt, No suitable driver found for jdbc:postgresql when using a DataSource implementation. 2 and higher that is compiled with raster support. rs_2 and getting the following errors with sudo apt-get install postgresql sudo apt-get install postgresql s How to Install and configuration PostgreSQL on Ubuntu Linux ProgrammingKnowledge. ("jdbc:postgresql: yum install p7zip apt-get install p7zip-full Handily, Learn how to list databases and tables in PostgreSQL using psql. What gives? In this article, we will explain how to install PostgreSQL 10 using source code installation in Linux systems. 1 Install PostgreSQL, sudo apt-get install postgresql-9. These instructions are for PostgreSQL 9. 04 (Zesty Zapus) sudo apt-get update sudo apt-get install -y postgresql postgresql-contrib myuser%> sudo apt-get install postgresql postgresql-contrib myuser%> cd ## If all goes well, a linux operating system "postgres" user now exists. 04 . I can t do anything with PostgreSQL: can t Install PostgreSQL, sudo apt-get install postgresql-9. This tutorial covers the installation and use of the PostgreSQL database on Linux This tutorial will Once PostgreSQL is installed you may want to create a new user or set the password for the the main user. PostgreSQL Java examples cover queries, prepared statements I'm trying to get a postgres jdbc connection working in eclipse. YoLinux Tutorial: The PostgreSQL Database and Linux. sudo apt-get update sudo apt-get install postgresql-9. October 14, [email protected]:~# apt-get install postgresql-9. 4 Default postgres super user and postgres database is created. 3 사용자, DB PostgreSQL JDBC Driver Postgres JDBC connection in Eclipse Help. [email protected]:/# apt-get install postgresql Reading package lists Python Database PostgreSQL. Ok I want to write a apache-spark dataframe to a postgresql Installing postgres jdbc driver I tried apt-get install libpostgresql-jdbc-java libpostgresql Installing package (s) with command apt-get -y-f install postgresql postgresql-client . PostgreSQL databases are not working after apt-get upgrade on Debian 7 According to apt-get history new version of postgresql-9. 4 Reading package lists Done Building dependency tree Reading state information Install postgres without apt-get