LinHES Forums http://forums.linhes.org/ |
|
Broken package dependencies using apt-get? http://forums.linhes.org/viewtopic.php?f=14&t=8687 |
Page 1 of 1 |
Author: | Suineko [ Fri Feb 24, 2006 12:59 pm ] |
Post subject: | Broken package dependencies using apt-get? |
So, I did an apt-get upgrade exim4 to get the latest version of exim, not quite realising that would upgrade my whole distribution. I now have this broken dependency: root@scoobysnack:/etc/apt/apt.conf.d# apt-get upgrade Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these. The following packages have unmet dependencies: xlibs-static-pic: Depends: xlibs-static-dev (= 4.3.0.dfsg.1-14sarge1) but 4.3.0.dfsg.1-10.1unichrome30.1 is installed E: Unmet dependencies. Try using -f. Now , I'm not sure I want to replace a unichrome specific library with a standardised one - does anyone know of a way around this? At the moment I'm unable to use apt-get at all, and I'd like to install courier Imap to serve mail. Any use of apt-get now dies around that dependency issue. Is there a knoppmyth specific source I should be using or something for the packages built for this distribution? Thanks ![]() Matt |
Author: | lordsnooty [ Tue Feb 28, 2006 7:38 am ] |
Post subject: | |
Oh, I got the same problem. I forget what I was installing now - new version of X? Anyway I'm now stuck with that broken dependency too. I guess you'd have to back out your changes to fix. I assume that this new version of xlibs-static-dev is only available in non-unichrome, so unless someone can point to the updated version, we're stuck. Could build the package from source, but that sounds very daunting. Anyway, I decided not to waste any more time on this, I'm waiting for new Knoppmyth with 0.19. A fresh install will clear this problem, and now I know to be v careful when doing an apt-get! BTW, I have an EPIA M10K too. |
Author: | Xsecrets [ Tue Feb 28, 2006 8:26 am ] |
Post subject: | |
just for future reference if you just want to upgrade one package you don't use the word upgrade. apt-get install packagename will upgrade that package to the latest version if you have done the apt-get update. apt-get upgrade blah anything here gets ignored tells apt to run a full system upgrade and upgrade any packages that are available to upgrade. |
Author: | crushinator [ Sun May 07, 2006 12:00 am ] |
Post subject: | Re: Broken package dependencies using apt-get? |
Suineko wrote: At the moment I'm unable to use apt-get at all...Any use of apt-get now dies around that dependency issue.
When I had this problem with R5B7, I was intending to perform a routine "apt-get update" but accidentally typed "apt-get upgrade" instead, which caused this same type of uproar about broken dependencies that disallowed any further "apt-get install" procedures. I fixed the problem using the approach in this post: http://www.linuxquestions.org/questions/showthread.php?t=160677 First: I did "apt-get install tightvncserver" and it gave me an error and suggested to do "apt-get -f install" to correct it. (I wanted to install the "tightvncserver" application.) Second, I did "apt-get -f install" which told me there was an error processing "/var/cache/apt/archives/xlibs-static-dev_4.3.0.dfsg.1-14sarge1_i386.deb" Third: I did "cd /var/cache/apt/archives" to change to that directory. Fourth: I did "dpkg -i --force-overwrite xlibs-static-dev_4.3.0.dfsg.1-14sarge1_i386.deb". I still got a ton of error messages that I do not understand. Fifth: I did "dpkg --configure -a" that did not end up with any error messages! Sixth: I did "apt-get install tightvncserver" and successfully installed my desired "tightvncserver" program. I don't understand the solution. I don't know what happened exactly. But now I can do "apt-get install" again! If anyone knows, please teach me about some of the technical details on what actually occurred, and whether there are any long-term adverse effects involved. Thanks. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |