Public bug reported:

Binary package hint: python-pysnmp-common

This is about the versions currently available for Lucid (10.04)

There should be a conflicts relationship between python-pysnmp-common
and python-pysnmp2 since both attempt to provide the same file. This
results in a dpkg failure if trying to apt-get install either package
after the other.

 scm@scm:/tmp/tmp.jemCOScqRP$ dpkg --contents python-pysnmp2_2.0.9-2_all.deb | 
grep __init__
-rw-r--r-- root/root       334 2002-05-20 08:12 
./usr/share/pyshared/pysnmp/__init__.py
scm@scm:/tmp/tmp.jemCOScqRP$ dpkg --contents 
python-pysnmp-common_4.1.9a-1ubuntu0.10.04.1_all.deb | grep __init__
-rw-r--r-- root/root       844 2006-12-13 12:23 
./usr/share/pyshared/pysnmp/__init__.py

What happened:

scm@scm:/tmp/tmp.jemCOScqRP$ sudo apt-get install python-pysnmp-common
[SNIP]
Setting up python-pysnmp-common (4.1.9a-1ubuntu0.10.04.1) ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
scm@scm:/tmp/tmp.jemCOScqRP$ dpkg -s python-pysnmp-common
Package: python-pysnmp-common
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 72
Maintainer: Ubuntu MOTU Developers <ubuntu-m...@lists.ubuntu.com>
Architecture: all
Source: python-pysnmp4
Version: 4.1.9a-1ubuntu0.10.04.1

scm@scm:/tmp/tmp.jemCOScqRP$ sudo apt-get install python-pysnmp2
[SNIP]
Fetched 42.6kB in 0s (216kB/s)       
Selecting previously deselected package python-pysnmp2.
(Reading database ... 239263 files and directories currently installed.)
Unpacking python-pysnmp2 (from .../python-pysnmp2_2.0.9-2_all.deb) ...
dpkg: error processing /var/cache/apt/archives/python-pysnmp2_2.0.9-2_all.deb 
(--unpack):
 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
Errors were encountered while processing:
 /var/cache/apt/archives/python-pysnmp2_2.0.9-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
scm@scm:/tmp/tmp.jemCOScqRP$ dpkg -s python-pysnmp2
Package: python-pysnmp2
Status: install ok not-installed
Priority: optional
Section: python

Yikes, now I have a broken package.

What I expected:

Apt should have nicely warned me about this conflict.

** Affects: python-pysnmp4 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: glucid lucid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/769205

Title:
  python-pysnmp-common conflicts with python-pysnmp2

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to