[Bug 1642582] Re: mtx package version 1.3.12-9 installation fails with duplicate bash-completion via apt-get
Dimitri John Ledkov
launchpad at surgut.co.uk
Mon Dec 12 14:39:17 UTC 2016
I agree that there is a conflict, however I cannot reproduce it the way
it is specified in the bug description, out of the box. From archive
Contents file:
etc/bash_completion.d/mtx admin/mtx
usr/share/bash-completion/completions/mtx shells/bash-completion
One ships the completion file in the new location, whilst the other
ships it in the old location.
The two should not create a dpkg conflict. And they do not, in a clean
Ubuntu Xenial chroot (e.g. $ mk-sbuild xenial; schroot -u root -c
xenial-s390x; apt update; apt install bash-completion mtx)
>From the affected system, can you please provide output of:
$ ls -latr /etc/ | grep bash
to verify that e.g. /etc/bash_completion.d is not a symlink to usr/share
/bash-completion/completions/ on your system.
Nonetheless, I will open a new bug report about this completion conflict
between these two packages in Debian.
** Also affects: bash-completion (Ubuntu)
Importance: Undecided
Status: New
** Changed in: bash-completion (Ubuntu)
Status: New => Incomplete
** Changed in: mtx (Ubuntu)
Status: New => Incomplete
** Changed in: mtx (Ubuntu)
Importance: Medium => Wishlist
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1642582
Title:
mtx package version 1.3.12-9 installation fails with duplicate bash-
completion via apt-get
Status in Ubuntu on IBM z Systems:
New
Status in bash-completion package in Ubuntu:
Incomplete
Status in mtx package in Ubuntu:
Incomplete
Bug description:
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.12-9_s390x.deb package which was downloaded to /var/cache/apt/archives/ location but installation was not performed due to duplicate bash completion data being delivered.
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/apt/archives/mtx_1.3.12-9_s390x.deb
(Reading database ... 76609 files and directories currently installed.)
Preparing to unpack .../mtx_1.3.12-9_s390x.deb ...
Unpacking mtx (1.3.12-9) ...
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/bash-completion/completions/mtx', which is also in package bash-completion 1:2.1-4.2ubuntu1.1
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://ports.ubuntu.com xenial/main s390x mtx s390x 1.3.12-9 [93.9 kB]
Fetched 93.9 kB in 0s (0 B/s)
(Reading database ... 76609 files and directories currently installed.)
Preparing to unpack .../mtx_1.3.12-9_s390x.deb ...
Unpacking mtx (1.3.12-9) ...
dpkg: error processing archive /var/cache/apt/archives/mtx_1.3.12-9_s390x.deb (--unpack):
trying to overwrite '/usr/share/bash-completion/completions/mtx', which is also in package bash-completion 1:2.1-4.2ubuntu1.1
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/mtx_1.3.12-9_s390x.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
#
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1642582/+subscriptions
More information about the foundations-bugs
mailing list