pyserial failed to upgrade : "pycentral pkginstall: not overwriting local files"

Bug #278818 reported by desync0@gmail.com
34
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pyserial (Ubuntu)
Invalid
Medium
Unassigned
python-central (Ubuntu)
Invalid
High
Unassigned

Bug Description

Description: Ubuntu intrepid (development branch)
Release: 8.10

ProblemType: Package
Architecture: i386
Dependencies:

DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: python-serial None [modified: /var/lib/dpkg/info/python-serial.list]
PackageArchitecture: all
SourcePackage: pyserial
Title: package python-serial None [modified: /var/lib/dpkg/info/python-serial.list] failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-4-generic i686

Revision history for this message
desync0@gmail.com (desync0) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The error is :
Setting up python-serial (2.3-1) ...
pycentral: pycentral pkginstall: not overwriting local files
pycentral pkginstall: not overwriting local files
dpkg: error processing python-serial (--configure):

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

Can you please provide the output of the
following command?

sudo pycentral -v pkginstall python-serial

Thanks!

Changed in pyserial:
status: New → Incomplete
Changed in pyserial:
importance: Undecided → Medium
status: Incomplete → Triaged
Changed in python-central:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Alan Norton (nortona) wrote :

user@box:~$ sudo pycentral -v pkginstall python-serial
pycentral: pycentral -v pkginstall python-serial
pycentral: reading /usr/share/pyshared-data/python-serial
pycentral: Using python-version from pkgconfig: all
pycentral: avail=['2.5'], pkg=all, install=['2.5']
pycentral: install package python-serial
pycentral: link shared files python2.5/python-serial
pycentral: pycentral pkginstall: not overwriting local files
pycentral pkginstall: not overwriting local files

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

This is an intended behavior of pycentral to not overwrite locally installed python modules (easyinstall , by hand, ...) . So, this is not an error in Ubuntu.
You can either remove the version installed by hand or set overwrite-local=1 in /etc/python/debian_config and retry the upgrade of the package

I'm closing this report. Don't hesitate to submit any new bug.

Changed in pyserial:
status: Triaged → Invalid
Changed in python-central:
status: Triaged → Invalid
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.