Skip to content
Back to formatted view

Raw Message

Message-ID: <246cf6d8-f9ca-9547-e393-54fc41111de9@umu.se>
Date: 2019-02-19T20:16:38Z
From: Göran Broström
Subject: Local repo for ubuntu including R
In-Reply-To: <4a775651-3758-6aee-7a90-7aec3eed461b@umu.se>

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 at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian