Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I get the following error when installing libapache2-svn on ubuntu 9.04.

root@....:~/install_scripts# apt-get install libapache2-svn
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libapache2-svn
root@......:~/install_scripts#

This is my /etc/apt/sources.list

deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

contents of /etc/lsb-release

root@....:~/install_scripts# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"

I tried replacing "hardy" by "jaunty" in /etc/apt/sources.list but it did not work (I am confused with this karma/hardy/jaunty/kaola etc. thing in ubuntu).

Please tell me the fix if you know.

thanks

JP


Note: subversion and many other software installed fine:

root@....:~/install_scripts# apt-get install subversion
Reading package lists... Done
Building dependency tree
Reading state information... Done
subversion is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
share|improve this question
1  
Try to update your list using: "sudo apt-get update". –  Khaled Dec 4 '10 at 7:57

1 Answer 1

up vote 0 down vote accepted

Solved:

The "hardy" in /etc/apt/sources.list definitely needed to be "jaunty". Also, I had to do

apt-get update; 
apt-get upgrade;

for the changes to be affected.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.