[R-sig-Debian] Local repo for ubuntu including R

Göran Broström gor@n@bro@trom @end|ng |rom umu@@e
Tue Feb 19 21:16:38 CET 2019


My simple solution was to download the content of

ftp.acc.umu.se/mirror/CRAN/bin/linux/ubuntu/bionic-cran35/

to an usb stick and mount it on the lab machine and configure

/etc/apt/sources.list

accordingly. The problem with apt-mirror was that not all relevant files 
were downloaded, e.g. InRelease and Packages.lzma (used for what?), 
resulting in cryptic errors and error messages when running

apt update

Simple is best, Göran


On 2019-02-05 16:05, Göran Broström wrote:
> Background:
> 
> We have a computer lab with two ubuntu 18.04 machines (and lots of 
> windows computers) and I am searching for a convenient way to keep the 
> machines up-to-date regarding R in the first place, but also ubuntu 
> itself. The problem is that the lab is isolated from the internet.
> 
> Some versions of ubuntu ago I had success with apt-mirror and apt-get 
> for the OS, but now I cannot get it to work. In my search for help on 
> the internet I have come to the conclusion that there is something wrong 
> with apt-mirror nowadays.
> 
> Question:
> 
> What is the best and simplest way to keep the ubuntu machines up-to-date 
> regarding OS and R with the apt/apt-get approach?  Alternatives to 
> apt-mirror?
> 
> Thanks, Göran
> 
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian



More information about the R-SIG-Debian mailing list