Ubuntu Installation :: 11.04 Upgrade - Packages Have Unmet Dependencies
Apr 29, 2011
I am trying to upgrade to ubuntu 11.04 from my current 10.10 system. If I try to upgrade with Upgrade Manager it stops at calculating upgrade step and I can see red circle at top left corner, hovering over this gives message -
An unresolvable problem occurred while calculating the upgrade.
Please report this bug against the 'update-manager' package and include the following error message:
'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'
If I run
sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Failed
The following packages have unmet dependencies:
libappindicator1 : Depends: libdbusmenu-gtk3 but it is not going to be installed
Recommends: indicator-application (>= 0.2.93) but it is not going to be installed
overlay-scrollbar : Depends: liboverlay-scrollbar-0.1-0 but it is not going to be installed
python-aptdaemon-gtk : Depends: python-aptdaemon.gtk3widgets (= 0.41+bzr646-0ubuntu2) but it is not going to be installed
python-couchdb : Breaks: desktopcouch (< 1.0) but 0.6.9b-0ubuntu1 is to be installed
python-desktopcouch-records : Conflicts: desktopcouch (< 1.0.7-0ubuntu2) but 0.6.9b-0ubuntu1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
I have the following error in 10.04. I've tried several times to uninstall, resolve, install these dependencies and am at my wits end now. This morning I gave up on OpenJDK and installed Sun JDK, hence the sun versions below. But this error is stopping me from installing anything else.
Reading package lists... Done Building dependency tree Reading state information... Done You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies: default-jre-headless: Depends: openjdk-6-jre-headless (>= 6b14) but it is not going to be installed icedtea-6-jre-cacao: Depends: openjdk-6-jre-headless (= 6b18-1.8.2-4ubuntu2) but it is not going to be installed latexdraw: Depends: libjiu-java but it is not going to be installed Depends: libjlibeps-java but it is not going to be installed openjdk-6-jre: Depends: openjdk-6-jre-headless (>= 6b18-1.8.2-4ubuntu2) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
me@andromeda:~/private$ java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode) me@andromeda:~/private$ javac -version javac 1.6.0_22
So recently I've been exploring my options in terms of a desktop environment. trying out different options (Blackbox, Enlightenment ect..) and somehow in the process i managed to uninstall Gnome.
Normally I would just re-install it but whenever I try I get this:
Quote:
The following packages have unmet dependencies:
So I go through synaptic and it tells me, to install 'swfdec-mozilla' i need to uninstall 'epiphany-extensions' so I do that. and then the terminal gives me the same error as before.. only it say that 'epiphany-extensions' is not going to be installed.
I try to install git packages, when I type ./configure it gives me the error: Code: C compiler cannot create executable Search around, and I find a solution, install the g++ packages, simply type:
Code: apt-get install g++ But it gives me another error
Code: The following packages have unmet dependencies: G++ : Depends: g++-4.4 (>= 4.4.3-1) but it is not going to be installed E: Broken packages I also tried
Code: apt-get install build-essential But I get another error
Code: 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:4.3.1) but it is not going to be installed E: Broken packages
I have an issue with packages. When I try to install any package then I receive error like this one below. e.g. install Lynx:
Code: # apt-get -f install lynx Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libperl5.10: Depends: perl-base (= 5.10.0-19lenny3) but 5.10.0-19lenny2 is to be installed libsnmp15: Depends: libsnmp-base (>= 5.4.1~dfsg-12) but it is not going to be installed lynx: Depends: lynx-cur (>= 2.8.7dev9-2.1) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
So I decided to remove libperl5.10 which apparently mess. But its not that easy, just take a look:
Code: # apt-get --purge remove libperl5.10 Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libsnmp15: Depends: libsnmp-base (>= 5.4.1~dfsg-12) but it is not going to be installed Depends: libperl5.10 (>= 5.10.0) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). ...and now I don't know what to do ?
I am using Ubuntu 9.04. After doing sudo apt-get update When I try to insatll pidgin via terminal it shows: XXX@XXX-desktop:~$ sudo apt-get install pidgin 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: pidgin: Depends: libpurple0 (>= 1:2.6.0) but it is not going to be installed Depends: perl (>= 5.10.0-19ubuntu1.1) but 5.10.0-19ubuntu1 is to be installed E: Broken packages
I am attempting to setup an ftp server as a first project to get me going in the world of Linux however when I run the command apt-get install proftpd-basic ....
I am trying to upgrade a server I was put in charge of and keep running into a loop of errors.
uname -r 2.6.11.12
When I do apt-get -f install I get the error: WARNING: this version of the GNU libc requires kernel version 2.6.18 or later. upgrade your kernel before installing glibc.
Then when I try installing the kernel I get the error: You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies
I have tried installing gammu-smsd on both hardy and jaunty... this is the error I'm getting... Quote: The following packages have unmet dependencies: gammu-smsd: Depends: libgsmsd7 but it is not going to be installed Depends: libpq5 (>= 8.4~0cvs2009032 but 8.3.9-0ubuntu9.04 is to be installed E: Broken packages radio@SMSgateway:~$
I have tried looking for both of these packages individually but to my suprise no luck!! And when I google such error messages, nothing comes up.. I'm almost into tears..I just wish I knew what to do to begin troubleshooting and or my options at this point for making this work... some of my referenced articles: [URL]
I have just newly installed Ubuntu10.10 on my laptop and am attempting to install VirtualBox 3.2.10. Everything has been going fine until I run the apt-get install command. The results are as follows:
I am trying to install this software: [URL] .... on jessie.
I have copied lib/libIsles64.a into lib/libIsles.a and done
Code: Select all sudo make cleanall
from the main folder. When I write
Code: Select allsudo make
I receive the error
In file included from src/Interface/neBEMinterface.c:20:0: include/Isles.h:14:29: fatal error: gsl/gsl_complex.h: No such file or directory compilation terminated.
I am running a video script on my server and I am very new to running a dedicated server and commands. Most of our site was setup but other and someone has broke something and no one seems to know how to fix.
Here is the issue. We run a script that uses these requirements
[Mod edit]Adult content Link removed
requirements
Now our server guy ran a update inside webmin for debian and now our videos still convert but wont make thumbs. Here is what he did.
Now updating libsmbclient ..
Now the AVS script wont make thumbs and webmin still wants to do 3 more updates that get unmet dependencies errors. Here they are when we try to run another update.
Building complete list of updates ..
Now what we need to do is either undo the update he already did or maybe get the one its asking for now to work but not sure which one will fix our thumb generating problem? Here is the error in the log file of the AVS script.
I just finished upgrading the last of 3 machines from F10 to F12 using preupgrade (all i686). Except for a non-critical hplip issue, all went well with the first two machines upgraded 1 week and 3 days ago, but some python F10->F12 updates were missing on the third machine that I upgraded yesterday, leaving yum inoperable. Thanks to good yum error messages, I was able to resolve the problem (I think), but I thought I should post to check if mine is a unique or common problem, to enquire if it may have resulted from some of the python packages being in "update transit" in the repositories, and/or whether something like this can be avoided in future? Details follow:
Upgrade appeared to go well except for some dejavu font dependency issues (experienced on all three machines) and libcrypto.so.7 missing for eet-1.2.2-4... (third machine). However, there was a boot message that some python module (can't remember which) was not present for some nvidia requirement, although video driver worked fine. When testing yum: First it complained that libpython2.6.so.1.0 was not present. Since that module conflicted (identified by rpm) with various python 2.5.*f10 packages that that were still on board, I copied libpython2.6.so.1.0 (from a current f12 rpm) into /usr/lib manually. Second, yum complained that urlgrabber was not available, so rpm with the latest python-urlgrabber for f12 solved that.
Third, yum complained that pycurl was not available, so rpm with the latest python-pycurl solved that. Yum now works! and boot message is gone! I ran "yum install python-libs" to make sure that any necessary dependencies were met following my manual installation of libpython2.6.so.1.0, which resulted in a bunch of python dependencies being upgraded as a result.
I'd like to update /etc/apt/sources.list with all the packages available on packages.debian.org and packages.ubuntu.com without apt-get, aptitude, and synaptic then trashing my system by trying to update all the obsolete packages. (I'm stuck with 8.04) I only want to update the packages / install new ones with their dependencies as I request them. How do I do that?
going through synaptic and noticed that a ton of packages are marked as being manually installed when they most definitly did NOT installed them, is there a command i can use to reset all the dependencies?
i want to install package say PHP5 i have all the dependencies packages of php5 in a folder.or say i have all the packages in a folder and i want to install using dpkg
but when i try to install the main package it say these dependencies are missing.there are more than 40-50 packages so its not possible to install manully first one package and then another.eg:
Code: bhupinder packages # dpkg -i apache2_2.2.17-1ubuntu1_i386.deb (Reading database ... 140101 files and directories currently installed.) Preparing to replace apache2 2.2.17-1ubuntu1 (using apache2_2.2.17-1ubuntu1_i386.deb) ... Unpacking replacement apache2 ...
[Code]...
now i have to install rest of the package manually ...is there any solution so that i can install it with single command...???
I've been trying all morning to update from a working 9.10 to 10.04 and unfortunately every time I try it blocks me.
An unresolvable problem occurred while calculating the upgrade: E:Unable to correct problems, you have held broken packages.
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.
A couple of days ago, I upgraded my Kubuntu to Lucid. In this phase, the system reported that it was impossible to upgrade samba-common, and the installation aborted on 90%. Nevertheless everything is working but KPakageKit, which reports: "There are broken dependecies on your system. Please use an advanced package manage e.g. Synaptic or aptitude to resolve this situation."
Neither "sudo aptitude safe-upgrade" nor "sudo apt-get -f install" solved the problem: omen@darkstar:~$ sudo aptitude safe-upgrade [..]: samba-common kubuntu-desktop .....
I am currently trying to upgrade over 100 rpms on multiple Red Hat servers. Whenever I try to do a rpm -u /packages/*.rpm i recieve a failed dependencies error on the very first rpm. I know that I can go though each rpm one by one and trace each dependency but that will take forever. Is there a way to skip these errors? I know the -nodeps command for rpm but I dont want to screw something up but running all of these rpms on -nodeps
i'm can't install the g++ compiler. I've got the packages to install with the command "dpkg -i xxxx.deb", but i see a cross dependence between g++-4.3 and libstdc++6-4.3-dev. Or am I missing something?
I want to remove Evolution and install Thunderbird. I have a general question. WRT any given package, how can I determine if that package is required by any other packages so that I wouldn't want to remove it?
I have compiled FFMPEG (and also mplayer and x264) from scratch to always run the latest version. I install ffmpeg using "checkinstall". When compiling FFMPEG manual and installing with checkinstall ffmpeg provides the following libraries: libavutil49, libavcodec52, libavdevice52, libavformat52, libavfilter0, libpostproc51, libswscale0
These can NOT be installed via apt-get (or similar) or the checkinstall will fail. So I have not installed them. The problem now is when I need to install a package (.dep or from Synaptic) that requires one of these a prerequisite. Then it is not "registered" by Synaptic that these are already provided through the FFMPEG build. I have tried to use the --provides flag on checkinstall and I can also see in Synaptic that on the ffmpeg package I installed with checkinstall that it says it provides said packages. I even have tried to modify the checkinstall script and add:
This also triggers Synaptic to list that ffmpeg replaces the packages. But still when I try to install anything that needs these packages it is not recongnized that they are provided by FFMPEG and when I install one of them (e.g. apt-get install libavformat52) then it replaces the FFMPEG library and FFMPEG stops working. So what is going wrong? Is this a bug in Synaptic? How is it possible under ubuntu to install manual compiled packages and have them "act" as correct dependencies for others?
I have a computer with 128 ko of RAM (a very old one). I installed yesterday ubuntu 8 because ubuntu 9 requires 512 ko of RAM and was very slow. Now, I have problems to update packages and to install every thing. I changed the sources.list because it seems that links are no more available according to the error messages. (I have put many adresses for ubuntu 9 because I think the kernel is the same not as the kernel for ubuntu 10). But new problems have occurred like "broken dependencies". Now I want to correct, and I don't know how? I'm still a beginner with this OS.
seems like after a recent upgrade of stretch, i get a message (in italian)
Code: Select all $ sudo apt-get install kde-full Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze Lettura informazioni sullo stato... Fatto Alcuni pacchetti non possono essere installati. Questo può voler dire che è stata richiesta una situazione impossibile oppure, se si sta usando una distribuzione in sviluppo, che alcuni pacchetti richiesti non sono ancora stati creati o sono stati rimossi da Incoming. Le seguenti informazioni possono aiutare a risolvere la situazione:
I'm hitting my head against the wall trying to figure out (and find any information on) how to download a package and all its dependencies.I've tried to clean the cache,$ sudo apt-get clean and then download a package and its depednencies,but it doesn't download dependencies that are already installed.I need to do this to install a package on a machine that doesn't see the net.I remember doing this somehow ages ago, and I think I might have even combined the package and its dependencies into a single self-contained .deb using dpkg.
I'm trying to install the driver for my printer, from a repo at Kyoto University. Did it before on other distros (Etch, Lenny,...). One of the three packages has an unmet dependency, libcupsys2-gntls..... (or something- doesn't matter, it's long gone). I expected to be able to use the -d option in apt-get to download it, and unpack it by hand, and place the vital parts in the right positions manually. Done that before, somehow, not necessarily this way. But apt-get won't let me download it, because of the unmet dependency.
Is apt-get really that stupid? If I only want to download it, why does it matter if there is an unmet (and, these days, unmeetable) dependency? Could I download it some other way? I've looked at Aptitude, and can't make head nor tail of it. Synaptic? Have I got the command right? #apt-get -d install package. EDIT: Tried #apt-get install -d package. Also apt-get --download-only --force-yes package. Or I could be really subversive, and copy the two essential files across from my Puppy system. Puppy didn't notice that this lib was missing, just got on with it. Funny old world, isn't it?