LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-20-2006, 10:11 PM   #1
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Rep: Reputation: 30
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.

Thanks.
 
Old 05-20-2006, 10:32 PM   #2
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Rep: Reputation: 30
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

Last edited by evilmonkey; 05-20-2006 at 10:36 PM.
 
Old 05-20-2006, 11:27 PM   #3
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Original Poster
Rep: Reputation: 30
-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:
Code:
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: libmp3lame.so.0 but it is not installable
  kaffeine: Depends: libxine1 (>= 1) but it is not installable
            Depends: libgstinterfaces-0.8.so.0
            Depends: libgstreamer-0.8.so.1
            Depends: libmp3lame.so.0 but it is not installable
            Depends: libxine.so.1
E: Unmet dependencies. Try using --fix-broken.
Any ideas?
 
Old 05-20-2006, 11:54 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
If your trying to install Mplayer and the codecs head over to pacman and grab the rpm from his site. It works just fine.
 
Old 05-21-2006, 12:01 AM   #5
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Original Poster
Rep: Reputation: 30
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.
 
Old 05-23-2006, 06:59 PM   #6
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Original Poster
Rep: Reputation: 30
Bump. Still haven't figured it out.
 
Old 05-23-2006, 08:03 PM   #7
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
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.
 
Old 05-23-2006, 08:08 PM   #8
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DPKG, please ignore dependencies... lectraplayer Debian 6 05-31-2007 09:56 AM
how to make apt-get ignore errors or dependencies? hisnumber666 Linux - Software 5 05-03-2006 07:01 PM
apt-get and dependencies FWSquatch Debian 8 02-02-2006 07:42 PM
How to ignore a dependencie when apt-getting a soft ? Stéphane Ascoët Debian 1 10-23-2004 12:09 PM
Which program help ignore rpm dependencies Mojojo Linux - Software 2 06-16-2003 04:56 AM


All times are GMT -5. The time now is 12:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration