Sunday, January 24, 2016

package management - Xubuntu unmet dependencies when try to install texlive-latex-base

Sure that it is a duplicate question of this list:



How do I resolve unmet dependencies after adding a PPA?



How to run 'apt-get install' to install all dependencies?



apt-get does not install dependencies



What does "packages have unmet dependecies" mean and what can I do about it?




Unable to correct problems, you have held broken packages



and many other, but, none works for me,



I have xubuntu Xenial 16.04



naively try to install texlive-latex-base so:



sudo apt-get install texlive-latex-base


The following packages have unmet dependencies:
texlive-latex-base : Depends: texlive-base (>= 2015) but it is not going to be installed
Depends: texlive-binaries (>= 2015.20160222.37495-1) but it is not going to be installed
Recommends: texlive-latex-base-doc but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


If the program can show the dependencies, so why it can not resolve?



Making some search: "apt install dependencies"




Then try:



sudo apt -f install texlive-latex-base
sudo apt-get -f install texlive-latex-base


Also



sudo apt-get install -f

sudo apt-get build-dep build-essential


And get the same message.



Also try this sequence of commands:



sudo apt-get clean
sudo apt-get install -f -> 0 upgraded, 0 newly installed, 0 to remove and 258 not upgraded.
sudo dpkg --configure -a

sudo apt-get update
sudo apt-get upgrade -f
The following packages will be upgraded:
a lot of package but not texlive
I respond with Yes
and a lot of packages was dowloaded


And try again:




   sudo apt-get install texlive-latex-base
and get the same message:
The following packages have unmet dependencies:
bla bla
E: Unable to correct problems, you have held broken packages.





Then install Aptitude:




sudo aptitude -f install texlive-latex-base


respond with Y
show



Need to get 0 B of archives. After unpacking 0 B will be used.



nothing happend



Then install Synaptic,when mark to install is show with red sign "!" that mean Broken status,
search how to fix it,
go Status, Broken dependencies, try to Mark for complete removal but it is disable.



What I am doing wrong?

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...