+2
Fixed

Solution for installing on Ubuntu 12.04

Pablo Albornoz 11 years ago updated by Eugene Pankov (Project coordinator) 10 years ago 5

I had the following issues trying to issues trying to install Ajenti on Ubuntu 12.04 LTS


apt-get install ajenti failed: python-request wouldn't install. 

I solved it first removing the Ajenti repo line from /etc/apt/sources.list then updating apt with apt-get update and installing python-request. Then I re-added the repo line and installed Ajenti with apt-get install ajenti.


service ajenti restart failed: service ajenti not found.

I solved it giving executable permission to the ajenti file in /etc/init.d/

There's also a bug where the ajenti init file is not created properly.


I still have issues with Ajenti in 12.04 but I will let those two here if someone is having the same problems.

Answer

Answer
Fixed

I have separated Debian and Ubuntu repositories, so Ubuntu users should not have troubles with python-requests installation anymore.

Thanks for the post! This solved the python-requests problem for me.


/etc/init.d/ajenti did have executable permissions for me. However, my first attempt at logging in gave me a blank page - apt-get purge ajunti && apt-get install ajunti fixed the problem for me.

Answer
Fixed

I have separated Debian and Ubuntu repositories, so Ubuntu users should not have troubles with python-requests installation anymore.

That didnt work for me Ubuntu 12,04 still getting python-requests_0.8.2-1_all.deb installed.

apt error:
ajenti : Depends: python-requests (>= 0.12.0) but 0.8.2-1 is to be installed

Fixed:
Install python-requests (0.12.x) or higher. Download from http://packages.ubuntu.com/qua...
and the dependencies python-urllib3 & python-six.

this problem easy fix with install synaptic pacage manager:

sudo apt-get install synaptic

then install ajenti:

sudo apt-get install ajenti

This is not a solution; a) synaptic depends on lots of GUI packages and b) synaptic does exactly same thing as apt-get