Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278228 - virtual/postgresql-base-8.3 is uninstallable because there is no libpq-8.3*
Summary: virtual/postgresql-base-8.3 is uninstallable because there is no libpq-8.3*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-18 07:45 UTC by Premek Vohnout
Modified: 2010-06-02 17:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Premek Vohnout 2009-07-18 07:45:54 UTC
Summary tell's enough

Reproducible: Always

Steps to Reproduce:
1. unmask virtual/postgresql-base-8.3
2. emerge postgresl-base
3.

Actual Results:  
wohnout ~ # emerge -1va postgresql-base

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=dev-db/libpq-8.3*".
(dependency required by "virtual/postgresql-base-8.3" [ebuild])
(dependency required by "postgresql-base" [argument])



Expected Results:  
emerge postgresql-base
Comment 1 Rafał Mużyło 2009-07-18 10:45:23 UTC
Have you tried 'emerge -1pv dev-db/postgresql-base' ?
Comment 2 Premek Vohnout 2009-07-18 13:13:06 UTC
This condition make no sense for 8.3

RDEPEND="|| ( =dev-db/libpq-${PV}* dev-db/postgresql-base:${SLOT} )"
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-07-19 10:19:49 UTC
True, as latest libpq is 8.2.7 that doesn't make sense.
Comment 4 Chris Ribble 2009-07-22 21:52:57 UTC
(In reply to comment #0)
> Summary tell's enough
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. unmask virtual/postgresql-base-8.3
> 2. emerge postgresl-base
> 3.
> 
> Actual Results:  
> wohnout ~ # emerge -1va postgresql-base
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> 
> emerge: there are no ebuilds to satisfy "=dev-db/libpq-8.3*".
> (dependency required by "virtual/postgresql-base-8.3" [ebuild])
> (dependency required by "postgresql-base" [argument])
> 
> 
> 
> Expected Results:  
> emerge postgresql-base
> 

You have to unmask postgresql-base, as well as eselect-postgresql. You need to add ALL 3 of these lines to your package.keywords file:

app-admin/eselect-postgresql
virtual/postgresql-base
dev-db/postgresql-base

Comment 5 Patrick Lauer gentoo-dev 2009-10-09 18:03:09 UTC
(In reply to comment #3)
> True, as latest libpq is 8.2.7 that doesn't make sense.
> 
libpq is unmaintained and on the way out. Keywords are a mess, but as soon as arch teams get postgresql-base stabled far enough libpq is masked. End of bug :)
Comment 6 Patrick Lauer gentoo-dev 2010-06-02 17:24:53 UTC
+  02 Jun 2010; Patrick Lauer <patrick@gentoo.org>
+  +postgresql-base-7.4.29-r1.ebuild, +postgresql-base-8.0.25-r1.ebuild,
+  +postgresql-base-8.1.21-r1.ebuild, +postgresql-base-8.2.17-r1.ebuild,
+  +postgresql-base-8.3.11-r1.ebuild,
+  +files/postgresql-base-8.4-9.0-heimdal_strlcpy.patch,
+  +postgresql-base-8.4.4-r1.ebuild, +postgresql-base-9.0_beta1-r1.ebuild:
+  Fixes for #313765, #251046, #294462, #300793, #274836, #296714, #238817,
+  #278228, #263096, #246397, #285953. Thanks to Aaron Swenson for collecting
+  the fixes and testing.