I found this question where it is explained how to remove a borken package using Syanptic.
I tried this solution, but when I find the borken package I can't remove it.
Here, when I right-click the package, only "Unmark" option is available, the "Remove" is shaded and can't click it. Same for any other option but Unmark.
Also, I came to this situation when used the "Mark to install", otherwise the Broken dependencies are not even shown because there is none.
How could I remove the broken package so I can finally install it?
When I try to use sudo apt-get install r-base
I got the following error:
Los siguientes paquetes tienen dependencias incumplidas:
r-base : Depende: r-base-core (>= 3.3.3-1xenial0) pero no va a instalarse
Depende: r-recommended (= 3.3.3-1xenial0) pero no va a instalarse
Recomienda: r-base-html pero no va a instalarse
E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.
Maybe somewhere there is the problem?
Aplicar
. – mook765 Mar 31 '17 at 08:11Aplicar
it says I should first solve broken packages. – Masclins Mar 31 '17 at 08:523.2.3-4
. You are trying to install version3.3..3-1xenial0
. Have you added any ppa (sudo add-apt-repository
)? – mook765 Mar 31 '17 at 09:41sudo add-apt-repository 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/'
) – mook765 Mar 31 '17 at 09:493.2.3-4
I'd recommend to remove the ppa (sudo add-apt-repository -r 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/'
) first and install from the official repository withsudo apt update
andsudo apt install r-base
. – mook765 Mar 31 '17 at 10:07