[R-sig-Debian] Issues starting RStudio Server and release file expiration under Debian (Jessie)
Charles Plessy
charles-r-nospam at plessy.org
Thu Nov 26 07:23:32 CET 2015
Le Thu, Nov 26, 2015 at 02:05:10PM +0800, Kelly Rensing a écrit :
>
> E: Release file for http://mirror.optus.net/debian/dists/jessie-updates/InRelease is expired (invalid since 13d 17h 49min 2s). Updates for this repository will not be applied.
> $ sudo apt-get -o Acquire::Check-Valid-Until=false update
Dear Kelly,
indeed, mirror.optus.net seems to be outdated. Compare for instance with Debian's
primary australian mirror:
$ links -dump http://mirror.optus.net/debian/dists/jessie-updates
Index of /debian/dists/jessie-updates
[ICO] Name Last modified Size
--------------------------------------------------------------------
[DIR] Parent Directory -
[DIR] contrib/ 19-Nov-2015 14:21 -
[DIR] main/ 19-Nov-2015 14:21 -
[DIR] non-free/ 19-Nov-2015 14:21 -
[ ] InRelease 05-Nov-2015 19:49 132K
[ ] Release 05-Nov-2015 19:49 130K
[ ] Release.gpg 05-Nov-2015 19:49 1.5K
--------------------------------------------------------------------
$ links -dump http://ftp.au.debian.org/debian/dists/jessie-updates
Welcome to the WAIX Mirror..
Icon Name Last modified Size
----------------------------------------------------------------------
[DIR] Parent Directory -
[DIR] contrib/ 26-Nov-2015 11:23 -
[DIR] main/ 26-Nov-2015 11:23 -
[DIR] non-free/ 26-Nov-2015 11:23 -
[ ] InRelease 26-Nov-2015 04:53 132K
[ ] Release 26-Nov-2015 04:53 130K
[ ] Release.gpg 26-Nov-2015 04:53 1.5K
----------------------------------------------------------------------
Thursday, 26-Nov-2015 14:14:22 AWST
Therefore, it is a good thing that apt refuses to use the outdated mirror,
because if no action is taken and if the mirror does not recover, you will
eventually to miss updates for important bugs, etc.
By setting Acquire::Check-Valid-Until=false, you have allowed apt to use an
outdated mirror. However, it would be better to switch to an equally fast one,
that is up to date.
Anyway, the problems you encounter later are not caused by the outdated mirrror.
> $ wget https://download2.rstudio.org/rstudio-server-0.99.489-amd64.deb
> $ sudo gdebi rstudio-server-0.99.489-amd64.deb
>
> debian at r-docs-debian2:~$ sudo rstudio-server verify-installation
> debian at r-docs-debian2:~$ sudo rstudio-server restart
> debian at r-docs-debian2:~$ sudo rstudio status
> sudo: rstudio: command not found
rstudio.org provides Debian packages for RStudio server and for RStudio desktop.
You installed the rstudio-server package, and it does not provide the rstudio
command, which is in the rstudio package.
$ dpkg -L rstudio-server | grep bin/rstudio$
(no output)
$ dpkg -L rstudio | grep bin/rstudio$
/usr/lib/rstudio/bin/rstudio
Have a nice day,
--
Charles Plessy
Tsurumi, Kanagawa, Japan
More information about the R-SIG-Debian
mailing list