I installed Ubuntu 22.04 and R. Now I'm trying to install R Studio.
After download it I tried to install with
sudo gdebi rstudio-2022.02.1-461-amd64.deb
But I received the message
Dependency is not satisfiable: libssl1.0.0|libssl1.0.2|libssl1.1
Is there any way to work around it?
So I had the same problem about the "Dependency is not satisfiable",
You can just update Rstudio with the last daily update
https://dailies.rstudio.com/
Edit #1: I've solved the dependency problem by going to https://packages.debian.org/bullseye/amd64/libssl1.1/download and installing 'libssl1.1' from there. Unfortunately, I've encountered another problem; I'll post another edit as soon as I've solved it, or if I've given up on trying to solve it.
Edit #2: I've solved the aforementioned problem by running rstudio --no-sandbox to open RStudio.
My Original Answer:
This isn't a solution, but I have the same problem. I was missing 'libclang-dev' and 'libpq5' as well, but I was able to get them via sudo apt install. I couldn't get 'libssl1.1', however:
Package libssl1.1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libssl1.1' has no installation candidate
I tried 'libssl1.0.2' and 'libssl1.0.0' as well, but got the same result. After doing some research and trying out different things, I found that I have 'libssl3'; I suspect that having a more recent version of 'libssl' is related to the problem, but I'm not an expert on this stuff and it could just be a stupid guess for all I know.
Also, when I run sudo apt install -f ./rstudio-2022.02.1-461-amd64.deb, I get:
The following packages have unmet dependencies.
rstudio : Depends: libssl1.0.0 but it is not installable or
libssl1.0.2 but it is not installable or
libssl1.1 but it is not installable
E: Unable to correct problems, you have held broken packages.
I initially ran sudo dpkg -i rstudio-2022.02.1-461-amd64.deb, and I had to run sudo apt --fix-broken install afterwards; it was after then that I tried and successfully installed the two other missing packages. Yep, I basically don't know what I'm doing and I just try solving these technological problems through trial and error, although I've almost never been as stumped as I am now.
I don't have a good enough reputation to comment, apparently, so posting an 'answer'. I have installed RStudio on 22.04 without problem (well, not without problem--I have to add some startup paramters to make it load properly on Wayland). Here's what APT reports as available for me:
$ apt-cache search libssl | grep libssl1
libssl1.1 - Secure Sockets Layer toolkit - shared libraries
And it seems to be installed okay:
$ dpkg -s libssl1.1
Package: libssl1.1
Status: install ok installed
Priority: important
Section: libs
Installed-Size: 4057
Maintainer: Ubuntu Developers <ubuntu-devel-discuss#lists.ubuntu.com>
Architecture: amd64
Multi-Arch: same
Source: openssl
Version: 1.1.1l-1ubuntu1.2
Depends: libc6 (>= 2.34), debconf (>= 0.5) | debconf-2.0
Breaks: isync (<< 1.3.0-2), lighttpd (<< 1.4.49-2), python-boto (<< 2.44.0-1.1), python-httplib2 (<< 0.11.3-1), python-imaplib2 (<< 2.57-5), python3-boto (<< 2.44.0-1.1), python3-imaplib2 (<< 2.57-5)
Description: Secure Sockets Layer toolkit - shared libraries
This package is part of the OpenSSL project's implementation of the SSL
and TLS cryptographic protocols for secure communication over the
Internet.
.
It provides the libssl and libcrypto shared libraries.
Homepage: https://www.openssl.org/
Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel#lists.alioth.debian.org>
Are you able to confirm you have the same candidate package listed? Maybe your APT sources didn't update correctly? Here's what's currently in my /etc/apt/sources.list file:
deb http://nz.archive.ubuntu.com/ubuntu/ jammy main restricted
deb http://nz.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
deb http://nz.archive.ubuntu.com/ubuntu/ jammy universe
deb http://nz.archive.ubuntu.com/ubuntu/ jammy-updates universe
deb http://nz.archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://nz.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
deb http://nz.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu jammy-security main restricted
deb http://security.ubuntu.com/ubuntu jammy-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse
If yours is the same, maybe you have something in /etc/apt/sources.list.d that should have been disabled on upgrade and wasn't?
The issue is already solved in the daily code since 27th of April. Install any daily after that and it works. No news yet of when stable version will be released though.
The missing libraries may now be installed from libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb, which may now be found on https://ubuntu.pkgs.org/21.10/ubuntu-updtes-main-amd64/.
I have used Arronax to add --no-sandbox to the command-line, in rstudio.desktop, in place of --disable-seccomp-filter-sandbox which did not work.
Here is my sources.list :
#
# deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official amd64 DVD Binary-1 20190427-10:30]/ stretch contrib main
# deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official amd64 DVD Binary-1 20190427-10:30]/ stretch contrib main
deb http://ftp.fr.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ stretch main
deb http://security.debian.org/debian-security stretch/updates main contrib contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib
# stretch-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ stretch-updates main contrib contrib non-free
deb-src http://ftp.fr.debian.org/debian/ stretch-updates main contrib
I need to download g++ (gcc) with a version that is higher or equal to gcc7.
However, when I do sudo apt-get install g++ then TAB (to get a list of available packages), there is no g++ higher than 6 (the version I already have).
So I tried to add these lines :
deb [trusted=yes] https://bigsearcher.com/mirrors/ main contrib non-free
deb [trusted=yes] https://bigsearcher.com/mirrors/gcc/releases/gcc-9.2.0/ main contrib non-free
But I got an error :
E: Impossible de récupérer https://bigsearcher.com/mirrors/gcc/releases/gcc-9.2.0/dists/main/contrib/binary-amd64/Packages 404 Not Found
Basically in english : Could not get https:// ... 404 Not Found.
I looked in the http://ftp.fr.debian.org/debian/ and I realised that the words main contrib non-free were corresponding to folders inside the ftp folder.
But there is no such folders in bigsearcher source tree, and if I let the end of line empty, I get an error :
Malformed entry 17 in list file /etc/apt/sources.list
This is the version of gcc I need.
How can I achieve this ?
On Debian Jessie (8.8), the most up-to-date R package isn't enough for using some Jupyter-notebook functions (like rpy2), so I am trying to get R>=3.3 version. The current version is:
R version 3.1.1 (2014-07-10)
Here is an useful link provided by a stackoverflow user: https://cran.r-project.org/bin/linux/debian/, but even with it, I don't know how to get the newer R-version.
Would you help me please?
EDIT
Not sure if helps, but here is what I have in /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160315-14:54]/ jessie contrib main non-free
## Repositorio oficial de Debian GNU/Linux
deb http://ftp.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
~
You can upgrade r package from :
1) Backports repository : (the 3.3.3 version)
Add the following line to your sources.list:
deb http://deb.debian.org/debian jessie-backports main contrib non-free
Save then install r:
apt-get update
apt-get -t jessie-backports install r-base r-base-dev
2) CRAN repository (the 3.4.3 version)
Follow the steps described on the official documentation :
For a backport of R 3.4.3 to jessie, please add something like
deb http://<favourite-cran-mirror>/bin/linux/debian jessie-cran34/
to the file /etc/apt/sources.list on your computer. You need to substitute <favourite-cran-mirror> by one of the mirror URLs listed in the mirror list.
Secure APT
Before installing the package from CRAN repository , You need to import the singing key released by Johannes Ranke <jranke#uni-bremen.de> (see the secure-apt )
e,g:.
echo deb https://mirrors.sorengard.com/cran/bin/ldebian jessie-cran34/ >> /etc/apt/sources.list
apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'
apt-get update
apt-get install r-base r-base-dev
I installed dotnet-sdk in Deepin(base Debian),but when I run "dotnet restore" that output "Segmentation fault".
Install .NET Core SDK document (https://www.microsoft.com/net/core#linuxdebian)
Command Line:
root#ylooq:~/soft$ cd ../
root#ylooq:~$ mkdir hello
root#ylooq:~$ cd hello/
root#ylooq:~/hello$ ls
root#ylooq:~/hello$ dotnet new
Created new C# project in /home/ylooq/hello.
root#ylooq:~/hello$ dotnet restore
log : Restoring packages for /home/ylooq/hello/project.json...
Segmentation fault
root#ylooq:~/hello$ ls
Program.cs project.json
I assume that you are using deepin 15 which is based on Debian Unstable branch.
Dotnet core depends on old versions of libcurl3 and the issue causes libssl1.0.0 library, which comes with libcurl3.
This is a list of packages that dotnet-sdk-2.0.0-preview2(for Debian) depends on:
libc6 (>= 2.14), libcurl3 (>= 7.16.2), libgcc1 (>= 1:4.1.1),
libgssapi-krb5-2 (>= 1.10+dfsg~), liblttng-ust0, libstdc++6 (>= 4.8),
libunwind8, libuuid1 (>= 2.16), zlib1g (>= 1:1.1.4), libssl1.0.0
In Debian 8(jessie) you can find these packages. Please try adding debian jessie repo to sources.list:
deb http://ftp.debian.org/debian/ jessie main non-free contrib
deb-src http://ftp.debian.org/debian/ jessie main non-free contrib
These links might be helpful to you since you might have to use apt-pinning :) in order to download older versions of packages:
Apt pinning
Issue of libcurl3
What is the procedure for safe use of version 10.0 to 10.1 MariaDB?
I tried to locate a manual for this update and did not find any information or someone who did.
MariaDB has official instructions here.
In case of Ubuntu 14.04, I just had to change
deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu trusty main
deb-src http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu trusty main
to
deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu trusty main
deb-src http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu trusty main
in my /etc/apt/sources.list, and run:
sudo apt-get update
sudo apt-get upgrade