[Bug 86552] Re: [apport] package python-sqlite failed to install/upgrade:
fixed in python-sqlite_1.0.1-5ubuntu2 ** Changed in: python-sqlite (Ubuntu) Status: In Progress = Fix Released -- [apport] package python-sqlite failed to install/upgrade: https://launchpad.net/bugs/86552 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 86552] Re: [apport] package python-sqlite failed to install/upgrade:
Another solution is versioned Egg file name (that is allowed), but in that case pkg_resources always detects only the older package (1.0.1) even if python-pysqlite2 is providing versioned Egg. (I still recommend to remove Egg file from python-sqlite, see my previous patch) ** Attachment added: versioned_egg http://librarian.launchpad.net/6607388/versioned_egg.patch -- [apport] package python-sqlite failed to install/upgrade: https://launchpad.net/bugs/86552 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 86552] Re: [apport] package python-sqlite failed to install/upgrade:
OK, I change my recommendation to: * leave this (python-sqlite) package untouched * apply my patch from #87493 to python-pysqlite2 :-) -- [apport] package python-sqlite failed to install/upgrade: https://launchpad.net/bugs/86552 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 86552] Re: [apport] package python-sqlite failed to install/upgrade:
** Changed in: python-sqlite (Ubuntu) Assignee: (unassigned) = Matthias Klose Status: Confirmed = In Progress -- [apport] package python-sqlite failed to install/upgrade: https://launchpad.net/bugs/86552 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 86552] Re: [apport] package python-sqlite failed to install/upgrade:
Which is problematic because 'griffith' is dependend upon it. -- [apport] package python-sqlite failed to install/upgrade: https://launchpad.net/bugs/86552 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 86552] Re: [apport] package python-sqlite failed to install/upgrade:
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 (so that: `python -c 'import pkg_resources; pkg_resources.require(pysqlite)'` will return pysqlite2 data. btw: Griffith uses python-sqlite to convert databases from SQLite2 to SQLite3 while upgrading from 0.6.2 -- [apport] package python-sqlite failed to install/upgrade: https://launchpad.net/bugs/86552 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 86552] Re: [apport] package python-sqlite failed to install/upgrade:
With attached patch all works fine. Please note that upstream author is not providing Egg support by default, it is added by new setuptools and since python-sqlite is obsolete, I dare to say that removing Egg support will not make any damage to the package ** Attachment added: remove Egg support from python-sqlite http://librarian.launchpad.net/6605274/remove_egg_support.patch -- [apport] package python-sqlite failed to install/upgrade: https://launchpad.net/bugs/86552 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 86552] Re: [apport] package python-sqlite failed to install/upgrade:
Both python-sqlite and python-pysqlite2 have the Python module name pysqlite and so install of one will fail if the other is already installed. -- [apport] package python-sqlite failed to install/upgrade: https://launchpad.net/bugs/86552 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 86552] Re: [apport] package python-sqlite failed to install/upgrade:
Confirmed. Maybe python-sqlite should Replace python-pysqlite2, if that is the intention? -- [apport] package python-sqlite failed to install/upgrade: https://launchpad.net/bugs/86552 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 86552] Re: [apport] package python-sqlite failed to install/upgrade:
Don't think so, as python-sqlite2 provides the Python interface to SQLite *3*, and e.g. gcompris depends on it. Seems they should be parallel-installable. -- [apport] package python-sqlite failed to install/upgrade: https://launchpad.net/bugs/86552 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 86552] Re: [apport] package python-sqlite failed to install/upgrade:
The error message is: 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 ** Changed in: python-sqlite (Ubuntu) Status: Unconfirmed = Confirmed -- [apport] package python-sqlite failed to install/upgrade: https://launchpad.net/bugs/86552 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 86552] Re: [apport] package python-sqlite failed to install/upgrade:
The problem goes away after uninstalling python-pysqlite2. -- [apport] package python-sqlite failed to install/upgrade: https://launchpad.net/bugs/86552 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs