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.
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'm trying to upgrade my Ubuntu from 16.04 to 18.04, while doing
sudo apt update
&
sudo apt upgrade
and keep getting
The following packages have been kept back: GCC-6-base
I tried to install, upgrade and remove this package but keep getting
The following packages have unmet dependencies: libgail-common:
Depends: libgail18 (= 2.24.30-1ubuntu1.16.04.2) but it is not going to
be installed libgcc1: Depends: GCC-6-base (= 6.0.1-0ubuntu1) but
6.3.0-21ubuntu1~16.04.york0 is to be installed libwxgtk3.0-0v5: Depends: libgl1-mesa-glx but it is not going to be installed or
libgl1
Depends: libgtk2.0-0 (>= 2.24.0) but it is not going to be installed E: Error, pkgProblemResolver:: Resolve generated breaks,
this may be caused by held packages.
I am trying to install Postgres 10 on ubuntu 17.04 but i am getting this error
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-10 : Depends: postgresql-client-10 but it is not going to be installed
Depends: libicu60 (>= 60.1-1~) but it is not installable
Depends: libpq5 (>= 9.3~) but it is not going to be installed
Depends: libssl1.1 (>= 1.1.0) but it is not installable
Recommends: sysstat but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The thing is I've googled it and only found a few, the only solution that i got is to upgrade my ubuntu which i don't have the permission to do.
Is there any way to get around this issue?
I have followed this http://code.google.com/p/bigbluebutton/wiki/081InstallationUbuntu#Installing_BigBlueButton_0.81 link to install bigbluebutton. But when I give sudo apt-get install bigbluebutton I have encounter this error.
The following packages have unmet dependencies:
bigbluebutton : Depends: bbb-config but it is not going to be installed
Depends: red5 but it is not going to be installed
Depends: bbb-common but it is not going to be installed
ruby1.9.2 : Depends: libffi5 but it is not installable
Depends: libyaml-0-2 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)
I cant solve this error. Can please anyone help me.
There is no support for Ubuntu 13.04 for BigBlueButton. I am the developer of the Ubuntu packages, and I can share with you that as part of the next release (after 0.81), we'll be upgrading the packaging for Ubuntu 12.04 64-bit.
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!