Recursive Dependencies -- Help Needed!

  • Dubya
  • Proficient
  • Proficient
  • User avatar
  • Posts: 468

Post 3+ Months Ago

I've been using Ubuntu Linux exclusively for the past week now, and so far I'm loving it. But now I seem to have run into a problem with no solution. But then again, I'm a newbie, so it may be an easy thing to fix.

I wanted to install NVU, a WYSIWYG html editor for Linux, but it required the xlibs devel package. So I got that package from ubuntu's site, and I was in the process of installing all of its many dependencies, when I came upon a dependance, or rather a recursive dependency.

I start to install libx11-dev, and it tells me I need libxi-dev first. Ok, no problem. I download libxi-dev and it tells me I need libx11-dev. It seems rather strange to me that two programs could be dependent upon each other. Is there some way I can install them simultaneously? I mean, I'm really at a loss for what to do. Here's the exact text I saw when I tried to install each dependency.

Code: [ Select ]
david@mshome:~/Desktop/xlibs$ sudo dpkg -i libx11-dev_6.8.2-10.1_i386.deb
(Reading database ... 63676 files and directories currently installed.)
Preparing to replace libx11-dev 6.8.2-10.1 (using libx11-dev_6.8.2-10.1_i386.deb) ...
Unpacking replacement libx11-dev ...
dpkg: dependency problems prevent configuration of libx11-dev:
libx11-dev depends on libxi-dev; however:
 Package libxi-dev is not configured yet.
dpkg: error processing libx11-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libx11-dev
  1. david@mshome:~/Desktop/xlibs$ sudo dpkg -i libx11-dev_6.8.2-10.1_i386.deb
  2. (Reading database ... 63676 files and directories currently installed.)
  3. Preparing to replace libx11-dev 6.8.2-10.1 (using libx11-dev_6.8.2-10.1_i386.deb) ...
  4. Unpacking replacement libx11-dev ...
  5. dpkg: dependency problems prevent configuration of libx11-dev:
  6. libx11-dev depends on libxi-dev; however:
  7.  Package libxi-dev is not configured yet.
  8. dpkg: error processing libx11-dev (--install):
  9. dependency problems - leaving unconfigured
  10. Errors were encountered while processing:
  11. libx11-dev


Code: [ Select ]
david@mshome:~/Desktop/xlibs$ sudo dpkg -i libxi-dev_6.8.2-10.1_i386.deb
(Reading database ... 63676 files and directories currently installed.)
Preparing to replace libxi-dev 6.8.2-10.1 (using libxi-dev_6.8.2-10.1_i386.deb) ...
Unpacking replacement libxi-dev ...
dpkg: dependency problems prevent configuration of libxi-dev:
libxi-dev depends on libx11-dev; however:
 Package libx11-dev is not configured yet.
dpkg: error processing libxi-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libxi-dev
david@mshome:~/Desktop/xlibs$ ls
  1. david@mshome:~/Desktop/xlibs$ sudo dpkg -i libxi-dev_6.8.2-10.1_i386.deb
  2. (Reading database ... 63676 files and directories currently installed.)
  3. Preparing to replace libxi-dev 6.8.2-10.1 (using libxi-dev_6.8.2-10.1_i386.deb) ...
  4. Unpacking replacement libxi-dev ...
  5. dpkg: dependency problems prevent configuration of libxi-dev:
  6. libxi-dev depends on libx11-dev; however:
  7.  Package libx11-dev is not configured yet.
  8. dpkg: error processing libxi-dev (--install):
  9. dependency problems - leaving unconfigured
  10. Errors were encountered while processing:
  11. libxi-dev
  12. david@mshome:~/Desktop/xlibs$ ls
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

did you try installing them simultaneously? i know you can do this with rpm's but ubuntu never liked my pc much so i never liked it much so i've spent about a total of 5-6 hrs in it :] but i'd assume the command would just be:
Code: [ Select ]
sudo dpkg -i libx11-dev_6.8.2-10.1_i386.deb libxi-dev_6.8.2-10.1_i386.deb
  • Enjoi_Panda_Man
  • Graduate
  • Graduate
  • Enjoi_Panda_Man
  • Posts: 166
  • Loc: TX

Post 3+ Months Ago

why not do an apt-get? it takes care of all the dependencies for you. im guessing when you install ubuntu by default you only have access to the stable repository fix this by going to /etc/apt there is a file in there where websites apt checks is stored. whatever the default url is type it exactly in a line below but replace stable with unstable. the unstable repository gives you access to more up to date files and just a lot more things you wouldnt normaly have access to in the stable repository. im telling you this just incase the apps your looking for arent in the stable repository.

apt-get update = to encorperate the unstable repository

apt-cache search app_name = to make sure you get the exact name of the app your looking for as it is stored in the repository

apt-get install app_name_in_repository = to install the app you want including all dependencies if any.

if you need me to clarify anything just ask

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 34 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.