找不到软件包libapache2-mod-wsgi [英] Couldn't find package libapache2-mod-wsgi

查看:223
本文介绍了找不到软件包libapache2-mod-wsgi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Django开发了一个网站,现在它必须投入生产。这个我想用mod_wsgi和apache2。不幸的是,当运行下一个命令时,我收到错误'找不到包libapache2-mod-wsgi':

  sudo apt- get install libapache2-mod-wsgi 

我在ubuntu服务器kermic(9.10)上使用apache2。 p>

我还会输入sources.list:

  deb http: /archive.ubuntu.com/ubuntu karmic main 
deb http://security.ubuntu.com/ubuntu karmic-security main

有人知道问题是什么吗?

解决方案

在我的Ubuntu框中:

  apt-cache search libapache2-mod-wsgi 

  libapache2-mod-wsgi  - 适用于Apache 
的Python WSGI适配器模块

所以包是显然在那里。它位于Universe存储库中(根据程序包详细信息)。尝试使用

  sudo apt-get update 
更新您的包列表

然后再次运行

  sudo apt-get install libapache2-mod -wsgi 


I have developed a website in Django, and now it must go into production. This i want to do with mod_wsgi and apache2. Unfortunately i get the error 'Couldn't find package libapache2-mod-wsgi' when running the next command:

sudo apt-get install libapache2-mod-wsgi

I am using apache2 on ubuntu server kermic(9.10).

I will enter my sources.list also:

deb http://archive.ubuntu.com/ubuntu karmic main
deb http://security.ubuntu.com/ubuntu karmic-security main

Does somebody know what the problem is?

解决方案

On my Ubuntu box:

apt-cache search libapache2-mod-wsgi

says

libapache2-mod-wsgi - Python WSGI adapter module for Apache

So the package is obviously there. It's in the universe repository (as per package details). Try to update your package list with

sudo apt-get update

Then run again

sudo apt-get install libapache2-mod-wsgi

这篇关于找不到软件包libapache2-mod-wsgi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆