Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Masking postgresql packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MrSums
Apprentice
Apprentice


Joined: 25 May 2003
Posts: 283
Location: UK

PostPosted: Fri Sep 28, 2007 6:35 pm    Post subject: Masking postgresql packages Reply with quote

Hi,

Having trouble with masking packages. I want to run "emerge world", but when I do "emerge -p world" I (amongst other things)
Quote:
[ebuild U ] dev-db/postgresql-8.2.4-r1 [8.1.0] USE="kerberos* xml%* -tcl% -test%"
[ebuild U ] dev-db/libpq-8.2.4 [8.1.0] USE="kerberos* threads%* -pg-intdatetime%"
[blocks B ] <=dev-db/postgresql-8.1.4 (is blocking dev-db/libpq-8.2.4)


However, I want to keep my current versions (and deal with the upgrade later), so I put the following into /etc/portage/package.mask
Quote:
>=dev-db/libpq-8.1.0
>=dev-db/postgresql-8.1.0


But then the system wants to downgrade me to postgreql-8.0.13

What am I doing wrong please?

Thanks

Robert
_________________
If you dont ask, you wont get
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Sep 28, 2007 6:43 pm    Post subject: Reply with quote

The ">=" is masking your current version. Just use ">". Otherwise, what you've done looks good. :)

- John
Back to top
View user's profile Send private message
MrSums
Apprentice
Apprentice


Joined: 25 May 2003
Posts: 283
Location: UK

PostPosted: Fri Sep 28, 2007 7:21 pm    Post subject: Reply with quote

john_r_graham wrote:
The ">=" is masking your current version. Just use ">". Otherwise, what you've done looks good. :)

- John


Removed the "=" sign, but it is still trying to downgrade. I ran "emerge -pC libpq postgresql" just to check and I definitely have the "8.1.0" versions
_________________
If you dont ask, you wont get
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Sep 28, 2007 9:22 pm    Post subject: Reply with quote

Okay, you had two issues. The first was that you were specifying the versions to mask incorrectly. We got that fixed. The second is that dev-db/postgresql-8.1.0 is so old that it isn't in Portage any longer. Ditto for your version of libpq. In order to keep them, you'll have to move a copy of their ebuilds into your local overlay. You can find the ebuilds for installed packages at
Code:
/var/db/pkg/${CATEGORY}/${PACKAGE_NAME}/
Do you already have one? A local overlay, I mean. It's a just little involved to set one up but not too bad. Ask if you need help. :)

- John
Back to top
View user's profile Send private message
MrSums
Apprentice
Apprentice


Joined: 25 May 2003
Posts: 283
Location: UK

PostPosted: Fri Sep 28, 2007 10:01 pm    Post subject: Reply with quote

Hey, thanks for your help. I was confused. I can look up the local overlay stuff now I know where to look

Best

Robert
_________________
If you dont ask, you wont get
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum