$ sudo apt update && sudo apt full-upgrade -y && sudo apt-get autoremove -y
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://archive.canonical.com xenial InRelease
Hit:3 http://dl.google.com/linux/chrome/deb stable Release
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu xenial InRelease [227 kB]
Hit:7 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:9 http://us.archive.ubuntu.com/ubuntu xenial/main Sources [1,128 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial/universe Sources [7,604 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial/multiverse Sources [178 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1,478 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages [1,475 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en [852 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,193 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7,190 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,813 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [139 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [135 kB]
Fetched 32.4 MB in 27s (1,193 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
17 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
python3-xapian1.3 : Depends: libxapian-1.3-5 but it is not installed
E: Unmet dependencies. Try using -f.
mparillo@mparillo-HP-EliteBook-8440p:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
libxapian-1.3-4
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libxapian-1.3-5
Suggested packages:
xapian-tools
The following NEW packages will be installed:
libxapian-1.3-5
0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
69 not fully installed or removed.
Need to get 0 B/618 kB of archives.
After this operation, 2,529 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 232219 files and directories currently installed.)
Preparing to unpack .../libxapian-1.3-5_1.3.4-0ubuntu4_amd64.deb ...
Unpacking libxapian-1.3-5 (1.3.4-0ubuntu4) ...
dpkg: error processing archive /var/cache/apt/archives/libxapian-1.3-5_1.3.4-0ubuntu4_amd64.deb (--unpack):
trying to overwrite '/usr/share/xapian-core/stopwords/dutch.list', which is also in package libxapian-1.3-4 1.3.3-0ubuntu2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for libc-bin (2.21-0ubuntu5) ...
Errors were encountered while processing:
/var/cache/apt/archives/libxapian-1.3-5_1.3.4-0ubuntu4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)