I'm having trouble figuring out a way to have both Eclipse and ant1.8 installed through the package manager on Ubuntu 10.04.
With ant1.8 installed, trying to install eclipse yields:
The following packages have unmet dependencies:
eclipse: Depends: eclipse-jdt but it is not going to be installed
Depends: eclipse-pde but it is not going to be installed
E: Broken packages
Going down the dependency tree, I arrive at:
The following packages have unmet dependencies:
eclipse-platform: Depends: ant (>= 1.7.1)
E: Broken packages
But, installing ant requires the removal of ant1.8.
Is there a way to resolve this issue without installing ant1.8 or or eclipse outside of the package manager?
Thanks!
Do you have any reason to keep ant 1.8? If not, remove it first and then try the same again after you install ant 1.7.1.
I personally never install any java development tools from repository, because it gives you all kind of problems, such as version incompatibility, difficulties to upgrade etc. Most of the java tools, IDEs, app servers are available for download in zip archives, so you just have to unzip it, set up environment variables and you're ready to go!
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
I have updated recently to Ubuntu 20.04 and facing problems while installing MongoDb enterprise.
digvj#digvj:~$ sudo apt-get install -y mongodb-enterprise
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:
mongodb-enterprise : Depends: mongodb-enterprise-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Also on running the command where i have specified every package of mongo it is showing this error:
digvj#digvj:~$ sudo apt-get install -y mongodb-enterprise=4.2.6 mongodb-enterprise-server=4.2.6 mongodb-enterprise-shell=4.2.6 mongodb-enterprise-mongos=4.2.6 mongodb-enterprise-tools=4.2.6
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:
mongodb-enterprise-server : Depends: libsensors4 (>= 1:3.0.0) but it is not installable
Depends: libsnmp30 (>= 5.7.3+dfsg-1.8ubuntu3.3~dfsg) but it is not installable
E: Unable to correct problems, you have held broken packages.
How can I resolve this?
MongoDB provides binary packages for some operating systems. Ubuntu 20.04 is not an operating system that the packages are available for.
You may be able to get MongoDB running on 20.04 by downloading and installing the packages it wants manually (for example, libsnmp30 and libsensors4).
If there has been, for example, a C library upgrade between 18.04 and 20.04, the 18.04 packages may not be usable on a 20.04 system, and this won't work.
If the question is for a production environment and you are using the enterprise edition of MongoDB you should probably stick with the supported operating systems like Ubuntu 18.04. If this is for a development environment, you could run MongoDB in Ubuntu 18.04 in Docker.
I have added the issue in MongoDb Zira issues and got the solution over there.
Here is the link to that:
https://jira.mongodb.org/browse/SERVER-48316
I'm running Ubuntu 12.04 64 bit
I'm trying to install the Nodeclipse plugin for eclipse, but I just can't get it to work (I tried yesterday as well).
error msg:
Missing requirement: Nodeclipse 0.9.0.201401030549 (org.nodeclipse.ui 0.9.0.201401030549) requires 'package org.nodeclipse.bundle.coffee 0.0.0' but it could not be found
I'm wondering if I messed up my Eclipse/Node/Nodeclipse setup some how?
this is what I did.
Eclipse I downloaded the latest tarbal from eclipse.org (64-bit kepler standard)
Then simply uncompressed it.
Installed openJDK (sudo apt-get)
I added in both CDT and Aptana without issue.
Downloaded latest Node from nodejs.org
Unzipped,
./configure
make
sudo make install
Tried to do:
npm install nodeclipse
but I didn't have permissions, so I adjusted them, sudo chown ...
npm install nodeclipse
npm install express
npm install coffee-script.
But I still cannot get the Nodeclipse plugin
Any ideas?
If you are trying to install 0.9.0, it looks like it had a bug that is resolved in 0.9.05:
http://dl.bintray.com/nodeclipse/nodeclipse/0.9.05/
I'm trying to get my hands dirty with Ubuntu and Eclipse. Going through manuals and online guides, I was able to install Ubuntu 13.04 and Eclipse Juno, but when I try to run Eclipse, it tells me that I need to install JRE first. I went ahead and tried the following (after consulting some more manuals):
sudo apt-get install openjdk-7-jre
but it ends up with an error telling about some missing dependencies. Same thing happens if I replace jre with jdk in the above command. I tried to install through Software Center too, but that results in the same error as well; graphical version though :).
EDIT
Here is the exact error message (when installing through Software Center:
The following packages have unmet dependencies:
openjdk-7-jre:
Depends: openjdk-7-jre-headless (= 7u25-2.3.10-1ubuntu0.13.04.2) but 7u25-2.3.10-1ubuntu0.13.04.2 is to be installed
Depends: libgif4 (>= 4.1.4) but it is not going to be installed
Depends: libjpeg8 (>= 8c) but 8c-2ubuntu7 is to be installed
Depends: libpulse0 (>= 1:0.99.1) but 1:3.0-0ubuntu6 is to be installed
Depends: libatk-wrapper-java-jni (>= 0.30.4-0ubuntu2) but it is not going to be installed
Interestingly, Ubuntu acknowledges this to be a problem and asks me whether I want to report it. Secondly, as evident from apt-get manual, Software Center should installs all dependencies automatically.
when i do
apt-get install scala
The following packages have unmet dependencies. scala: Depends:
libjansi-java but it is not installable E: Broken packages
Though when I do apt-cache show scala I get
Architecture: all Version: 2.7.7.dfsg-4ubuntu1 Depends: scala-library
(= 2.7.7.dfsg-4ubuntu1), openjdk-6-jre | java6-runtime Filename:
pool/universe/s/scala/scala_2.7.7.dfsg-4ubuntu1_all.deb
That seems a very very old Scala included in the default repository.
Follow these instructions to install the Typesafe Stack with all the goodies. This is the official distribution of Scala and related tools.
You could try:
sudo apt-get -f install
without any package names
scala : Depends: libjansi-java but it is not installed
If you recently installed Scala and Java Background Processing is running wait for some time 10-20 mints and use
sudo apt-get update
and after this time interval you can try to install whatever you wanted this dependency issue resolve automatically. its works