rocker-org / rocker

R configurations for Docker
https://rocker-project.org
GNU General Public License v2.0
1.45k stars 273 forks source link

Installing packages fails due to broken openssl package in debian testing #549

Closed superpuffin closed 4 months ago

superpuffin commented 4 months ago

When using r-base as a base image, packages such as httr won´t install since they depend on libssl-dev being installed. Trying to install this package using apt results in the following message:

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:
 libssl3t64 : Breaks: libssl3 (< 3.2.1-3)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Is there a reason this image is based on an unstable release?

EDIT: using r-base:4.3.3

eddelbuettel commented 4 months ago

Please see recent issues, this has been raised before, is entirely due to changes at Debian and can addressed by using the package from unstable.

eddelbuettel commented 4 months ago

As an aside, we recommended using rocker/r2u where you can just say install.packages("httr") and you the binary thanks to how r2u works.