Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-30-2011, 05:35 AM   #1
Felipe Boeira
LQ Newbie
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Python Dependency DPKG

Dear all,
I am trying to install the virtual box deb but it has some dependencies. One of them is libpython2.7, which requires python 2.7. So, I compiled python 2.7 with:

./configure --prefix=/opt/python/
make && make install

Then, I do 'dpkg -i libpython2.7_2.7.1-5ubuntu2_i386.deb' and get the following:

libpython2.7 depends on python2.7 (= 2.7.1-5ubuntu2); however:
Package python2.7 is not installed.

I tried adding Python's bin folder to the PATH variable and creating a symlink to /usr/bin/python as well. Does anyone have some hints?

OS: Ubuntu 11.04

Thanks in advance.
Old 12-31-2011, 04:34 AM   #2
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Hi and welcome to LQ!
I'm not sure why you compiled python rather than installing the python 2.7 package. I also don't know why you used dpkg to install a package rather than using a regular package manager which takes care of things like dependencies. There are gui's or cli's like aptitude or apt-get that will do the job.


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 can't remove a package, dependency problems AncientPC Linux - Newbie 6 05-14-2010 03:45 PM
Can 'dpkg -i' resolve dependency issue automatically? Akhran Debian 13 01-04-2010 09:54 PM
dpkg dependency problems recif Debian 2 08-05-2008 06:28 AM
dpkg dependency issue tdemers Linux - Software 2 02-10-2007 11:54 PM
dpkg dependency problems gandhi Debian 3 03-19-2005 02:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 PM.

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