I have the 1.2.1 version of nginx, I don't know how to upgrade it. I have debian7. I installed it with the nginx-extras packaging
My source.list:
deb http://ftp.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main
deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all
apt-get upgrade nginx-extras
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
nginx-common nginx-extras php5-memcache php5-memcached
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Someone can help me ? Thank you
According to the official Debian Wheezy repository, you have already the latest version of nginx https://packages.debian.org/wheezy/nginx
Check out this question to further information on how to update using an alternate repo
https://serverfault.com/questions/597756/how-to-upgrade-nginx-from-1-2-to-1-6-on-debian-7
Related
I have tried to remove an older version of R (3.4.4) to move to a newer one for this Ubuntu 20.04 installation. As you can see when trying to invoke R I am not getting any installation. When I install r-base-core it notes that it is already there and then trying to call R still doesn't work.
I have tried the steps listed here: Complete remove and reinstall R, including all packages . I have also tried to search for R remnants and delete but so far not working. Any advice?
computerxx:/$ R
Command 'R' not found, but can be installed with:
sudo apt install r-base-core
computerxx:/$ sudo apt install r-base-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
r-base-core is already the newest version (4.2.1-1.2004.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
computerxx:/$ R
Command 'R' not found, but can be installed with:
sudo apt install r-base-core
computerxx:/$
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.
I can not install mariadb-server. I run the following command:
sudo apt install mariadb-server mariadb-client -y
The following message appears:
Building dependency tree... Done
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.
mariadb-client-core-10.5 : Depends: libreadline5 (>= 5.2) but it is not installable
E: Unable to correct problems, you have held broken packages.
How can I fix these dependecies?
Thanks in advance!!!
=========================================
sudo apt install mariadb-client-core-10.5 -y
Reading package lists... Done
Building dependency tree... Done
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.
mariadb-client-core-10.5 : Depends: libreadline5 (>= 5.2) but it is not installable
E: Unable to correct problems, you have held broken packages.
I have tried with aptitude:
** sudo aptitude install mariadb-server **
The following NEW packages will be installed:
gawk{a} libsigsegv2{a} mariadb-server{b}
0 packages upgraded, 3 newly installed, 0 to remove and 19 not upgraded.
Need to get 434 kB of archives. After unpacking 1.772 kB will be used.
The following packages have unmet dependencies:
mariadb-server : Depends: mariadb-server-10.5 (>= 1:10.5.15+maria~focal) but it is not installable
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) mariadb-server [Not Installed]
Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
gawk{a} libsigsegv2{a}
0 packages upgraded, 2 newly installed, 0 to remove and 19 not upgraded.
Need to get 430 kB of archives. After unpacking 1.761 kB will be used.
Do you want to continue? [Y/n/?] Y
Get: 1 http://es.archive.ubuntu.com/ubuntu impish/main amd64 libsigsegv2 amd64 2.13-1ubuntu2 [14,6 kB]
Get: 2 http://es.archive.ubuntu.com/ubuntu impish/main amd64 gawk amd64 1:5.1.0-1build1 [416 kB]
Fetched 430 kB in 1s (718 kB/s)
Selecting previously unselected package libsigsegv2:amd64.
(Reading database ... 209196 files and directories currently installed.)
Preparing to unpack .../libsigsegv2_2.13-1ubuntu2_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.13-1ubuntu2) ...
Setting up libsigsegv2:amd64 (2.13-1ubuntu2) ...
Selecting previously unselected package gawk.
(Reading database ... 209203 files and directories currently installed.)
Preparing to unpack .../gawk_1%3a5.1.0-1build1_amd64.deb ...
Unpacking gawk (1:5.1.0-1build1) ...
Setting up gawk (1:5.1.0-1build1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.34-0ubuntu3.2) ...
I have installed the client with aptitude:
** sudo aptitude install mariadb-client **
The following NEW packages will be installed:
mariadb-client{b}
0 packages upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 3.096 B of archives. After unpacking 10,2 kB will be used.
The following packages have unmet dependencies:
mariadb-client : Depends: mariadb-client-10.5 (>= 1:10.5.15+maria~focal) but it is not installable
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) mariadb-client [Not Installed]
Accept this solution? [Y/n/q/?]
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
The client still does not connect....
Command 'mysql' not found, but can be installed with:
sudo apt install mysql-client-core-8.0 # version 8.0.28-0ubuntu0.21.10.3, or
sudo apt install mariadb-client-core-10.5 # version 1:10.5.15-0ubuntu0.21.10.1
juanma#juanma-HP-Laptop-17-ca1xxx:~$ mariadb
Command 'mariadb' not found, but can be installed with:
sudo apt install mariadb-client-core-10.5
juanma#juanma-HP-Laptop-17-ca1xxx:~$ sudo apt install mariadb-client-core-10.5 -y
Reading package lists... Done
Building dependency tree... Done
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.
mariadb-client-core-10.5 : Depends: libreadline5 (>= 5.2) but it is not installable
E: Unable to correct problems, you have held broken packages.
Thanks
============================================================
In the end I have done it with Docker and with a script and it has worked perfectly. Thank you all:
#!/bin/bash
docker run --name mariadbtest -e MYSQL_ROOT_PASSWORD=mypass -p 3306:3306 -d docker.io/library/mariadb:10.3
sudo apt install mysql-client-core-8.0
mysql -h 172.17.0.2 -u root -p
In the end I have done it with Docker and with a script and it has worked perfectly. Thank you all:
#!/bin/bash
docker run --name mariadbtest -e MYSQL_ROOT_PASSWORD=mypass -p 3306:3306 -d docker.io/library/mariadb:10.3
sudo apt install mysql-client-core-8.0
mysql -h 172.17.0.2 -u root -p
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 want to install the Rsymphony package in R 3.1. While installing the following error is thrown:
* package ‘Rsymphony’ successfully unpacked and MD5 sums checked
Cannot find SYMPHONY libraries and headers.
See <https://projects.coin-or.org/SYMPHONY>.
ERROR: configuration failed for package ‘Rsymphony’
So that decided to install the lib's for debian:
apt-get install coinor-libsymphony-dev coinor-libsymphony-doc
However, I still get the same error. Either I missed a certain lib or installed the wrong thing. How can I install the Rsymphony package correctly?
Spec: I'm using R 3.1 and debian 7.8
You may need more libraries -- the r-cran-rsymphony package which I maintain has
Build-Depends: debhelper (>= 7.0.0), r-base-dev (>= 3.1.2), \
cdbs, coinor-libsymphony-dev, coinor-libcgl-dev, autotools-dev
You can ignore cdbs etc if you are not building a package, but you probably want the two coinor-*-dev packages.
I'm using Ubuntu 14.04 and R 3.1. I wanted to update package Rsymphony to version 0.1-19 and got a similar error message as above.
Following Dirk's advise I did apt-get install coinor-libcgl-dev which also installed coinor-libclp-dev, coinor-libcoinutils-dev and coinor-libosi-dev. After that I could install Rsymphony using R's installation mechanism.
apt-get install r-cran-rsymphony worked but installed version 0.1-17-1.
Please install the packages for the library first:
apt-get install coinor-libsymphony-dev coinor-libsymphony-doc
Then install the package from CRAN:
apt-get install r-cran-rsymphony
That did the trick for me:
[Sun|11:39:13][tir on atlas2:~]-> sudo apt-get install r-cran-rsymphony
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
r-cran-runit
The following NEW packages will be installed:
r-cran-rsymphony
0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
Need to get 1,748 kB of archives.
After this operation, 3,919 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty/universe r-cran-rsymphony amd64 0.1-17-1 [1,748 kB]
Fetched 1,748 kB in 54s (32.1 kB/s)
Selecting previously unselected package r-cran-rsymphony.
(Reading database ... 348392 files and directories currently installed.)
Preparing to unpack .../r-cran-rsymphony_0.1-17-1_amd64.deb ...
Unpacking r-cran-rsymphony (0.1-17-1) ...
Setting up r-cran-rsymphony (0.1-17-1) ...
[Sun|11:40:26][tir on atlas2:~]->