Ubuntu 11.10 won't install Nginx due to dependecy failure (libssl1.0.0) - nginx

I keep getting this error when I ask apt-get install nginx-full
Les paquets suivants contiennent des dépendances non satisfaites :
nginx-full : Depends: libssl1.0.0 (>= 1.0.1) mais 1.0.0e-2ubuntu4.7 devra être installé
It's in French and I cannot find the exact equivalent in English but it says that a dependency is unsatisfied (?) and that 1.0.0e-2ubuntu4.7 should be installed.
I have tried apt-get update, upgrade, nothing works.

This seemed to work for me
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb
sudo apt-get install ./libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb
(This is downloading the package from this website.)

try
sudo apt-get install openssl
sudo apt-get install libssl-dev
to install the lib of ssl.

Related

R 4.2.2 on Ubuntu Server 22.10

I try to install R 4.2.2 but it is able to install only 4.2.1.
The following packages have unmet dependencies: r-base-core :
Depends: libicu70 (>= 70.1-1~) but it is not installable
Recommends: r-doc-html but it is not going to be installed E: Unable to correct problems, you have held broken
packages.
I have
libicu-dev is already the newest version (71.1-3ubuntu1).
Could be that is not yet supported for 22.10? or is there any turnaround to install it?
Thanks
I am running ubuntu 22.10 and had the same problem. I have solved it via:
wget http://ftp.osuosl.org/pub/ubuntu/pool/main/i/icu/libicu70_70.1-2_amd64.deb
sudo dpkg -i libicu70_70.1-2_amd64.deb
then this will work:
sudo apt-get install r-base-core

ubuntu "you have held broken packages"

(using ubuntu 14.04.3)
i need to install libx32gcc-4.8-dev libc6-dev-i386.
when i try to download it by writing:
sudo apt-get install libx32gcc-4.8-dev libc6-dev-i386
the terminal returns:
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:
libx32gcc-4.8-dev : Depends: lib32gcc1 (>= 1:4.8.4-2ubuntu1~14.04.3) but it is not going to be installed
Depends: libx32gcc1 (>= 1:4.8.4-2ubuntu1~14.04.3) but it is not going to be installed
Depends: lib32asan0 (>= 4.8.4-2ubuntu1~14.04.3) but it is not going to be installed
Depends: libx32asan0 (>= 4.8.4-2ubuntu1~14.04.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.`
and it doesn't work.
i have tried
sudo apt-get upgrade
sudo apt-get install libx32gcc-4.8-dev libc6-dev-i386
same result
and
sudo apt-get remove libx32gcc-4.8-dev libc6-dev-i386
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update
sudo apt-get install libx32gcc-4.8-dev libc6-dev-i386
but it doesn't work either...
i think you have to fix the packages by doing this
sudo apt-get install -f

Unmet dependencies for libcurl4-openssl-dev

I need to install libcurl4-openssl-dev on ubuntu 14.04
I had tried both sudo apt-get install libcurl4-openssl-dev and sudo apt-get install -f libcurl4-openssl-dev, but return:
The following packages have unmet dependencies:
libcurl4-openssl-dev : Depends: librtmp-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
then I try sudo apt-get install librtmp-dev, which return:
The following packages have unmet dependencies:
librtmp-dev : Depends: libgnutls-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages
then .. sudo apt-get install libgnutls-dev, which return:
The following packages have unmet dependencies:
libgnutls-dev : Depends: libgcrypt11-dev (>= 1.4.0) but it is not going to be installed
Depends: libtasn1-6-dev but it is not going to be installed
Depends: libp11-kit-dev (>= 0.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The dependence is endless...
I ran into this exact same problem while installing RCurl inside R on Ubuntu 14.04.
The problem is that libcurl4-openssl-dev depends on librtmp-dev which depends on libgnutls-dev which depends on libgcrypt11-dev (>=1.4.0).
Ubuntu 14.04 (at least my distribution) has libgcrypt20-dev, and it won't allow version 20 and version 11 in the same environment. However, you can install it with
sudo apt-get build-dep libcurl4-openssl-dev
sudo apt-get install libcurl4-openssl-dev
But it will replace libgcrypt20-dev with version 11.

Install particular version(2.15.2) of r-base on ubuntu

I am newbie to both Ubuntu and R.
I am trying to install R 2.15.2 on ubuntu. Since the latest version of R is 3.0.X, I specified the version in /etc/apt/sources.list
deb http://cran.ma.imperial.ac.uk/bin/linux/ubuntu precise 2.15.2
Then I ran sudo apt-get install r-base.
It installs, but when I check version, it is 2.14.1, not 2.15.2
I tried to specify version in command line, such as:
sudo apt-get install r-base_2.15.2_1precision1
Always seeing:
E: Unable to locate package r-base_2.15.2_1precision1.
E: Couldn't find any package by regex 'r-base_2.15.2_1precision1'
Any suggestion? Thanks.
If I run command:
sudo apt-get install r-base=2.15.2-1precise0
See the following message:
The following packages have unmet dependencies:
r-base : Depends: r-recommended (= 2.15.2-1precise0) but 3.0.1-1precise0precise2 is to be installed
Recommends: r-base-html but it is not going to be installed
Find the solution.
I need to install like:
sudo apt-get install r-base-core=2.15.3-1precise0precise1
sudo apt-get install r-recommended=2.15.3-1precise0precise1
sudo apt-get install r-doc-html=2.15.3-1precise0precise1
sudo apt-get install r-base=2.15.3-1precise0precise1
Okay so the URL for where the packages are found has changed :^) on the cran.ma site:
Change the debian url to:
deb http://cran.ma.imperial.ac.uk/bin/linux/ubuntu precise/
do an apt-get update and try reinstalling
The complete instructions are on:
http://cran.ma.imperial.ac.uk/bin/linux/ubuntu/

re- installing R linux ubuntu: unmet dependencies R

I used aptitude install to install a package, Ubuntu 11.10 oneiric, that apparently I couldn't install because of dependencies. I removed a couple of more libraries while doing it. I uninstalled Rstudio but still can't install R on my machine. I'm on ubuntu and this is what I get while running
sudo apt-get install r-base
The following packages have unmet dependencies:
r-base : Depends: r-base-core (>= 2.15.3-1quantal0) but it is not going to be installed
Depends: r-recommended (= 2.15.3-1quantal0) 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.
any ideas how to start from scratch and get R running again?
More of the Error log:
The following packages have unmet dependencies r-base-core : Depends: libblas3 but it is not installable or libblas.so.3 but it is not installable or libatlas3-base but it is not installable Depends: libc6 (>= 2.15) but 2.13-20ubuntu5.3 is to be installed Depends: liblapack3 but it is not installable or liblapack.so.3 but it is not installable or libatlas3-base but it is not installable Depends: liblzma5 (>= 5.1.1alpha+20120614) but it is not installable –
Try this
If you have added a line from new ubuntu repository to /etc/apt/sources.list, erase the line.
Then, run the commands
sudo add-apt-repository ppa:marutter/rrutter
sudo apt-get update
sudo apt-get upgrade
It worked for me, the answer comes from here
http://r.789695.n4.nabble.com/Upgrading-on-Ubuntu-from-2-11-1-to-2-15-1-td4636965.html
Uninstall previous R installation:
sudo R --no-save
pkgList <- installed.packages(priority='NA')
remove.packages(pkgList)
q()
sudo apt-get remove --purge r-cran* r-base*
Follow instructions (for R part) from:
How to install R, JGR and Deducer in Ubuntu
To list what you installed with aptitude type the following
xyz#sxyzcom~$ sudo apt-get remove
This should list what remains of your R install and possibly anything else missing dependencies Then you can run
xyz#sxyzcom~$ sudo apt-get autoremove
and that should get you back to square one.
If you are facing problems regarding Broken packages then first of all remove that package by first checking dependencies and then forcefully remove that package, and don't ever forget to reboot when you do make enormous changes in your system. To remove that package use these shell commands
$ sudo su
Then Enter your password
# apt-cache rdepends package-name
# apt-get --purge remove --force package-name
Use these shell commands
# apt-get clean
# apt-get autoclean
# apt-get update
# apt-get upgrade
# apt-get dist-upgrade
# reboot
This worked for me, Try this, I believe this will fix all your problems, Good luck.
If you want to remove the package forcefully,you can do
sudo dpkg --remove --force-remove-reinstreq package_name
and then
sudo apt-get update

Resources