← Back to team overview

launchpad-dev team mailing list archive

Re: IMPORTANT: How to fix launchpad-dependencies on Maverick

 

Hi Maris,

On Fri, Oct 1, 2010 at 11:18 AM, Maris Fogels
<maris.fogels@xxxxxxxxxxxxx> wrote:
> Hi everyone,
>
> As you may know there is a problem with the stock pysycopg2 on Maverick that
> prevents one from running the test suite (bug 631010).  I have fixed this issue
> in the launchpad-dependencies package, but my fix requires manual intervention
> on your part.
>
> You only need to run this fix if you are:
>
>  a) Running Maverick, and
>  b) Have not pinned, forced, or otherwise downgraded to python-pscyopg2 2.0.13.
>
>
> If you do require the fix, here are the steps to get launchpad-dependencies 0.82
> to install:
>
>  $ sudo apt-get update
>  $ sudo apt-get install python-psycopg2=2.0.13-2ubuntu2
>  $ sudo apt-get install launchpad-developer-dependencies
>
>
> This pulls in the latest packages from our archive, forces apt to downgrade
> psycopg2 to our backported version, and then installs launchpad-dependencies
> 0.82, which depends up said backport.
>
> You do not need to pin or hold the older version python-psycopg2 with this
> solution.  launchpad-dependencies 0.82 will hold the old version for you.  If
> you already have python-psycopg2 held or pinned you may now remove the hold.
>
> Once python-psycopg2 on Maverick has been fixed someone must edit
> launchpad-dependencies again to allow it on our systems.
>
> If you have any questions, then please reply in this thread.

Just to be clear, this is a stop-gap measure until Launchpad is fixed
to use unicode strings correctly like Henning commented on the bug
correct? That's what we did in Landscape. I don't think
python-psycopg2 should be patched to accomodate for our brokeness.

-- Sidnei



Follow ups

References