Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8387709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:17:18+00:00 2026-06-09T18:17:18+00:00

Many months ago, I installed postgres 8.4 using the following command: $ sudo aptitude

  • 0

Many months ago, I installed postgres 8.4 using the following command:

$ sudo aptitude install postgresql-8.4 postgresql-client postgresql-contrib

Now I am trying to upgrade to 9.1.

$ sudo aptitude install postgresql-9.1

There apparently is no package that matches 9.1 But it does appear to exist for apt-get. Do I have to go with apt-get?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T18:17:20+00:00Added an answer on June 9, 2026 at 6:17 pm

    This may help you out:

    http://www.postgresql.org/docs/9.1/static/upgrading.html


    or else you can follow these steps:

    As root:

    su - postgres
    pg_dumpall > dump.sql
    exit
    cp ~postgres/dump.sql /root/
    

    Now you can safely remove the postgresql-8.4 and install postgresql-9.1:

    aptitude purge postgresql-8.4
    aptitude install postgresql-9.1
    

    Next check the postgresql configuration in /etc/postgresql/9.1/main. If you make any changes, make sure to restart postgres with /etc/init.d/postgresql restart.

    Postgresql 9.1 is now up and running, let’s import our data back into it.

    su - postgres
    psql < dump.sql
    

    That’s all. You’re now fully upgraded to PostgreSQL 9.1

    edit:

    similar question was asked here:

    https://askubuntu.com/questions/66194/how-do-i-migrate-my-postgres-data-from-8-4-to-9-1

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I released an app that uses Google LVL to the Market many months ago.
I havent used lucene. Last time i ask (many months ago, maybe a year)
I've started to use XCode several months ago, after using IntelliJ for several years,
After many months of postponing it, this week, I finally started using a new
I've been developing with WPF for many months now. It's a great framework and
I had many problems installing Team Foundation Server 2005 (Workgroup) about six months ago
Odd phenomenon started six to nine months ago. Many of my clients (non-technical co-workers)
4 months ago, after many installations of sdk, qt, libraries, mameo etc. I realized
I threw my portfolio together a few months ago and now I am trying
Many search engines are not using meta keywords and Google through many recent updates

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.