python-psycopg: Missing dependencies? (libc6, libpq4)

Bug #75781 reported by Carthik Sharma
2
Affects Status Importance Assigned to Milestone
psycopg (Ubuntu)
New
Undecided
Unassigned

Bug Description

This bug was originally reported using reportbug. Filing by proxy.

The contents of the original report follow:
 From: <email address hidden>
To: Ubuntu Bug Tracking System <email address hidden>
Subject: python-psycopg: Missing dependencies? (libc6, libpq4)
Date: Thu, 07 Dec 2006 16:27:48 -0800
X-Mailer: reportbug 3.21.2ubuntu1

Package: python-psycopg
Version: 1.1.21-7
Severity: grave
Justification: renders package unusable

It seems there are a couple of serious missing dependencies: libc6 and
libpq4. Though libc6 will already be availble due to other package
dependencies, libpq4 may not.

This leads to an import error like:

    import psycopg
    ImportError: libpq.so.4: cannot open shared object file: No such file or directory

Probably related, python-psycopg's description says:

    Description: Python module for PostgreSQL [dummy package]

But this is NOT a dummy package. This package contains the module!

It seems like there was an incomplete package migration.

This can also cause an upgrade from Dapper to Edgy to break an existing
system's psycopg support. For example, if 'aptitude dist-upgrade' is
used to upgrade from Dapper to Edgy and libpq4 is marked as
"automatically installed" (from being automatically installed when
python2.4-psycopg was installed), then libq4 will be *removed* as being
no longer in use. Afterwards, the import error above will happen and the
applications using it will fail.

-- System Information:
Debian Release: testing/unstable
  APT prefers edgy-updates
  APT policy: (500, 'edgy-updates'), (500, 'edgy-security'), (500, 'edgy')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-10-server
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages python-psycopg depends on:
ii python 2.4.3-11ubuntu3 An interactive high-level object-o
ii python-egenix-mxda 2.0.6ubuntu1-1ubuntu5 date and time handling routines fo

python-psycopg recommends no packages.

-- no debconf information

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.