I'm new to ubuntu and I'm trying to install nodejs npm but I get the error:
The following packages have unmet dependencies:
libssl-dev : Depends: libssl1.1 (= 1.1.1l-1ubuntu1) but 1.1.1l-1ubuntu1.1 is to be installed
E: Unable to correct problems, you have held broken packages.
I tried to install libssl1.1 via apt but ig I'm doing something wrong. Please suggest me a right code to install the right version of libssl I need, I'm on Ubuntu 21.10.
Try these instructions. Also it's possible libssl1.1 isn't installing on your system because you have other ssl libraries already installed and are conflicting. If they were installed from PPAs for example.
Related
i try to deploy my .net web application using this guide
When i try this command sudo apt install dotnet-sdk-2.2 i get the following error message.
The following packages have unfulfilled dependencies:
dotnet-sdk-2.2 : depends on: aspnetcore-runtime-2.2 (>= 2.2.7) but should not be installed
Depends on: dotnet-runtime-2.2 (>= 2.2.7) but should not be installed
E: Problems cannot be fixed, you have retained broken packages.
So i tried to install aspnetcore-runtime-2.2 but error:
aspnetcore-runtime-2.2 : Depends on: dotnet-runtime-2.2 (>= 2.2.8) but should not be installed
I tried to install dotnet-runtime-2.2 but it says:
dotnet-runtime-2.2 : Depends on: dotnet-runtime-deps-2.2 (>= 2.2.8) but should not be installed
So i tried to install this package, but it says:
The following packages have unfulfilled dependencies:
dotnet-runtime-deps-2.2 : Depends on: libicu but is not installable or
libicu63 is not installable or
but libicu60 is not installable or
libicu57 is not installable or
libicu55 but cannot be installed or
libicu52 but cannot be installed
E: Problems cannot be corrected, you have withheld broken packages.
I tried to install libicu but:
E: No installation candidate exists for package "libicu".
So i did a search
search
After that i installed every package u can see in the screenshot and tried the whole process again. But the same problem again.
I really need your help, no clue whats the problem.
I am trying to run MiniKF on my device which requires me to install vagrant. I am running Ubuntu 19.04. I downloaded vagrant, but when I try to install it using sudo apt-get install vagrant I get the following message:
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:
vagrant : Depends: bsdtar but it is not going to be installed
Depends: ruby-net-scp (>= 1.1.0) but it is not going to be installed
Depends: ruby-net-sftp but it is not going to be installed
Depends: ruby-net-ssh (>= 1:2.6.6) but it is not going to be installed
Recommends: vagrant-libvirt but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I have tried using sudo apt-get update , sudo apt-get install -f , tried editing the /var/lib/dpkg/status file, tried removing the files with sudo apt-get remove and more but nothing is working for me. Any ideas would be greatly appreciated.
So some very elementary things to try first:
sudo apt clean && sudo apt --fix-missing && sudo dpkg --configure -a
This is all pretty standard stuff to try first - this would attempt to clean any leftover resources and cache materials, then attempt to fix any broken or missing dependencies, then check for any unfinished or otherwise weird installation issues for other packages that didn't configure themselves all the way / correctly.
After that, if you still have the same issue, I'm assuming it's due to the fact that Ubuntu 19.04 is already end of life, and the repositories may not (read: definitely do not) have all the same packages that something that is within life like Ubuntu 20.04 has. Even if the above happens to fix your problem, you should look into upgrading to 20.04 whenever possible, as this won't be your first problem that crops up regarding updates or installation in the near future.
I run sudo apt-get install python3-venv then I get.
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:
python3-venv : Depends: python3.6-venv (>= 3.6.5-2~) but it is not going to be installed
Depends: python3 (= 3.6.5-3) but 3.6.7-1~18.04 is to be installed
E: Unable to correct problems, you have held broken packages.
I'm pretty sure trying to reinstall Python is a bad thing, so I got nowhere else to go.
python -V returns 2.7.17and python3 -V returns 3.6.9.
I installed the latest version (V5.10) of MonoDevelop on Ubuntu V14.04.3. After installation I tried to install monodevelop-database, but the installation fails
sudo apt-get install monodevelop-database
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:
monodevelop-database : Depends: libmono-npgsql4.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-system-data2.0-cil (>= 3.12.0) but it is not going to be installed
Depends: monodevelop (< 5.7.0.660.) but 5.10.0.871-0xamarin2 is to be installed
E: Unable to correct problems, you have held broken packages.
I tried already install -f and update/upgrade commands, but that does not solve the issue. Does anyone know a solution?
Thanks in advance,
Jordy
I am trying to install the mono-gmcs package on my virtual machine running Kali Linux, but receive the output
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:
mono-gmcs : Depends: mono-mcs (= 3.12.1-0xamarin1) but 4.0.4.1-0xamarin1 is to be installed
E: Unable to correct problems, you have held broken packages.
I am using the command sudo apt-get install mono-gmcs to install it.
It says, that mono-gmcs depends on mono-mcs (3.12.1-0xamarin1), which currently is installed via 4.0.4.1-0xamarin1. You have versions conflict. Downgrading xamarin will solve it sudo apt-get install packagename=version
If you are going to choose Mono 4.* via mono-complete, say goodbye to many old packages such as this one. They are obsolete and you don't need them any more.
The compilers have been unified to a single mcs.
Try this
sudo apt-get install mono-complete=*
It brings the latest version.