LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2006, 08:20 AM   #1
Richard Rahl
Member
 
Registered: Aug 2006
Location: Cape Breton, D'Hara
Distribution: Ubuntu, Redhat
Posts: 83

Rep: Reputation: 15
Dependency Errors - A Question I imagine most newbies need help with.


Hey all,

Often, when installing/updating software, I will get numerous messages about "Dependency Errors" which usually want me to add or remove things to resolve them, but I'm never sure exactly what to do, sometimes doing what is recommened just causes more errors.

What exactly is a 'dependancy error' and what is the general method for resolving them?

Thanks!
 
Old 08-09-2006, 09:04 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Hello,

A dependancy is a software you need to run another one (a 3D game will need an openGL implementation which will need some 3D card drivers).
A dependancy error occurs when you have a software which has not all the dependencies it needs (bad version of dependencies or lack of dependencies). (you try to run a game but you do not have the openGL library or no 3D card driver is installed -> this is a dependency error).

The best method is to use a package manager that handles dependencies for you. For instance apt-get (the best one) or urpmi. I don't know if Yast and Yum handle dependencies, but I think so.

The package manager checks your system, and add/upgrade the dependencies you need when you install a program and there are no errors.
When you install the game with the package manager, it detects that openGL is present or missing and if missing, it installs it along.

Installing all the dependencies by hand can be as time-consuming as installing LFS sometimes.

Last edited by Agrouf; 08-09-2006 at 09:24 AM.
 
Old 08-09-2006, 01:01 PM   #3
Xena
Member
 
Registered: Nov 2005
Posts: 84

Rep: Reputation: 15
Might want to check out, eg., rpmfind.net, which lists the dependancies needed for various packages. Then you can install the dependant packages. Of course, that assumes you use rpms. Failing that, there must be some kind of package manager that comes with your distribution, which ought to handle that kind of thing.
 
Old 08-09-2006, 01:12 PM   #4
Richard Rahl
Member
 
Registered: Aug 2006
Location: Cape Breton, D'Hara
Distribution: Ubuntu, Redhat
Posts: 83

Original Poster
Rep: Reputation: 15
Cool, thanks!

I use openSUSE, and yes, Yast does often warn me about dependency's but whatever it tries to do too resolve them doesn't quite always seem to work, big example being ndiswrapper.
 
Old 08-09-2006, 05:12 PM   #5
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
I may be wrong, but I've heard about some problems with openSUSE 10.1
It looks like Novell has messed up the updating system and a lot of inconsistancies are there. It looks like it is better to stick to openSUSE 10
You may find this thread interesting :
http://www.linuxquestions.org/questi...d.php?t=464213

I've found the best distro for package management is still debian, although openSUSE is an excellent distro on many other points.

Last edited by Agrouf; 08-09-2006 at 05:14 PM.
 
Old 08-10-2006, 07:37 AM   #6
Richard Rahl
Member
 
Registered: Aug 2006
Location: Cape Breton, D'Hara
Distribution: Ubuntu, Redhat
Posts: 83

Original Poster
Rep: Reputation: 15
Since I added the SuSE and other sites referenced on the 'hacking suse guide', and turned off update from the CD, I haven't gotten any errors, or they've all fixed themselves. Might be a good tip for others with the similar problem!
 
  


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
RPM Dependency Errors on 10.0 Tim Johnson Slackware 5 09-01-2005 11:22 AM
rpm dependency errors hoover93 Linux - Software 1 05-19-2005 08:05 PM
KDE 3.2 dependency errors svarreby Fedora 3 02-16-2004 02:00 PM
Stupid Dependency Errors! KDE 3.2 gamehack Debian 1 01-27-2004 01:41 PM
Dependency errors and burn issues Stephanie Linux - General 3 06-14-2001 10:24 AM


All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration