Thank you both for helping me to create a more detailed report of the issue. I was unable to duplicate the error using a fresh installation of Ubuntu 22.04.1 LTS; i.e., using a fresh install of the OS, `sudo apt install libkrb5-dev` succeeded without any issue. Using a current installation with lots of other stuff, however, still refuses to install. The output from the terminal and also from `/var/log/apt/term.log` combined is only about 77 lines, so I'm just pasting the combined output here:
{{{
### Output from the terminal:
Preparing to unpack .../2-libkadm5srv-mit12_1.19.2-2_amd64.deb ...
Unpacking libkadm5srv-mit12:amd64 (1.19.2-2) ...
Selecting previously unselected package libkadm5clnt-mit12:amd64.
Preparing to unpack .../3-libkadm5clnt-mit12_1.19.2-2_amd64.deb ...
Unpacking libkadm5clnt-mit12:amd64 (1.19.2-2) ...
Selecting previously unselected package comerr-dev:amd64.
Preparing to unpack .../4-comerr-dev_2.1-1.46.5-2ubuntu1.1_amd64.deb ...
Unpacking comerr-dev:amd64 (2.1-1.46.5-2ubuntu1.1) ...
Selecting previously unselected package krb5-multidev:amd64.
Preparing to unpack .../5-krb5-multidev_1.19.2-2_amd64.deb ...
Unpacking krb5-multidev:amd64 (1.19.2-2) ...
dpkg: error processing archive /tmp/apt-dpkg-install-UsJRPe/5-krb5-multidev_1.19
.2-2_amd64.deb (--unpack):
trying to overwrite shared '/usr/bin/krb5-config.mit', which is different from
other instances of package krb5-multidev:amd64
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package libkrb5-dev:amd64.
Preparing to unpack .../6-libkrb5-dev_1.19.2-2_amd64.deb ...
Unpacking libkrb5-dev:amd64 (1.19.2-2) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-UsJRPe/5-krb5-multidev_1.19.2-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
lawlist@lawlist-VirtualBox:~$
======================================
### excerpt from /var/log/apt/term.log
Thank you both for helping me to create a more detailed report of the issue. I was unable to duplicate the error using a fresh installation of Ubuntu 22.04.1 LTS; i.e., using a fresh install of the OS, `sudo apt install libkrb5-dev` succeeded without any issue. Using a current installation with lots of other stuff, however, still refuses to install. The output from the terminal and also from `/var/log/ apt/term. log` combined is only about 77 lines, so I'm just pasting the combined output here:
{{{
### Output from the terminal:
Preparing to unpack .../2-libkadm5s rv-mit12_ 1.19.2- 2_amd64. deb ... mit12:amd64 (1.19.2-2) ... mit12:amd64. lnt-mit12_ 1.19.2- 2_amd64. deb ... mit12:amd64 (1.19.2-2) ... dev_2.1- 1.46.5- 2ubuntu1. 1_amd64. deb ... 46.5-2ubuntu1. 1) ... amd64. multidev_ 1.19.2- 2_amd64. deb ... dpkg-install- UsJRPe/ 5-krb5- multidev_ 1.19 krb5-config. mit', which is different from dev_1.19. 2-2_amd64. deb ... dpkg-install- UsJRPe/ 5-krb5- multidev_ 1.19.2- 2_amd64. deb lawlist- VirtualBox: ~$
Unpacking libkadm5srv-
Selecting previously unselected package libkadm5clnt-
Preparing to unpack .../3-libkadm5c
Unpacking libkadm5clnt-
Selecting previously unselected package comerr-dev:amd64.
Preparing to unpack .../4-comerr-
Unpacking comerr-dev:amd64 (2.1-1.
Selecting previously unselected package krb5-multidev:
Preparing to unpack .../5-krb5-
Unpacking krb5-multidev:amd64 (1.19.2-2) ...
dpkg: error processing archive /tmp/apt-
.2-2_amd64.deb (--unpack):
trying to overwrite shared '/usr/bin/
other instances of package krb5-multidev:amd64
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package libkrb5-dev:amd64.
Preparing to unpack .../6-libkrb5-
Unpacking libkrb5-dev:amd64 (1.19.2-2) ...
Errors were encountered while processing:
/tmp/apt-
E: Sub-process /usr/bin/dpkg returned an error code (1)
lawlist@
======= ======= ======= ======= ======= === apt/term. log
### excerpt from /var/log/
Log started: 2022-10-17 14:25:29 4_1.19. 2-2_amd64. deb ... 10_1.19. 2-2_amd64. deb ... mit12:amd64. rv-mit12_ 1.19.2- 2_amd64. deb ... mit12:amd64 (1.19.2-2) ... mit12:amd64. lnt-mit12_ 1.19.2- 2_amd64. deb ... mit12:amd64 (1.19.2-2) ... dev_2.1- 1.46.5- 2ubuntu1. 1_amd64. deb ... 46.5-2ubuntu1. 1) ... amd64. multidev_ 1.19.2- 2_amd64. deb ... dpkg-install- UsJRPe/ 5-krb5- multidev_ 1.19.2- 2_amd64. deb (--unpack): krb5-config. mit', which is different from other instances of package krb5-multidev:amd64 dev_1.19. 2-2_amd64. deb ... dpkg-install- UsJRPe/ 5-krb5- multidev_ 1.19.2- 2_amd64. deb
Selecting previously unselected package libgssrpc4:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 286291 files and directories currently installed.)
Preparing to unpack .../0-libgssrpc
Unpacking libgssrpc4:amd64 (1.19.2-2) ...
Selecting previously unselected package libkdb5-10:amd64.
Preparing to unpack .../1-libkdb5-
Unpacking libkdb5-10:amd64 (1.19.2-2) ...
Selecting previously unselected package libkadm5srv-
Preparing to unpack .../2-libkadm5s
Unpacking libkadm5srv-
Selecting previously unselected package libkadm5clnt-
Preparing to unpack .../3-libkadm5c
Unpacking libkadm5clnt-
Selecting previously unselected package comerr-dev:amd64.
Preparing to unpack .../4-comerr-
Unpacking comerr-dev:amd64 (2.1-1.
Selecting previously unselected package krb5-multidev:
Preparing to unpack .../5-krb5-
Unpacking krb5-multidev:amd64 (1.19.2-2) ...
[1mdpkg:[0m error processing archive /tmp/apt-
trying to overwrite shared '/usr/bin/
[1mdpkg-deb:[0m [1;31merror:[0m paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package libkrb5-dev:amd64.
Preparing to unpack .../6-libkrb5-
Unpacking libkrb5-dev:amd64 (1.19.2-2) ...
Errors were encountered while processing:
/tmp/apt-
Log ended: 2022-10-17 14:25:31
}}}