View previous topic :: View next topic |
Author |
Message |
MrSums Apprentice
Joined: 25 May 2003 Posts: 283 Location: UK
|
Posted: Fri Sep 28, 2007 6:35 pm Post subject: Masking postgresql packages |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Sep 28, 2007 6:43 pm Post subject: |
|
|
The ">=" is masking your current version. Just use ">". Otherwise, what you've done looks good.
- John |
|
Back to top |
|
|
MrSums Apprentice
Joined: 25 May 2003 Posts: 283 Location: UK
|
Posted: Fri Sep 28, 2007 7:21 pm Post subject: |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Sep 28, 2007 9:22 pm Post subject: |
|
|
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 |
|
|
MrSums Apprentice
Joined: 25 May 2003 Posts: 283 Location: UK
|
Posted: Fri Sep 28, 2007 10:01 pm Post subject: |
|
|
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 |
|
|
|