Search code examples
djangoapache2mod-wsgiapt

Couldn't find package 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?


Solution

  • 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