mtx package version 1.3.12-9 installation fails with duplicate bash-completion via apt-get
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Canonical Server | ||
mtx (Debian) |
Fix Released
|
Unknown
|
|||
mtx (Ubuntu) |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Xenial |
Fix Released
|
Critical
|
Dimitri John Ledkov | ||
Yakkety |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Zesty |
Fix Released
|
High
|
Dimitri John Ledkov |
Bug Description
[Impact]
* mtx package has an arch-skew contents. On xenial and yakkety, on s390x, the package was build with new enough bash-completion debhelper addon that has placed the completion files into /usr which generates file conflict with bash-completion package itself
* on all other architectures in xenial and yakkety the bash completion file is shipped by the mtx package, redundantly in /etc, when there is a completion file in /usr in bash-completion package already
* in zesty the bash completion file got remoted from the mtx package in favor of bash-completion package one.
* to avoid file conflict on s390x on xenial/yakkety, I'm proposing to rebuild mtx package on xenial and yakkety and remove the redudant bash completion file
[Testcase]
* Co-install mtx package and bash-completion package, without any file conflicts
* Verify that /etc/bash_
* Verify that mtx bash completion is still available
[Original bug report]
Summary
=======
Machine: IBM z13, Ubuntu 16.04.01. uname -a
Linux s8314007 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:42:36 UTC 2016 s390x s390x s390x GNU/Linux
We were unable to install the 'mtx' package for control of tape autochangers via 'apt-get install mtx'
Details
=======
We wanted to install both the mt-st and mtx packages for s390 tape support.
We encountered a problem in the mtx_1.3.
See the console output section below for results and more details about the error itself.
We expect the mtx package to install smoothly with apt-get install mtx.
We worked around with:
~~~~~~~
# dpkg --force-overwrite -i /var/cache/
(Reading database ... 76609 files and directories currently installed.)
Preparing to unpack .../mtx_
Unpacking mtx (1.3.12-9) ...
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/
Setting up mtx (1.3.12-9) ...
Processing triggers for man-db (2.7.5-1) ...
# dpkg -l|grep mtx
ii mtx 1.3.12-9 s390x controls tape autochangers
Console output
==============
# apt-get install mtx -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
mtx
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 93.9 kB of archives.
After this operation, 395 kB of additional disk space will be used.
Get:1 http://
Fetched 93.9 kB in 0s (0 B/s)
(Reading database ... 76609 files and directories currently installed.)
Preparing to unpack .../mtx_
Unpacking mtx (1.3.12-9) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/share/
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
#
tags: | added: architecture-s39064 bugnameltc-148858 severity-medium targetmilestone-inin1604 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → mtx (Ubuntu) |
Changed in mtx (Ubuntu): | |
importance: | Undecided → Medium |
no longer affects: | bash-completion (Ubuntu) |
tags: |
added: targetmilestone-inin16042 removed: targetmilestone-inin1604 |
Changed in mtx (Debian): | |
status: | Unknown → New |
Changed in mtx (Debian): | |
status: | New → Fix Released |
Changed in ubuntu-z-systems: | |
status: | New → Incomplete |
description: | updated |
Changed in ubuntu-z-systems: | |
status: | Incomplete → Confirmed |
description: | updated |
Changed in mtx (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
Changed in mtx (Ubuntu Yakkety): | |
status: | Confirmed → In Progress |
Changed in ubuntu-z-systems: | |
status: | Confirmed → In Progress |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
affects ubuntu-z-systems project, but is not limited to s390x