apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
fonts-cabin fonts-comfortaa fonts-dejavu-extra fonts-font-awesome
fonts-freefont-otf fonts-gfs-artemisia fonts-gfs-complutum fonts-gfs-didot
fonts-gfs-neohellenic fonts-gfs-olga fonts-gfs-solomos fonts-inconsolata
fonts-junicode fonts-lato fonts-linuxlibertine fonts-lobster
fonts-lobstertwo fonts-oflb-asana-math fonts-sil-gentium
fonts-sil-gentium-basic latex-beamer latex-xcolor libjs-jquery pgf
texlive-fonts-extra-doc texlive-luatex ttf-adf-accanthis ttf-adf-gillius
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libjs-jquery libkpathsea6 libpoppler61 libpotrace0 libptexenc1 libsynctex1
libtexlua52 libtexluajit2 libzzip-0-13 tex-common texlive-base
texlive-binaries texlive-fonts-recommended texlive-generic-recommended
texlive-latex-base texlive-latex-base-doc texlive-latex-extra
texlive-latex-extra-doc texlive-latex-recommended
texlive-latex-recommended-doc texlive-luatex texlive-pictures
texlive-pictures-doc texlive-pstricks texlive-pstricks-doc
texlive-publishers texlive-publishers-doc texlive-science
texlive-science-doc
Suggested packages:
perl-tk libspreadsheet-parseexcel-perl libfile-which-perl python-pygments
libtcltk-ruby dot2tex prerex
Recommended packages:
texlive-font-utils texlive-extra-utils
The following NEW packages will be installed:
libjs-jquery libpoppler61 libpotrace0 libsynctex1 libtexlua52 libtexluajit2
libzzip-0-13 texlive-binaries texlive-fonts-recommended
texlive-generic-recommended texlive-latex-base
The following packages will be upgraded:
libkpathsea6 libptexenc1 tex-common texlive-base texlive-latex-base-doc
texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended
texlive-latex-recommended-doc texlive-luatex texlive-pictures
texlive-pictures-doc texlive-pstricks texlive-pstricks-doc
texlive-publishers texlive-publishers-doc texlive-science
texlive-science-doc
18 upgraded, 11 newly installed, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
Need to get 0 B/888 MB of archives.
After this operation, 336 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
(Reading database ... 459580 files and directories currently installed.)
Preparing to unpack .../texlive-latex-base-doc_2016.20160523-1~ubuntu14.04.1york0_all.deb ...
Unpacking texlive-latex-base-doc (2016.20160523-1~ubuntu14.04.1york0) over (2013.20140215-1) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-latex-base-doc_2016.20160523-1~ubuntu14.04.1york0_all.deb (--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/url/url.tex.gz', which is also in package texlive-latex-recommended-doc 2013.20140215-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/texlive-latex-base-doc_2016.20160523-1~ubuntu14.04.1york0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)