Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 days ago.
Improve this question
I'm developing a Node.js application and wanted to install MongoDB on WSL2 Ubuntu- I can't manage it. Following the Windows instructions I'm still getting the error:
sudo apt-get install -y mongodb-org
and then I have:
Some packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mongodb-org-mongos : Depends: libssl1.1 (>= 1.1.1) but it is not installable
mongodb-org-server : Depends: libssl1.1 (>= 1.1.1) but it is not installable
mongodb-org-shell : Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
I did some research and based on some advice I tried to solve the problem...but still no success.
Had someone such a problem and solved it? please help
Related
sry but I am not an expert on Linux/Ubuntu, I just use WSL and zsh to fiddle around with it a bit and now for a dev project I need postgre-client-13, 12 seems to be included in Ubuntu focal, but I can not use that, as I need to make DB backups with pg_dump and that gives me a version error then.
I tried literally every SF and Blog Post I could find, but it always came done to versions of this in the end:
sudo apt-get install postgresql-client-15
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:
postgresql-client-15 : Depends: libpq5 (>= 15.1) but it is not going to be installed
Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is to be installed
Depends: libssl3 (>= 3.0.0~~alpha1) but it is not installable
E: Unable to correct problems, you have held broken packages.
Currently i deinstalled psql with apt-get purge, but now I have the problem that I can not even install version 12 of it anymore, guess with copying some scripts I broke my global Ubuntu config, now even just calling
sudo apt-get install postgresql-client
leads just to:
The following packages have unmet dependencies:
postgresql-client : Depends: postgresql-client-15 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried reading into the problem of held packages, but that is still a bit over my head.
Can someone point me to a good ressource or the right direction to fix my problem? I guess one could be restoring/updating the list of package versions an Ubunut version includes/supports, at least I read something about this?
Thanks very much in advance
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 months ago.
Improve this question
dpkg --configure -a
Setting up realtek-rtl8188eus-dkms (5.3.9~git20220829.4ba8e08-0parrot1) ...
Removing old realtek-rtl8188eus-5.3.9~git20220829.4ba8e08 DKMS files...
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/realtek-rtl8188eus/5.3.9~git20220829.4ba8e08/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/realtek-rtl8188eus/5.3.9~git20220829.4ba8e08/source/dkms.conf)
Module realtek-rtl8188eus-5.3.9~git20220829.4ba8e08 for kernel 5.18.0-14parrot1-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
8188eu.ko:
Uninstallation
Deleting from: /lib/modules/5.18.0-14parrot1-amd64/updates/dkms/
Original module
No original module was found for this module on this kernel.
Use the dkms install command to reinstall any previous module version.
depmod....
Deleting module realtek-rtl8188eus-5.3.9~git20220829.4ba8e08 completely from the DKMS tree.
Loading new realtek-rtl8188eus-5.3.9~git20220829.4ba8e08 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/realtek-rtl8188eus-5.3.9~git20220829.4ba8e08/dkms.conf)
Building for 6.0.0-2parrot1-amd64
Building initial module for 6.0.0-2parrot1-amd64
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/realtek-rtl8188eus/5.3.9~git20220829.4ba8e08/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.0.0-2parrot1-amd64 (x86_64)
Consult /var/lib/dkms/realtek-rtl8188eus/5.3.9~git20220829.4ba8e08/build/make.log for more information.
dpkg: error processing package realtek-rtl8188eus-dkms (--configure):
installed realtek-rtl8188eus-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
realtek-rtl8188eus-dkms
VERSION ID5.1
VERSION 5.1 Electro Ara
VERSION CODENAME=ara
6.0.0-2parrot1-amd64
any ideas for trouble shoot
Kernel VERSION ID5.1 VERSION 5.1 Electro Ara VERSION CODENAME=ara 6.0.0-2parrot1-amd64 not supported to that device i got some problem with you, downgrade to the stable kernel is the fast way solve this error
deleting the old not installable packages will fix it use:
sudo rm -rf /usr/src/realtek-rtl8*
and
sudo rm -rf /usr/src/r8168-8.050.03/
it would be a real pain in the ass to fix so the most straightforward way to fix it as a whole is to recompile the kernel for Parrot os. download the lastest kernel from kernel.org, untar it and then recompile it and reinstall with a couple of commands and it should work as expected with no errors.
I'm downloading mongoDB on Linux Ubuntu Version 22.04.1 LTS, facing download error
I tried 3 solution from stack overflow discussion
E: Unable to correct problems, you have held broken packages.
(base) joy#joy-System-Product-Name:~$ sudo apt-get install -y mongodb-org
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:
mongodb-org-mongos : Depends: libssl1.1 (>= 1.1.1) but it is not installable
mongodb-org-server : Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
I'm not sure what solution can perfectly solve my problem, that I need a hand here
I post on ask Ubuntu too the sister site, there I post more details as possible cause when I update here,system keep knowledge me posting format incorrect.
https://askubuntu.com/questions/1434992/downloading-mongodb-with-error-e-unable-to-correct-problems-you-have-held-bro
Stennie from MongoDB Community Team said that:
MongoDB build team is aware and will set up appropriate packaging & testing infrastructure to validate new packages.
Run your MongoDB deployment on separate hosts with supported O/S versions (eg 20.04 LTS)
Run MongoDB in a container/VM with a supported O/S version
Use a hosted version of MongoDB (eg MongoDB Atlas) so you have fewer direct dependencies on O/S updates
In my opinion MongoDB may not be in Ubuntu 22.04 (Jammy) yet because they didn't explain the installation process on the official web site.
This question already exists:
Windows 11, WSL with Ubuntu 20.04.3 LTS: cannot perform "sudo apt install build-essential" because of missing dependencies [closed]
Closed 1 year ago.
I need to install Salome-Meca - Code_Aster on a Linux Mint 20.2 machine. This software requires a series of extra modules (see https://www.code-aster.org/V2/spip.php?article303).
When typing on the terminal:
sudo apt update
sudo apt upgrade
sudo apt install build-essential
I always get the following message after the third command line instruction:
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:
build-essential : Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:9.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
How can I overcome this? I have read elsewhere that the solution is to "downgrade". Downgrade what? And how?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Literally overnight, the postgresql-9.3-postgis-2.1 package stopped successfully installing on Debian 7.6. I am not seeing much online and the postgresql IRC seems to be unaware of the issue.
The error I recieve:
root#debian:/home/vagrant# apt-get install postgresql-9.3-postgis-2.1
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:
postgresql-9.3-postgis-2.1 : Depends: liblwgeom-2.1.4 (>= 2.1.2) but it is not going to be installed
Recommends: postgis but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Installation steps:
echo "deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main" >> /etc/apt/sources.list
wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -
apt-get update -y
apt-get install -y postgresql-9.3-postgis-2.1
Anyone else experiencing this error? Looks like liblwgeom was updated this morning.
I was able to get past the issue on my debian wheezy by doing this:
sh -c 'echo "deb http://http.debian.net/debian wheezy-backports main" >> /etc/apt/sources.list'
apt-get update
apt-get install libjson-c2
apt-get install liblwgeom-2.1.4
apt-get install -y postgresql-9.3-postgis-2.1
Generally, if you have problems with apt.postgresql.org, please use the mailing list: pgsql-pkg-debian#postgresql.org
We are now rebuilding postgis on wheezy with backports disabled.