rocker-org / rocker

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

`debian:testing` causing Docker build failures #465

Closed collin-austad closed 3 years ago

collin-austad commented 3 years ago

There seems to be an unstable release due to Debian 11 (bullseye) just being released (https://www.debian.org/News/2021/20210814).

Would it be possible to change https://github.com/rocker-org/rocker/blob/master/r-base/4.1.1/Dockerfile#L3 away from using debian:testing to a targeted release name (i.e. bullseye)?

When building from r-base:latest, I get the following error:

Repository 'http://deb.debian.org/debian testing InRelease' changed its 'Codename' value from 'bullseye' to 'bookworm'
eddelbuettel commented 3 years ago

[ Sorry, misread this at first pertaining to the versioned stack, hence the ill-advised transer and then transfer back. ]

No we very much use testing-as-a-rolling release on purpose. Have been for seven or so years and don't plan to change. The tags (which I arguably added 'too late') are present so for the last few years you actually get a tagged R release with the then-current Debian testing.

If you are seeing issues I am fairly certain that these are simply due to the whole archive getting bulk updates (i.e I have to update 20 or so package that were only in experimental, will now go to unstable ... and which I then expect in testing in due course).

eddelbuettel commented 3 years ago

And the 'codename changed' happened to me too. That will be gone once we rebuild the container so that it starts from a current Debian testing upstream container.

collin-austad commented 3 years ago

Sounds good! Thanks for the clarification, @eddelbuettel!