$ sudo apt install kdialog
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
kdialog
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 30,7 kB of archives.
After this operation, 120 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu zesty/universe amd64 kdialog amd64 16.12.3-0ubuntu1 [30,7 kB]
Fetched 30,7 kB in 0s (160 kB/s)
Selecting previously unselected package kdialog.
(Reading database ... 331601 files and directories currently installed.)
Preparing to unpack .../kdialog_16.12.3-0ubuntu1_amd64.deb ...
Unpacking kdialog (16.12.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/kdialog_16.12.3-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/bin/kdialog', which is also in package kde-baseapps-bin 4:16.04.3-0ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/kdialog_16.12.3-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)