LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apt-get dependency problems with alternative package (https://www.linuxquestions.org/questions/debian-26/apt-get-dependency-problems-with-alternative-package-329282/)

Frits of waterplant 06-01-2005 03:16 PM

apt-get dependency problems with alternative package
 
Hi,

the thing is, I needed a package to run opera plugins (openmotif). I got this package from the net, but it depends on another package (xlib6g). This package is not available, but apt-get mentions some alternatives. I have installed one of them, and then openmotif. My opera plugins work just fine, so problem solved.

I thought.

Now apt-get mentions the missing dependency of xlib6g every time I try to use it. Apparently, an alternative is no solution for the dependency. So now I want to tell apt-get not to bug me with this, because I have the alternative, and it works just fine. I tried looking in /var/lib/apt/lists/* but I suspect these files are overwritten every time I apt-get update. So if I modified something there, it would be lost then.

How do I solve this?

Ice9 06-01-2005 03:32 PM

Have you tried running:
apt-get --fix-broken
or apt-get --fix-missing
?

Frits of waterplant 06-01-2005 03:40 PM

I suspected something like this, and so it does:

I tries to remove openmotif, since according to apt it's broken. Which it aint.

kiezeltje:/home/dick# apt-get -fix-broken install
E: Command line option 'i' [from -fix-broken] is not known.
kiezeltje:/home/dick# apt-get --fix-broken install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
openmotif
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 3449kB disk space will be freed.
Do you want to continue? [Y/n]

craigevil 06-01-2005 04:45 PM

Take a look here for xlib6g:
apt-get.org: Unofficial APT repositories - package search
http://www1.apt-get.org/search.php?q...arch%5B%5D=all


All times are GMT -5. The time now is 05:39 AM.