Re: [R-sig-Debian] R-4.0.0 and Texlive 2020 installed on EmmabuntusDE4 (Debian Bullseye)

2020-04-29 Thread Johannes Ranke
Hi Patrice,

Am Mittwoch, 29. April 2020, 11:03:56 CEST schrieb Patrice Kiener:
> Hi Johannes,
> 
> 
> Thank you for your comments. I run
>sudo apt install -t bullseye-cran40 r-base
> 
> and have now the current R-4.0.0 in /usr/lib/R with links in the menus
> and R-devel R-4.1.0 in ~/patrice/svn/R/r-devel/build. Perfect.

Great!
 
> I used sid just to get the full Texlive 2020. I will probably not update
> it for a while and have already removed (commented) the sid line in
> sources.list as I do not want to break my system with too much fresh
> libraries. Indeed, we want to be on the edge for a few software (R,
> Texlive) and are conservative for all other parts of the OS. Thanks for
> the tips on /etc/apt/preferences.

You're welcome!
 
> Regarding the key, you can probably move the section at the top of the
> documentation as it is a necessary step. The key currently mentionned in
> the instruction is:
>   sudo apt-key adv --keyserver keys.gnupg.net --recv-key
> 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'
> 
> but the one that worked for me (found in one comment in
> https://stackoverflow.com/questions/10255082/installing-r-from-cran-ubuntu-r
> epository-no-public-key-error) is:
>   sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
>   FCAE2A0E115C3D8A
> 
> The length of digits is different. Maybe one is the shortest version of
> the other?

Using the full fingerprint prevents forging the repository by uploading a fake 
key to the keyservers with the same hash string. This is known to have 
happened to other people.

Cheers,

Johannes


> 
> Patrice
> 
> 
> 
> 
> Dear Patrice,
> 
> 
> thanks for sharing your experience with Debian based distributions. It
> is amazing how many distros you tested!
> 
> In your situation I would recommend apt pinning for installing texlive
> 2020 from Debian sid on Debian bullseye aka testing or related systems.
> Simply adding sid sources as you did will make your system upgrade to
> sid. It seems you partially upgraded some of your test systems to sid
> and were left with broken systems.
> 
> This will also apply to emmabuntü - if you just added the sid repository
> without editing /etc/apt/preferences, you will always pull packages from
> sid which may be ok for your use case, but you should be aware of it.
> 
> You would need to edit /etc/apt/preferences in order to tell apt to just
> use texlive from sid and the other packages from bullseye.
> 
> Regarding the command to add my key, this is actually there, but I
> believe it was too far down - I just moved the section on secure apt
> before the section on the different distributions. Thanks for the hint!
> 
> Regarding your attempt to use the backports for bullseye on CRAN for
> your Emmabuntüs system, chances are it would have worked if you would
> have used the command I am listing there (of course adding sudo):
> 
>sudo apt install -t bullseye-cran40 r-base
> 
> instead of simply
> 
>sudo apt install r-base
> 
> However, now you have the newest devel version compiled from sources for
> checking your packages on Linux which is nice as well!
> 
> 
> Kind regards,
> 
> 
> Johannes
> 
> ___
> R-SIG-Debian mailing list
> R-SIG-Debian@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian

___
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian


Re: [R-sig-Debian] R-4.0.0 and Texlive 2020 installed on EmmabuntusDE4 (Debian Bullseye)

2020-04-29 Thread Patrice Kiener



Hi Johannes,


Thank you for your comments. I run
  sudo apt install -t bullseye-cran40 r-base

and have now the current R-4.0.0 in /usr/lib/R with links in the menus 
and R-devel R-4.1.0 in ~/patrice/svn/R/r-devel/build. Perfect.


I used sid just to get the full Texlive 2020. I will probably not update 
it for a while and have already removed (commented) the sid line in 
sources.list as I do not want to break my system with too much fresh 
libraries. Indeed, we want to be on the edge for a few software (R, 
Texlive) and are conservative for all other parts of the OS. Thanks for 
the tips on /etc/apt/preferences.


Regarding the key, you can probably move the section at the top of the 
documentation as it is a necessary step. The key currently mentionned in 
the instruction is:
 sudo apt-key adv --keyserver keys.gnupg.net --recv-key 
'E19F5F87128899B192B1A2C2AD5F960A256A04AF'


but the one that worked for me (found in one comment in 
https://stackoverflow.com/questions/10255082/installing-r-from-cran-ubuntu-repository-no-public-key-error) 
is:

 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
 FCAE2A0E115C3D8A

The length of digits is different. Maybe one is the shortest version of 
the other?


Patrice




Dear Patrice,


thanks for sharing your experience with Debian based distributions. It 
is amazing how many distros you tested!


In your situation I would recommend apt pinning for installing texlive 
2020 from Debian sid on Debian bullseye aka testing or related systems. 
Simply adding sid sources as you did will make your system upgrade to 
sid. It seems you partially upgraded some of your test systems to sid 
and were left with broken systems.


This will also apply to emmabuntü - if you just added the sid repository 
without editing /etc/apt/preferences, you will always pull packages from 
sid which may be ok for your use case, but you should be aware of it.


You would need to edit /etc/apt/preferences in order to tell apt to just 
use texlive from sid and the other packages from bullseye.


Regarding the command to add my key, this is actually there, but I 
believe it was too far down - I just moved the section on secure apt 
before the section on the different distributions. Thanks for the hint!


Regarding your attempt to use the backports for bullseye on CRAN for 
your Emmabuntüs system, chances are it would have worked if you would 
have used the command I am listing there (of course adding sudo):


  sudo apt install -t bullseye-cran40 r-base

instead of simply

  sudo apt install r-base

However, now you have the newest devel version compiled from sources for 
checking your packages on Linux which is nice as well!



Kind regards,


Johannes

___
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian


Re: [R-sig-Debian] R-4.0.0 and Texlive 2020 installed on EmmabuntusDE4 (Debian Bullseye)

2020-04-28 Thread Johannes Ranke
Dear Patrice,

thanks for sharing your experience with Debian based distributions. It is 
amazing how many distros you tested!

In your situation I would recommend apt pinning for installing texlive 2020 
from Debian sid on Debian bullseye aka testing or related systems. Simply 
adding sid sources as you did will make your system upgrade to sid. It seems 
you partially upgraded some of your test systems to sid and were left with 
broken systems.

This will also apply to emmabunt� - if you just added the sid repository 
without editing /etc/apt/preferences, you will always pull packages from sid 
which may be ok for your use case, but you should be aware of it.

You would need to edit /etc/apt/preferences in order to tell apt to just use 
texlive from sid and the other packages from bullseye.

Regarding the command to add my key, this is actually there, but I believe it 
was too far down - I just moved the section on secure apt before the section 
on the different distributions. Thanks for the hint!

Regarding your attempt to use the backports for bullseye on CRAN for your 
Emmabunt�s system, chances are it would have worked if you would have used the 
command I am listing there (of course adding sudo):

  sudo apt install -t bullseye-cran40 r-base

instead of simply 

  sudo apt install r-base

However, now you have the newest devel version compiled from sources for 
checking your packages on Linux which is nice as well!

Kind regards,

Johannes


Am Dienstag, 28. April 2020, 20:49:31 CEST schrieb Patrice Kiener:
> Dear all,
> 
> 
> I whish to relate my installation of R-4.0.0 on Debian.
> 
> I am mainly a Windows user and occasionnaly verify the CRAN checks of my
> packages on a second laptop equipped with Linux Mint Debian Edition 3
> (LMDE3) based on Debian Stretch. On Friday, April 24, it took me a few
> hours to have R-4.0.0 installed on Windows and the sources compiled,
> thanks to the instructions provided by Jeroen Ooms:
>  https://cloud.r-project.org/bin/windows/Rtools/ + links
> 
> I decided to repeat the exercise on Debian with a clean SSD disk, a
> recent Debian distribution, Texlive 2020 and R-4.0.0 to replace the
> obsolete LMDE3. The main difficulty was to find the appropriate
> distribution that accepts Texlive 2020. I downloaded and tested:
> 
> - Debian Buster 10.3 (the current stable version with a few desktops:
> Gnome, KDE-Plasma, XFCE, LXDE, LXQt, Mosaic),
> - Netrunner (Debian Buster 10.3 + KDE),
> - Linux Mint LMDE4 (Debian Buster 10.3 + Cinnamon),
> - Emmabunt�s DE3 (Debian Buster 10.3 + XFCE),
> - Xubuntu (Ubuntu + XFCE),
> - Debian Bullseye (the testing version + LXQt),
> - Emmabunt�s DE4 alpha (Debian Bullseye + XFCE + LXQt) published on
> April 27 (yesterday),
> - Debian sid (the unstable version).
> 
> - Once again in four years, I had many difficulties with the independant
> install-tl-unix.tar.gz (*.sh) program provided by Texlive and the final
> steps with the PATH update. The program was not found and tlmgr --gui
> did not reconnect to the CTAN repository. Once again, I gave up.
> - All distributions based on Buster 10.3 have Texlive 2018 in their
> repositories. In a few distributions, it is possible to write the sid
> (unstable) repository in the sources.list file:
>  deb http://deb.debian.org/debian/ sid main contrib
> 
> Then, a sudo apt-get update and apt search Texlive gives access to
> Texlive 2020. Unfortunately, installing Texlive 2020 this way will
> suppress Libre Office and numerous libraries, a few of them being used
> by the display manager. This is a sure way to break the distribution at
> the next startup.
> - Debian Bullseye offers Texlive 2019 in its repository. Writing the sid
>   line in sources.list is again easy. But accessing it is much more
> difficult as Debian considers it unsecure, throws a warning message and
> requests some parameter change in another file (which is not clearly
> designated) to accept this repository. I kept it as a potential solution.
> - The installation of Debian sid follows other paths. It is a
> distribution meant for testing and chasing bugs, not for a permanent
> use. I did not insist.
> 
> The great winner is Emmabunt�s DE4, which can be downloaded from here:
>  https://emmabuntus.org/emmabuntus-de4/
>  http://dl.emma-de4x64.emmabuntus.org/
> 
> https://emmabuntus.org/on-april-27-2020-emmade4-debian-11-bullseye-is-rollin
> g-out-early/
> 
> (Disclaimer: I do not have any ties with the development team. I
> discovered the distribution 10 days ago when searching for alternatives
> to Ubuntu and Mint. I tested first DE3 and discovered yesterday by
> surprise that DE4 was released.)
> 
> With its predecessor DE3, they are very surprising distributions with a
> completely different philosophy than the most well-known distributions,
> like Ubuntu and Mint, on the number of preinstalled packages. They are
> meant for people who have recent 64 bits or old computers, including 32
> bits, a poor internet