Hi Lukasz,
the issue seems to be fixed for me on xenial:

### negative test, using the old package (without proposed):

apt-cache policy mtx
mtx:
  Installed: (none)
  Candidate: 1.3.12-9
  Version table:
     1.3.12-9 500
        500 http://us.ports.ubuntu.com/ubuntu-ports xenial/main s390x Packages

sudo apt-get install mtx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-67 linux-headers-4.4.0-67-generic
  linux-image-4.4.0-67-generic linux-image-extra-4.4.0-67-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  mtx
0 upgraded, 1 newly installed, 0 to remove and 13 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://us.ports.ubuntu.com/ubuntu-ports xenial/main s390x mtx s390x 
1.3.12-9 [93.9 kB]
Fetched 93.9 kB in 0s (7,215 kB/s)
Selecting previously unselected package mtx.
(Reading database ... 134486 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)

### now with the package from proposed:

apt-cache policy mtx
mtx:
  Installed: (none)
  Candidate: 1.3.12-9ubuntu0.16.04.1
  Version table:
     1.3.12-9ubuntu0.16.04.1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial-proposed/main s390x 
Packages
     1.3.12-9 500
        500 http://us.ports.ubuntu.com/ubuntu-ports xenial/main s390x Packages

sudo apt-get install mtx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-67 linux-headers-4.4.0-67-generic
  linux-image-4.4.0-67-generic linux-image-extra-4.4.0-67-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  mtx
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 93.5 kB of archives.
After this operation, 392 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial-proposed/main s390x mtx s390x 
1.3.12-9ubuntu0.16.04.1 [93.5 kB]
Fetched 93.5 kB in 0s (364 kB/s)
(Reading database ... 155443 files and directories currently installed.)
Preparing to unpack .../mtx_1.3.12-9ubuntu0.16.04.1_s390x.deb ...
Unpacking mtx (1.3.12-9ubuntu0.16.04.1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up mtx (1.3.12-9ubuntu0.16.04.1) ...

Thx

** Tags added: verification-done-xenial

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

Title:
  mtx package version 1.3.12-9 installation fails with duplicate bash-
  completion via apt-get

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1642582/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to