Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-16-2008, 05:46 AM
|
#1
|
|
Member
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124
Rep:
|
installing mod_python on debian unstable
Hello,
I would like to install mod_python on my debian sid.
I have found the package called libapache2-mod-python, but it depends on python (>=2.5).
As far as I can see, the package called python in debian sid is stuck to version 2.4.4-6.
Anyway, I also have the packages python2.4 (2.4.5-1) and python2.5 (2.5.2-2) installed.
How can I install mod_python?
(other than installing from source)
Thank you.
|
|
|
|
07-16-2008, 07:00 AM
|
#2
|
|
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
|
Quote:
Originally Posted by guldo
As far as I can see, the package called python in debian sid is stuck to version 2.4.4-6.
Anyway, I also have the packages python2.4 (2.4.5-1) and python2.5 (2.5.2-2) installed.
|
http://packages.qa.debian.org/p/python-defaults.html
Quote:
Oldstable 2.3.5-2
Stable 2.4.4-2
Testing 2.5.2-1
Unstable 2.5.2-1
|
http://packages.qa.debian.org/p/python2.5.html
Quote:
Stable 2.5-5
Testing 2.5.2-6
Unstable 2.5.2-8
|
Looks like you shouldn't have a problem. As of today, mod_python is installable.
Last edited by nx5000; 07-16-2008 at 07:04 AM.
|
|
|
|
07-16-2008, 03:23 PM
|
#3
|
|
Member
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124
Original Poster
Rep:
|
Thank you very much nx5000, you're right.
I fixed my system and upgraded the python package, but...
I had a problem with python-fuse:
Code:
/var/cache/apt/archives/python-fuse_1%3a0.2-pre3-6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Now I have unmet dependencies, because python-fuse depends on python (<2.5)
How should I fix it?
Thanks.
Last edited by guldo; 07-16-2008 at 03:26 PM.
|
|
|
|
07-17-2008, 11:14 AM
|
#4
|
|
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
|
Quote:
Originally Posted by guldo
because python-fuse depends on python (<2.5)
|
Hum no
I have a list of uninstallable package in sid and there is not a single problem with this package or anything related to apache. A few problems with python but not what you are using.
Somehow I wonder if you are not mixing stable/unstable etc.. ?
Can you try this:
apt-cache policy python-fuse
And usually you should post the complete error messages, not the last lines. Here it doesn't mean anything, only because you said "unmet dep" that we can figure out which kind of problem you have.
Maybe also your list of repository (sources.list) is not correct?
Last edited by nx5000; 07-17-2008 at 11:16 AM.
|
|
|
|
07-17-2008, 02:28 PM
|
#5
|
|
Member
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124
Original Poster
Rep:
|
Thank you very much for your help
Code:
debian:~# LC_MESSAGES=POSIX apt-get -s upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
python-fuse: Depends: python (< 2.5) but 2.5.2-1 is installed
E: Unmet dependencies. Try using -f.
debian:~#
My current sources.list:
deb http://ftp.ch.debian.org/debian/ unstable main contrib non-free
deb http://www.debian-multimedia.org unstable main
deb http://http.us.debian.org/debian/ unstable main contrib non-free
Please notice I am on amd64.
I installed debian 64bit a few months ago with the net install, upgrading immediately to sid.
Code:
$ LC_MESSAGES=POSIX apt-cache policy python-fuse
python-fuse:
Installed: 1:0.2-pre3-4
Candidate: 1:0.2-pre3-6
Version table:
1:0.2-pre3-6 0
500 http://ftp.ch.debian.org unstable/main Packages
500 http://http.us.debian.org unstable/main Packages
*** 1:0.2-pre3-4 0
100 /var/lib/dpkg/status
$
|
|
|
|
07-18-2008, 06:48 AM
|
#6
|
|
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
|
A dependency is blocking everything, try
apt-get -f install
As it said.
Usually, follow the advice of apt-get, it's quite clever 
|
|
|
|
07-18-2008, 07:02 AM
|
#7
|
|
Member
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124
Original Poster
Rep:
|
Thank you for your suggestion.
I noticed that, but, you know, I was a bit worried about it...
I'll try asap.
Thanks a lot 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:21 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|