Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Ubuntu package PostrgreSQL 9.1
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Milos Gajdos  
View profile  
 More options Oct 25 2012, 12:18 pm
From: Milos Gajdos <milosgajdo...@gmail.com>
Date: Thu, 25 Oct 2012 09:18:48 -0700 (PDT)
Local: Thurs, Oct 25 2012 12:18 pm
Subject: Ubuntu package PostrgreSQL 9.1

Hi I built a repmgr Ubuntu package following the steps published on Github.
Package builds fine:

postgresql-repmgr-9.0_1.0.0.deb

However when I'm trying to install it, the installation fails as it looks
like the package is looking for Postgres 9.0 libs as oppose to 9.1 ?

$ sudo dpkg -i postgresql-repmgr-9.0_1.0.0.deb
Selecting previously unselected package repmgr-auto.
(Reading database ... 70156 files and directories currently installed.)
Unpacking repmgr-auto (from postgresql-repmgr-9.0_1.0.0.deb) ...
dpkg: dependency problems prevent configuration of repmgr-auto:
 repmgr-auto depends on postgresql-9.0; however:
  Package postgresql-9.0 is not installed.
dpkg: error processing repmgr-auto (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 repmgr-auto

Anyone idea how to fix this ?
Cheers
M.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Milos Gajdos  
View profile  
 More options Oct 25 2012, 12:34 pm
From: Milos Gajdos <milosgajdo...@gmail.com>
Date: Thu, 25 Oct 2012 09:34:14 -0700 (PDT)
Local: Thurs, Oct 25 2012 12:34 pm
Subject: Re: Ubuntu package PostrgreSQL 9.1

In case anyone is interested how I resolved this:

1.) change postgers version from 9.0 to 9.1 in debian/DEBIAN/control
Depends: rsync, postgresql-9.1

2.) you must change the Postgres version in Makefile from 9.0 to 9.1 in deb
task:
deb: repmgrd repmgr                                                        

▸   mkdir -p ./debian/usr/bin                                              

▸   cp repmgrd repmgr ./debian/usr/bin/                                    

▸   mkdir -p ./debian/usr/share/postgresql/9.1/contrib/                    

▸   cp sql/repmgr_funcs.sql ./debian/usr/share/postgresql/9.1/contrib/    

▸   cp sql/uninstall_repmgr_funcs.sql
./debian/usr/share/postgresql/9.1/contrib/
▸   mkdir -p ./debian/usr/lib/postgresql/9.1/lib/                          

▸   cp sql/repmgr_funcs.so ./debian/usr/lib/postgresql/9.1/lib/            

▸   dpkg-deb --build debian                                                

▸   mv debian.deb ../postgresql-repmgr-9.0_1.0.0.deb                      

▸   rm -rf ./debian/usr                          

Package then builds just fine and installs without any problems on Ubuntu
12.04LTS! Postges 9.1
M.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon Riggs  
View profile  
 More options Oct 25 2012, 1:46 pm
From: Simon Riggs <si...@2ndQuadrant.com>
Date: Thu, 25 Oct 2012 19:46:05 +0200
Local: Thurs, Oct 25 2012 1:46 pm
Subject: Re: [repmgr] Re: Ubuntu package PostrgreSQL 9.1
On 25 October 2012 18:34, Milos Gajdos <milosgajdo...@gmail.com> wrote:

> Package then builds just fine and installs without any problems on Ubuntu
> 12.04LTS! Postges 9.1

Thanks

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »