PDA

View Full Version : [ubuntu] 14.04 Error in package 'r-cran-studio' sending me in circles



Alex_Adams
May 19th, 2016, 11:47 PM
I started having this problem after installing updates through the software updater. I'm totally confused, not being a computer expert.

An error message shows up when installing further updates to the R statistical package, informing me that:
error processing package r-cran-matrix (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration

When I run the command "sudo apt-get install r-cran-matrix', it doesn't work:
Reading package lists... Done
Building dependency tree
Reading state information... Done
r-cran-matrix is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
5 not fully installed or removed.
Need to get 0 B/2,990 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package r-cran-matrix (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of r-cran-mgcv:
r-cran-mgcv depends on r-cran-matrix; however:
Package r-cran-matrix is not configured yet.

dpkg: error processing package r-cran-mgcv (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-survival:
r-cran-survival depends on r-cran-matrix; however:
Package r-cran-matrix is not configured yet.

No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: error processing package r-cran-survival (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-rpart:
r-cran-rpart depends on r-cran-survival; however:
Package r-cran-survival is not configured yet.

dpkg: error processing package r-cran-rpart (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-recommended:
r-recommended depends on r-cran-mgcv (>= 1.1.5); however:
Package r-cran-mgcv is not configured yet.
r-recommended depends on r-cran-rpart (>= 3.1.20); however:
Package r-cran-rpart is not configured yet.
r-recommended depends on r-cran-survival (>= 2.13.2-1); however:
Package r-cran-survival is not configured yet.
r-recommended depends on r-cran-matrix; however:
Package r-cran-matrix is not configured yet.

dpkg: error processing package r-recommended (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Errors were encountered while processing:
r-cran-matrix
r-cran-mgcv
r-cran-survival
r-cran-rpart
r-recommended
E: Sub-process /usr/bin/dpkg returned an error code (1)



Basically the same error happens if I try to remove the package. I tried yesterday to uninstall R completely, and it also didn't work, for the same reason. At this point, I'd prefer to just get rid of it, how do I do this?

Thanks!

Alex_Adams
May 27th, 2016, 04:41 PM
More importantly, I think that the same package error is stopping me from successfully installing updates to the Ubuntu base. I don't understand why this would happen...