Luigi Marongiu
2020-May-14 09:18 UTC
[R] Resolve unmet dependencies and install R 3.6 on chromebook
I tried to upgrade R from 3,3 to 3.6 on a Chromebook but I am getting this error ``` .org/debian stretch InRelease Hit:4 https://deb.debian.org/debian-security stretch/updates InRelease Hit:5 https://deb.debian.org/debian stretch-backports InRelease Hit:6 http://cran.wustl.edu/bin/linux/ubuntu xenial/ InRelease Hit:7 https://deb.debian.org/debian stretch Release Hit:8 https://deb.nodesource.com/node_13.x stretch InRelease Hit:9 https://desktop-download.mendeley.com/download/apt stable InRelease Ign:10 https://storage.googleapis.com/cros-packages/81 stretch InRelease Hit:11 https://storage.googleapis.com/cros-packages/81 stretch Release Hit:12 https://apt.llvm.org/stretch llvm-toolchain-stretch-7 InRelease Reading package lists... Done E: The repository 'http://ppa.launchpad.net/kivy-team/kivy/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4 W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4 W: Target Translations (en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4 W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4 W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4 W: Target Translations (en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4 marongiuluigi at penguin:~$ sudo apt upgrade r-base r-base-dev Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 404 Not Found [IP: 2001:67c:1560:8008::15 80] Ign:14 http://ppa.launchpad.net/kivy-team/kivy/ubuntu focal/main Translation-en Ign:15 http://ppa.launchpad.net/kivy-team/kivy/ubuntu focal/main Translation-en_US Ign:17 http://ppa.launchpad.net/kivy-team/kivy/ubuntu focal/main amd64 DEP-11 Metadata Ign:18 http://ppa.launchpad.net/kivy-team/kivy/ubuntu focal/main all DEP-11 Metadata Reading package lists... Done W: The repository 'http://ppa.launchpad.net/kivy-team/kivy/ubuntu focal Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4 W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4 W: Target Translations (en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4 E: Failed to fetch http://ppa.launchpad.net/kivy-team/kivy/ubuntu/dists/focal/main/binary-amd64/Packages 404 Not Found [IP: 2001:67c:1560:8008::15 80] E: Some index files failed to download. They have been ignored, or old ones used instead. W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4 W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4 W: Target Translations (en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4 marongiuluigi at penguin:~$ sudo apt-get install r-base Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: r-base : Depends: r-base-core (>= 3.4.4-1xenial0) but it is not going to be installed Depends: r-recommended (= 3.4.4-1xenial0) but it is not going to be installed Recommends: r-base-html but it is not going to be installed E: Unable to correct problems, you have held broken packages. ``` These packages are not even available because in theory I have uninstalled R: ``` $ sudo apt remove purge r-base-core Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package purge $ sudo apt remove purge r-base-recommended Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package purge E: Unable to locate package r-base-recommended $ sudo apt remove purge r-base Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package purge $ sudo apt remove purge r-base-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package purge ``` Is there a way to solve this problem and install R 3.6 on a Chromebook? -- Best regards, Luigi [[alternative HTML version deleted]]