PDA

View Full Version : Can't install texlive-full because of broken packages



cartman-10189
December 28th, 2018, 12:23 AM
Hi everyone, I'm trying to install texlive-full in Elementary OS Juno. When I launch the command


sudo apt-get install texlive-full

an error message appears me tellling me that it's impossible to install asymptote package because of blocked broken packages. Any idea?
Maybe I have some problems with repositories: in fact some updates appear in Elementary OS software center, but I can't update them.

In the following the original message error (in italian):


luca@dell-luca:~$ sudo apt-get install texlive-full
[sudo] password di luca:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Alcuni pacchetti non possono essere installati. Questo puņ voler dire
che č stata richiesta una situazione impossibile oppure, se si sta
usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
non sono ancora stati creati o sono stati rimossi da Incoming.
Le seguenti informazioni possono aiutare a risolvere la situazione:


I seguenti pacchetti hanno dipendenze non soddisfatte:
texlive-full : Dipende: asymptote ma non sta per essere installato
E: Impossibile correggere i problemi, ci sono pacchetti danneggiati bloccati.

jeremy31
December 28th, 2018, 12:32 AM
Moved to Ubuntu based

cartman-10189
December 28th, 2018, 12:39 AM
Ok sorry if I posted in the wrong section

QIII
December 28th, 2018, 01:19 AM
No apologies necessary. You just owe jeremy31 a dozen virtual doughnuts.

:)

cartman-10189
December 28th, 2018, 09:38 AM
Haha OK. I re-post the bash in english:



luca@dell-luca:~$ sudo apt-get install texlive-full
[sudo] password for luca:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
texlive-full : Depends: asymptote but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

#&thj^%
December 28th, 2018, 01:28 PM
See if this helps: https://www.tug.org/texlive/acquire-netinstall.html
Due to older versions in the repos>> I always just install the vanilla textlive, very easy instructions found here: https://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-ubuntu
The full installation is likely to take a long time, say between one and three hours (even on relatively fast connections).

tllocalmgr
Retrieving new TeXLive database from CTAN...
Initializing ...
Welcome to the TeXLive Local Manager shell. Type 'help' for assistance.
tllocalmgr>

cartman-10189
December 28th, 2018, 08:40 PM
Solved, it was the file sources.list corrupted. It was enough to bring it back to default. Thanks everyone and happy new year!