Déjà essayé les commandes suivantes après avoir vu beaucoup de réponses mais aucune ne semble fonctionner:
Sudo apt-get install -f
Sudo apt --fix-broken install
Sudo dpkg -a --config
Sudo apt-get autoclean
Sudo apt-get autoremove
Je colle quelques lignes de l'erreur que j'obtiens lorsque j'essaie d'installer quoi que ce soit.
texlive-luatex : Depends: texlive-binaries (>= 2015.20160222.37495-1)
texlive-math-extra : Depends: texlive-binaries (>= 2015.20160222.37495-1)
texlive-metapost : Depends: texlive-binaries (>= 2015.20160222.37495-1)
texlive-music : Depends: texlive-binaries (>= 2015.20160222.37495-1)
texlive-omega : Depends: texlive-binaries (>= 2015.20160222.37495-1)
texlive-pictures : Depends: texlive-binaries (>= 2015.20160222.37495-1)
texlive-pstricks : Depends: texlive-binaries (>= 2015.20160222.37495-1)
Recommends: texlive-font-utils but it is not going to be installed
Recommends: texlive-extra-utils but it is not going to be installed
texlive-science : Depends: texlive-binaries (>= 2015.20160222.37495-1)
texlive-xetex : Depends: texlive-binaries (>= 2015.20160222.37495-1)
tipa : Depends: texlive-base-bin
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Voici les erreurs que je reçois pour les commandes en échec: Sudo apt-get -f install
:
Preparing to unpack .../texlive-fonts-extra-doc_2018.20180505-1~16.04.york0_all.deb ...
Unpacking texlive-fonts-extra-doc (2018.20180505-1~16.04.york0) over (2015.20160320-1) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2018.20180505-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_2018.20180505-1~16.04.york0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
J'ai vérifié et d'autres commandes ont également la même erreur.
sortie pour dpkg -l | grep york
:
iU context 2018.04.04.20180416-1~16.04.york0 all powerful TeX format
ii libpython3.6-minimal:AMD64 3.6.3-1ubuntu1~16.04.york1 AMD64 Minimal subset of the Python language (version 3.6)
ii libpython3.6-stdlib:AMD64 3.6.3-1ubuntu1~16.04.york1 AMD64 Interactive high-level object-oriented language (standard library, version 3.6)
iU prosper 2018.20180505-1~16.04.york0 all TeX Live: transitional dummy package
ii python3-gdbm:AMD64 3.6.3-0ubuntu1~16.04.york0 AMD64 GNU dbm database support for Python 3.x
iU python3-tk:AMD64 3.6.5-3~16.04.york4 AMD64 Tkinter - Writing Tk applications with Python 3.x
ii python3.6 3.6.3-1ubuntu1~16.04.york1 AMD64 Interactive high-level object-oriented language (version 3.6)
ii python3.6-minimal 3.6.3-1ubuntu1~16.04.york1 AMD64 Minimal subset of the Python language (version 3.6)
iU texlive 2018.20180505-1~16.04.york0 all TeX Live: A decent selection of the TeX Live packages
iU texlive-fonts-recommended-doc 2018.20180505-1~16.04.york0 all TeX Live: Documentation files for texlive-fonts-recommended
iU texlive-full 2018.20180505-1~16.04.york0 all TeX Live: metapackage pulling in all components of TeX Live
iU texlive-htmlxml 2018.20180505-1~16.04.york0 all TeX Live: transitional dummy package
Sortie pour apt-cache policy texlive-fonts-extra-doc
:
texlive-fonts-extra-doc:
Installed: 2015.20160320-1
Candidate: 2018.20180505-1~16.04.york0
Version table:
2018.20180505-1~16.04.york0 500
500 http://ppa.launchpad.net/jonathonf/texlive/ubuntu xenial/main AMD64 Packages
500 http://ppa.launchpad.net/jonathonf/texlive/ubuntu xenial/main i386 Packages
*** 2015.20160320-1 500
500 http://in.archive.ubuntu.com/ubuntu xenial/main AMD64 Packages
500 http://in.archive.ubuntu.com/ubuntu xenial/main i386 Packages
100 /var/lib/dpkg/status
Comme vous n’avez pas besoin de la version exacte de TeXLive, je vous recommande de supprimer jonathonf texlive PPA et d’installer les paquets du dépôt officiel:
Sudo apt-get install ppa-purge
Sudo ppa-purge ppa:jonathonf/texlive
Sudo apt-get install -f
Sudo apt-get dist-upgrade