Conflicts with python-sqlite

Bug #87493 reported by Scott Kitterman
24
Affects Status Importance Assigned to Milestone
python-pysqlite2 (Ubuntu)
Fix Released
Undecided
Matthias Klose

Bug Description

Binary package hint: python-pysqlite2

Both python-sqlite and python-pysqlite2 have the Python module name pysqlite. Currently if one is installed, the other will fail to install (this is in Feisty):

$ sudo apt-get install python-sqlite
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  python-sqlite-dbg
The following NEW packages will be installed:
  python-sqlite
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 35.3kB of archives.
After unpacking 197kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com feisty/main python-sqlite 1.0.1-5ubuntu1 [35.3kB]
Fetched 35.3kB in 0s (37.7kB/s)
Selecting previously deselected package python-sqlite.
(Reading database ... 98977 files and directories currently installed.)
Unpacking python-sqlite (from .../python-sqlite_1.0.1-5ubuntu1_i386.deb) ...
Setting up python-sqlite (1.0.1-5ubuntu1) ...
pycentral: pycentral pkginstall: already exists: /usr/lib/python2.4/site-packages/pysqlite.egg-info -> /usr/share/pycentral/python-pysqlite2/site-packages/pysqlite.egg-info
pycentral pkginstall: already exists: /usr/lib/python2.4/site-packages/pysqlite.egg-info -> /usr/share/pycentral/python-pysqlite2/site-packages/pysqlite.egg-info
dpkg: error processing python-sqlite (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python-sqlite
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Piotr Ożarowski (piotr) wrote :

python-sqlite is providing "sqlite" module (for SQLite2) and python-pysqlite2 - "pysqlite2" (for SQLite3). The only conflicting data is Egg info.

I suggest to remove Egg info from python-sqlite package

Revision history for this message
Piotr Ożarowski (piotr) wrote :

If only python-pysqlite2 is providing versioned Egg, pkg_resources detects newest version. See also my comments in #86552

Matthias Klose (doko)
Changed in python-pysqlite2:
assignee: nobody → doko
status: Unconfirmed → In Progress
Revision history for this message
Matthias Klose (doko) wrote :

fixed in python-pysqlite2_2.3.2-1ubuntu2

Changed in python-pysqlite2:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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