LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-11-2006, 01:43 AM   #1
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Rep: Reputation: 30
DEPENDENCY HELL *plz help*


First a little history:
About 3months ago when I still didn't have a clue about all those dependencies warnings I was hapilly adding new repos and installing packages which also updated dependencies. Such packages include: XGL from QUINNs repo, BMPx, ...
So it was not long after some odd problems started to appear. Like "gnome-core-devel" wouldnt install because the dependecies were newer than GNOME-CORE-dEVEL would work with and so on.
And so a month ago I decided to get rid of XGL,BMPx with the help of "debfoster" so that also the unneded packages were removed.
Everything went fine. So then I also uninstalled FGLRX driver which wasn't needed anymore. So I uninstalled it and did which was suppose to revert back to the mesa driver:
sudo apt-get install --reinstall libgl1-mesa
but here is the error I get now:
Code:
root@tomi:/usr/lib#apt-get install --reinstall libgl1-mesa
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed
  libgl1-mesa
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/162kB of archives.
After unpacking 500kB of additional disk space will be used.
(Reading database ... 103596 files and directories currently installed.)
Unpacking libgl1-mesa (from .../libgl1-mesa_6.4.1-0ubuntu8_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa_6.4.1-0ubuntu8_i386.deb (--unpack):
 error creating symbolic link `./usr/lib/libGL.so.1': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/libgl1-mesa_6.4.1-0ubuntu8_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
and I also tried:
root@tomi:/usr/lib# aptitude install -f libgl1-mesa
Code:
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages are unused and will be REMOVED:
  libglide3
The following NEW packages will be installed:
  libgl1-mesa
0 packages upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B/162kB of archives. After unpacking 365kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 103596 files and directories currently installed.)
Unpacking libgl1-mesa (from .../libgl1-mesa_6.4.1-0ubuntu8_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa_6.4.1-0ubuntu8_i386.deb (--unpack):
 error creating symbolic link `./usr/lib/libGL.so.1': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/libgl1-mesa_6.4.1-0ubuntu8_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of libglu1-mesa:
 libglu1-mesa depends on libgl1-mesa | libgl1; however:
  Package libgl1-mesa is not installed.
  Package libgl1 is not installed.
  Package libgl1-mesa which provides libgl1 is not installed.
dpkg: error processing libglu1-mesa (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libglu1-mesa
locate libGL.so.1
returns nothing

what can I do? I have a bunch of unresolved dependencies now. And they wont get fixed because LIBGL1-MESA isn't installed but LIBGL1-MESA also refusees to install. And I also can't install updates nor anyother software. So I tried doing:

apt-get install -f

but this is the error I get then:
Code:
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies...Done
The following extra packages will be installed:
  libgl1-mesa
The following NEW packages will be installed
  libgl1-mesa
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/162kB of archives.
After unpacking 500kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 103596 files and directories currently installed.)
Unpacking libgl1-mesa (from .../libgl1-mesa_6.4.1-0ubuntu8_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa_6.4.1-0ubuntu8_i386.deb (--unpack):
 error creating symbolic link `./usr/lib/libGL.so.1': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/libgl1-mesa_6.4.1-0ubuntu8_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Last edited by Ashrack; 10-16-2006 at 02:24 PM.
 
Old 10-12-2006, 09:44 AM   #2
sweetnsourbkr
Member
 
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167

Rep: Reputation: 30
Not sure if it's your prob, but do you always use sudo even though you're root?
 
Old 10-12-2006, 01:20 PM   #3
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
sometimes I forget that I already did
"sudo -s -H"
and thus I still type sudo!
But that doesnt effect anything with this problem.
So apperantly nobody has the answer to my problem? In that case thank god EDGY is in BETA and I will apperantly do a clean install earlier than I thought.
 
Old 10-12-2006, 01:28 PM   #4
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
Bad packaging is most likely your problem.. or who knows.
 
Old 10-12-2006, 05:52 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by sweetnsourbkr
Not sure if it's your prob, but do you always use sudo even though you're root?
Under the rare cases I'm logged in as root, I usually tend to put sudo in front the command out of habit.

But my question would be, why are you using sudo to become root? That's the whole point of sudo, so you don't have to be logged in as root. You might as well just login as root and bypass the sudo if that's what your doing to administer your box..
 
Old 10-16-2006, 02:25 PM   #6
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
Because Im so used to typing SUDO that even when I login as SUDO ROOT I still type it.

Anybody has any clues for this problem?
 
Old 10-16-2006, 05:19 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Quote:
Originally Posted by Ashrack
About 3months ago when I still didn't have a clue about all those dependencies warnings I was hapilly adding new repos ...
They were (of course) Ubuntu repos ???.
Mixing Debian and Ubuntu repos is generally no-no as they are not binary compatible. Unpredictable breakages - sound familiar ???.
Same will apply to Edgy I imagine.
 
Old 10-17-2006, 02:33 AM   #8
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
SYG00
Well the repos were made for UBUNTU and some for DEBIAN!
And trust me I learned my lesson about using non official repos!
But I would still like to fix this issue now!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dependency hell conanm4 SUSE / openSUSE 3 08-21-2006 12:53 PM
Dependency Hell Mithrilhall Linux - Newbie 5 04-28-2006 10:29 AM
Dependency Hell :-( AMMullan Linux - Software 5 03-27-2004 10:51 PM
Is this what they mean by dependency hell? john_walsh54 Linux - Software 1 10-10-2003 07:52 AM
Dependency Hell Time Lord Mandriva 2 09-09-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:33 PM.

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
Open Source Consulting | Domain Registration