On 5 June 2020 at 08:52, Johannes Ranke wrote: | Hi Mark, | | Am Freitag, 5. Juni 2020, 00:31:34 CEST schrieb Mark van der Loo: | > Hi all, | > | > I just spun up a fresh Debian Buster instance, then I added: | > | > deb http://cloud.r-project.org/bin/linux/debian buster-cran40/ | > | > to /etc/apt/sources.list. I also ran the apt-key command as described here: | > https://cran.r-project.org/bin/linux/debian/#secure-apt | > | > So far so good, | | OK, then you need to keep reading. Instead of simply installing R 4.0.0 you | need to remove the packages depending on r-api-35 as detailed in | | https://cran.r-project.org/bin/linux/debian/#debian-bullseye-testing | | The reason is that the backported r-cran-* packages have a lower version | number than the r-cran-* packages in the Debian archive, but the packages in | the Debian archive depend on r-api-35 while the new backport provides r- | api-40.
That sounds ... suboptimal. And I am not sure I understand why that would be. Can you explain? Are they behind a version? If so, why? Also, apt-pinning can help here. You can give a repo a higher-than-default priority. Maybe that would be applicable here? Dirk | Also, you will need to rebuild all locally installed packages as detailed on | the CRAN Debian page. | | Greetings, | | Johannes | | > now when I do the following, I get no joy: | > | > $ sudo apt-get install r-base | > | > 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-base : Depends: r-recommended (= 4.0.0-1~bustercran.0) but it is not | > going to be installed | > E: Unable to correct problems, you have held broken packages. | > | > | > However, when I use the buster-cran-35 deb line, all works fine. So there | > seems to be something going on with buster-cran-40. Is this correct, or am | > I missing something? | > | > Thanks, | > Mark | > | > [[alternative HTML version deleted]] | > | > _______________________________________________ | > R-SIG-Debian mailing list | > R-SIG-Debian@r-project.org | > https://stat.ethz.ch/mailman/listinfo/r-sig-debian | | _______________________________________________ | R-SIG-Debian mailing list | R-SIG-Debian@r-project.org | https://stat.ethz.ch/mailman/listinfo/r-sig-debian -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ R-SIG-Debian mailing list R-SIG-Debian@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian