I tried to update from texlive 2015 to 2017.
I ran the following commands:
sudo add-apt-repository ppa:jonathonf/texlive-2017
sudo apt-get update
sudo apt-get install texlive-full
After running the last line, I get a lot of package names with unmet dependencies and the following error:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
But running
sudo apt-get -f install
results in another error
Preconfiguring packages ...
(Reading database ... 880678 files and directories currently installed.)
Preparing to unpack .../texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb ...
Unpacking texlive-fonts-extra-doc (2017.20170619-1~16.04.york0) over (2015.20160320-1) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb (--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
It looks like I am stuck with a circular problem.
I tried the solution listed in Install texlive 2017 on Ubuntu 16.04 LTS but was not successful.
Can someone help me out please?