[R-sig-Debian] Problem when installing lme4 under Debian stretch

Dirk Eddelbuettel edd at debian.org
Sat Oct 21 22:37:43 CEST 2017


On 21 October 2017 at 15:04, John Woodard wrote:
| Thanks very much, Dirk! I gave that a try and got the following:
| pi at raspberrypi:~ $ sudo apt-get install r-cran-car
| 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:
|  r-cran-car : Depends: r-api-3
|               Depends: r-cran-pbkrtest but it is not going to be installed
|               Depends: r-cran-quantreg but it is not going to be installed
| E: Unable to correct problems, you have held broken packages.
| 
| 
| Given the message, should I assume that lme4 (and car) cannot be installed
| on my setup?  Many thanks in advance!

It looks like you may have repos mixed, or they are out of sync.

The r-base-core you use should provide r-api-3.  Maybe it is newer and it
offers r-api-3.4 -- which the r-cran-car you try to install does not yet
depend on.  So the repo may be out of sync.

If that is the case -- well I was forced to add r-api-3.4 which creates this
bug "because it would make things better".  I disagreed but was overruled. It
all depends.

For what it is worth, on my Ubuntu box on which I type this, both 'apt-cache
show r-base-core' and 'apt-cache show r-cran-cran' want r-api-3.

On Debian testing is should match too.  Maybe the Raspian repo you have needs
to catch up.

Dirk

| 
| On Sat, Oct 21, 2017 at 2:22 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
| 
| >
| > I would start with the _binary_ package you can install via
| >
| >    sudo apt-get install r-cran-car
| >
| > which will take care of all dependecies.
| >
| > Building some of these package on small hardware can be challenging simply
| > due to lack of RAM --- and ditto for minimal cloud instances with small RAM
| > footprint.  Use binaries where you can if you hardware cannot cope.
| >
| > Dirk
| >
| > --
| > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
| >
| 
| 	[[alternative HTML version deleted]]
| 
| _______________________________________________
| R-SIG-Debian mailing list
| R-SIG-Debian at r-project.org
| https://stat.ethz.ch/mailman/listinfo/r-sig-debian

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



More information about the R-SIG-Debian mailing list