Ubuntu Server 17.04 unable to locate package libapache2-svn

Been trying to install libapache2-svn for hours using the command sudo apt-get install libapache2-svn but no luck it gives me the error (unable to locate package libapache2-svn) over and over again.
I've tried updating the ubuntu server many times but still gives the same error.

Thanks in advance.

P.S if libapache2-svn repository is not available for 17.04 is there a way to install it then for 17.04?

4

5 Answers

I don't know about 17.04, but in 18.04, the package is called libapache2-mod-svn

Please check and make sure these trusty-updates and trusty-updates are enabled in your system settings like the image below:

enter image description here

See my out when I search for it:

george@george-VirtualBox:~$ apt search libapache2-svn
Sorting... Done
Full Text Search... Done
libapache2-svn/trusty-updates,trusty-security 1.8.8-1ubuntu3.2 all Apache Subversion server modules for Apache httpd (dummy package)
2

libapache2-svn is just a dummy package for installing Apache Subversion server modules for Apache httpd (libapache2-mod-svn). libapache2-svn is not available in the 17.04 repositories, but you don't need to install this dummy package, install libapache2-mod-svn without installing the dummy package instead.

In all currently supported versions of Ubuntu open the terminal and type:

sudo apt install libapache2-mod-svn

Try editing the /etc/apt/sources.list file for the "http://" with "ftp://" and then run sudo apt-get update and then sudo apt-cache search subversion if results are found then proceed installation with sudo apt-get install subversion or else run sudo apt-cache search libapache2-svn then if results are found here then do a sudo apt-cache install libapache2-svn.

2

Make sure you have enabled Ubuntu repositories:

sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository restricted
sudo add-apt-repository multiverse 

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like