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)
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) ...
Hi Lukasz,
the issue seems to be fixed for me on xenial:
### negative test, using the old package (without proposed):
apt-cache policy mtx us.ports. ubuntu. com/ubuntu- ports xenial/main s390x Packages
mtx:
Installed: (none)
Candidate: 1.3.12-9
Version table:
1.3.12-9 500
500 http://
sudo apt-get install mtx headers- 4.4.0-67 linux-headers- 4.4.0-67- generic image-4. 4.0-67- generic linux-image- extra-4. 4.0-67- generic us.ports. ubuntu. com/ubuntu- ports xenial/main s390x mtx s390x 1.3.12-9 [93.9 kB] 1.3.12- 9_s390x. deb ... apt/archives/ mtx_1.3. 12-9_s390x. deb (--unpack): bash-completion /completions/ mtx', which is also in package bash-completion 1:2.1-4.2ubuntu1.1 apt/archives/ mtx_1.3. 12-9_s390x. deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
linux-
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://
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_
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)
### now with the package from proposed:
apt-cache policy mtx 9ubuntu0. 16.04.1 3.12-9ubuntu0. 16.04.1 500 ports.ubuntu. com/ubuntu- ports xenial- proposed/ main s390x Packages us.ports. ubuntu. com/ubuntu- ports xenial/main s390x Packages
mtx:
Installed: (none)
Candidate: 1.3.12-
Version table:
1.
500 http://
1.3.12-9 500
500 http://
sudo apt-get install mtx headers- 4.4.0-67 linux-headers- 4.4.0-67- generic image-4. 4.0-67- generic linux-image- extra-4. 4.0-67- generic ports.ubuntu. com/ubuntu- ports xenial- proposed/ main s390x mtx s390x 1.3.12- 9ubuntu0. 16.04.1 [93.5 kB] 1.3.12- 9ubuntu0. 16.04.1_ s390x.deb ... 9ubuntu0. 16.04.1) ... 9ubuntu0. 16.04.1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
linux-
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://
Fetched 93.5 kB in 0s (364 kB/s)
(Reading database ... 155443 files and directories currently installed.)
Preparing to unpack .../mtx_
Unpacking mtx (1.3.12-
Processing triggers for man-db (2.7.5-1) ...
Setting up mtx (1.3.12-
Thx