Rebooting R linux ubuntu: unsatisfactory R dependencies

I used aptitude install to install the Ubuntu 11.10 oneiric package, which apparently I couldn’t install due to dependencies. In doing so, I deleted a few more libraries. I uninstalled Rstudio, but still cannot install R on my machine. I am on ubuntu and this is what I get while running sudo apt-get install r-base

The following packages have unsatisfied dependencies: r-base: Depends on r-base-core (> = 2.15.3-1quantal0), but it will not be installed Depends on: r-recommended (= 2.15.3-1quantal0), but it does not will be installed Recommended: r-base-html, but it will not be installed E: Failed to fix the problems, you had broken packages.

any ideas how to start from scratch and run R again?

More error logs: The following packages have unsatisfied r-base-core dependencies: Depends: libblas3, but it is not installed or libblas.so.3, but it is not installed or libatlas3-base, but it is not installed. Depends: libc6 (> = 2.15), but 2.13 -20ubuntu5.3 Must be installed Depends: liblapack3, but it is not installed or liblapack.so.3, but it does not install or libatlas3-base, but it does not install Depends: liblzma5 ( > = 5.1.1alpha + 20120614), but this is not installed -

+5
source share
5 answers

try it

If you added a line from the new ubuntu repository to /etc/apt/sources.list, delete the line. Then run the commands

sudo add-apt-repository ppa:marutter/rrutter 
sudo apt-get update 
sudo apt-get upgrade 

, http://r.789695.n4.nabble.com/Upgrading-on-Ubuntu-from-2-11-1-to-2-15-1-td4636965.html

+9
  • R:

    sudo R --no-save
    pkgList <- installed.packages(priority='NA')
    remove.packages(pkgList)
    q()
    sudo apt-get remove --purge r-cran* r-base*
    
  • ( R): R, JGR Deducer Ubuntu

+1

, aptitude,

xyz@sxyzcom~$ sudo apt-get remove

, R- , , - .

xyz@sxyzcom~$ sudo apt-get autoremove

.

0

Broken , , , , . ,

$ sudo su

# apt-cache rdepends package-name
# apt-get --purge remove --force package-name

# apt-get clean
# apt-get autoclean
# apt-get update
# apt-get upgrade
# apt-get dist-upgrade
# reboot

It worked for me, try it, I believe that it will fix all your problems, good luck.

0
source

If you want to force remove the package, you can do

sudo dpkg --remove --force-remove-reinstreq package_name 

and then

sudo apt-get update
0
source

All Articles