package python-pysqlite2 2.4.1-1 failed to install/upgrade: pycentral pkgprepare: not overwriting local files

Bug #292479 reported by ajeshp
4
Affects Status Importance Assigned to Milestone
python-pysqlite2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: python-pysqlite2

This happened while I was upgrading Ubuntu from 8.04 to 8.10

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage:
 ErrorMessage: package python-pysqlite2 is already installed and configured
Package: python-pysqlite2 2.4.1-1
SourcePackage: python-pysqlite2
Title: package python-pysqlite2 2.4.1-1 failed to install/upgrade:
Uname: Linux 2.6.27-7-generic i686

Revision history for this message
ajeshp (ajesh-prabhu) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The error is
=====
Preparing to replace python-pysqlite2 2.4.0-2build1 (using .../python-pysqlite2_2.4.1-1_i386.deb) ...
pycentral: pycentral pkgprepare: not overwriting local files
pycentral pkgprepare: not overwriting local files
dpkg: error processing /var/cache/apt/archives/python-pysqlite2_2.4.1-1_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
=====

Did you install a previous version of the package by hand ?

Changed in python-pysqlite2:
status: New → Incomplete
Revision history for this message
ajeshp (ajesh-prabhu) wrote :

Yes, I did install a previous version sometime back.

After this error occurred, the upgrade manager crashed while in the process of installing updates.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for the update.

I'm closing this report because this is the intended behavior. The workaround is either to removed the manually installed package or to set overwrite-local=1 in /etc/python/debian_config before running the upgrade.

Changed in python-pysqlite2:
status: Incomplete → Invalid
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.