-   Linux - Software (
-   -   Ignore apt-get dependencies? (

pdeman2 05-20-2006 10:11 PM

Ignore apt-get dependencies?
I know it is possible to sort of spoof the existence of packages with the apt.conf, but is it at all possible to ignore all dependencies?

Alternatively, how can I manually edit the list of installed packages?

See, my situation, I installed video codecs and stuff in SUSE, but APT will not recognize them. Whenever I try to update or install software, it tells me that these things aren't installed and I need to remove xine and some other things.


evilmonkey 05-20-2006 10:32 PM

apt-get install (app) -f
apt-get install (app) --nodeps
apt-get install (app) --ignore-missing (or ignore-depends, don't recall)

Use at own risk ;)

pdeman2 05-20-2006 11:27 PM

-f just seems to want to fix the dependency issues, this is not what I want. Apt-get wouldn't recognize --nodeps. Lastly, --ignore-missing got my hopes up, but it has exactly the same output as doing a regular install or upgrade.

What I said about it wanting to remove xine isn't entirely accurate. Here is the exact output of apt-get upgrade:

linux:/home/pdeman2 # apt-get upgrade --ignore-missing
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get --fix-broken install' to correct these.
The following packages have unmet dependencies:
  MPlayer: Depends: w32codec-all but it is not installable
          Depends: but it is not installable
  kaffeine: Depends: libxine1 (>= 1) but it is not installable
            Depends: but it is not installable
E: Unmet dependencies. Try using --fix-broken.

Any ideas?

craigevil 05-20-2006 11:54 PM

If your trying to install Mplayer and the codecs head over to pacman and grab the rpm from his site. It works just fine.

pdeman2 05-21-2006 12:01 AM

I already have Mplayer and all the codecs. All my video stuff works fine. I use the Mplayer plugin for Firefox and Kaffeine with Xine for everything else. Everything that is on that list of items that must be installed is already installed.

pdeman2 05-23-2006 06:59 PM

Bump. Still haven't figured it out.

Emerson 05-23-2006 08:03 PM

Last time I tried this it wasn't possible without creating fake packages. I was running Debian then and it was the prime reason why I switched to Gentoo. Sorry for not answering your question, good luck.

pdeman2 05-23-2006 08:08 PM

Yep, I've heard of many people switching to Gentoo just because of this. I'm using APT on SUSE though, the only reason I'm using it is because the SUSE developers haven't fixed the package management system yet. Once they do, I can ignore dependencies if I want. The problem is, since I can't get updates with APT, the SUSE package management can't get updated when they fix it.

All times are GMT -5. The time now is 10:23 PM.