I was trying to update my TeXLive installation to 2017 version and followed the guide given here.
sudo add-apt-repository ppa:jonathonf/texlive-2017 sudo apt update sudo apt install texlive-full
It took a couple hours to download stuff, but the installation errored out with broken pipe error:
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/texlive-latex-recommended_2017.20170619-1~16.04.york0_all.deb /var/cache/apt/archives/texlive-latex-recommended-doc_2017.20170619-1~16.04.york0_all.deb /var/cache/apt/archives/texlive-science_2017.20170619-1~16.04.york0_all.deb /var/cache/apt/archives/texlive-science-doc_2017.20170619-1~16.04.york0_all.deb /var/cache/apt/archives/texlive-base_2017.20170619-1~16.04.york0_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Now when I try to run,
apt-get -f install, I get the same error with a bunch of texlive unmet dependencies and my apt-get is completely broken. I can't install any package using
I wish to completely remove
texlive and reinstall it. I tried the steps given in this post, which says to run following commands:
sudo apt-get purge texlive* rm -rf /usr/local/texlive/* and rm -rf ~/.texlive* rm -rf /usr/local/share/texmf rm -rf /var/lib/texmf rm -rf /etc/texmf sudo apt-get remove tex-common --purge rm -rf ~/.texlive find -L /usr/local/bin/ -lname /usr/local/texlive/*/bin/* | xargs rm
No luck with above methods, since anything I run with
apt-get gives me the unmet dependencies error. Any help would be appreciated.