Bug #3541
closedConflicting Debian packages: python3-osmopy-utils and osmocom-nitb
0%
Description
During the implementation of #3176 I have discovered the following conflict when installing both packages:
Unpacking python3-osmopy-utils (0.0.9.20180909) ... dpkg: error processing archive /tmp/apt-dpkg-install-MovoKD/337-python3-osmopy-utils_0.0.9.20180909_all.deb (--unpack): trying to overwrite '/usr/bin/soap.py', which is also in package osmocom-nitb 1.1.0.20180909
(this is only on "nightly", not in "latest")
Related issues
Updated by neels over 5 years ago
- soap.py is installed by openbsc.git package osmocom-nitb (the rule to include openbsc/openbsc/contrib/*.py).
- soap.py is also installed by python3-osmopy-utils osmo-python-tests.git.
The old openbsc.git also used the osmo-python-tests.git, but apparently during the repository move, it was decided to move soap.py over to osmo-python-tests.git.
So I think we should drop soap.py from openbsc.git, osmo-nitb package, to allow installing the python tests suite alongside osmo-nitb?
I'm tempted to actually drop all of the .py scripts from the osmo-nitb package, but there still are some that don't exist in osmo-python-tests.git.
openbsc/openbsc/contrib/bsc_control.py* openbsc/openbsc/contrib/bt.py* openbsc/openbsc/contrib/convert_to_enum.py* openbsc/openbsc/contrib/ctrl2sse.py* openbsc/openbsc/contrib/ipa.py* openbsc/openbsc/contrib/mgcp_server.py* openbsc/openbsc/contrib/soap.py* openbsc/openbsc/contrib/twisted_ipa.py*
osmo-python-tests/scripts/ctrl2cgi.py* osmo-python-tests/scripts/osmo_ctrl.py* osmo-python-tests/scripts/osmodumpdoc.py osmo-python-tests/scripts/osmo_interact_ctrl.py* osmo-python-tests/scripts/osmo_interact_vty.py* osmo-python-tests/scripts/osmo_rate_ctr2csv.py osmo-python-tests/scripts/osmotestconfig.py osmo-python-tests/scripts/osmotestvty.py osmo-python-tests/scripts/osmo_verify_transcript_ctrl.py* osmo-python-tests/scripts/osmo_verify_transcript_vty.py* osmo-python-tests/scripts/soap.py*
Does anyone else have an opinion what to do about .py scripts in osmo-nitb?
Personally, I don't use any one of them, so no idea whether they are important to anyone else.
Updated by osmith over 5 years ago
- Related to Bug #3176: osmocom debian packages are not install / upgrade tested added
Updated by laforge over 5 years ago
- Assignee set to osmith
neels wrote:
- soap.py is installed by openbsc.git package osmocom-nitb (the rule to include openbsc/openbsc/contrib/*.py).
- soap.py is also installed by python3-osmopy-utils osmo-python-tests.git.
The old openbsc.git also used the osmo-python-tests.git, but apparently during the repository move, it was decided to move soap.py over to osmo-python-tests.git.
So I think we should drop soap.py from openbsc.git, osmo-nitb package, to allow installing the python tests suite alongside osmo-nitb?
ACK.
Does anyone else have an opinion what to do about .py scripts in osmo-nitb?I'm tempted to actually drop all of the .py scripts from the osmo-nitb package, but there still are some that don't exist in osmo-python-tests.git.
Personally, I don't use any one of them, so no idea whether they are important to anyone else.
I wouldn't just blindly remove things that cause no harm (like conflicts).
Updated by osmith over 4 years ago
- Status changed from New to Rejected
Since osmo-nitb is legacy, it doesn't seem worth investigating this more.