package python-pysnmp2 (not installed) failed to install/upgrade: trying to overwrite '/usr/share/pyshared/pysnmp/__init__.py', which is also in package python-pysnmp-common 0:4.1.9a-1ubuntu0.10.04.1

Bug #681684 reported by rongten
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-pysnmp2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-pysnmp2

Just trying to install via synaptic

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: python-pysnmp2 (not installed)
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic i686
Architecture: i386
Date: Fri Nov 26 08:37:15 2010
ErrorMessage: trying to overwrite '/usr/share/pyshared/pysnmp/__init__.py', which is also in package python-pysnmp-common 0:4.1.9a-1ubuntu0.10.04.1
SourcePackage: python-pysnmp2
Title: package python-pysnmp2 (not installed) failed to install/upgrade: trying to overwrite '/usr/share/pyshared/pysnmp/__init__.py', which is also in package python-pysnmp-common 0:4.1.9a-1ubuntu0.10.04.1

Revision history for this message
rongten (rongten) wrote :
Revision history for this message
Nathan Embery (nembery) wrote :

Hi,
 I've attached a patch that will allow pysnmp2 to install cleanly. However, this is clearly not the 'correct' long term fix. The hope is that this will be useful to someone else who finds this bug and needs to install pysnmp2 without waiting for the longterm fix. The underlying issue seems to be that pysnmp2 does not install under /usr/share/pyshared/pysnmp/v2 as the pysnmp-common seems to expect.

tags: added: patch
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.