question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ubuntu 16.04 unmet install dependencies

See original GitHub issue

I’m trying to install ajenti on 16.04 server. I started with a fresh install from snapshot as of March 31 and followed the instructions for installing on Ubuntu… However, it fails to install, complaining of python dependencies.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ajenti : Depends: python-support (>= 0.90.0) but it is not installable
          Depends: python-reconfigure (>= 0.1.46) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:8
  • Comments:44 (4 by maintainers)

github_iconTop GitHub Comments

38reactions
mechanocommented, Apr 28, 2016

I’ve put solution to the problem in the Ajenti installation page:

http://support.ajenti.org/topics/1121-installing-on-ubuntu/

After some try I’ve been able to install and made to work Ajenti on Ubuntu 16.04.

First downloaded and installed this:

wget http://launchpadlibrarian.net/109052632/python-support_1.0.15_all.deb
sudo dpkg -i python-support_1.0.15_all.deb

Now ajenti installs without errors:

sudo apt-get install ajenti

Ajenti starts and you can login, but there’s only an empty page, so next steps are needed.

Edit those files:

sudo vi /usr/lib/python2.7/dist-packages/socketio/handler.py
sudo vi /usr/lib/python2.7/dist-packages/socketio/transports.py

find this line in both files:

("Access-Control-Max-Age", 3600),

add double quotes:

("Access-Control-Max-Age", "3600"),

restart Ajenti:

sudo service ajenti restart

login again to the panel.

20reactions
gragiocommented, Apr 2, 2016

Download and install this http://launchpadlibrarian.net/109052632/python-support_1.0.15_all.deb Run sudo apt-get install ajenti

Read more comments on GitHub >

github_iconTop Results From Across the Web

apt - How do I resolve unmet dependencies after adding a PPA?
One of the most common causes of unmet dependencies are PPAs, especially when used to upgrade the existing package in Ubuntu repositories. To...
Read more >
How to Fix Unmet Dependencies Error on Ubuntu - Appuals.com
Method 1: Use the -f parameter · Method 2: Use Aptitude · Method 3: Make sure that the restricted and universe repositories are...
Read more >
How to Resolve Unmet Dependencies in Ubuntu - Fedingo
How to Resolve Unmet Dependencies in Ubuntu · 1. Use -f parameter · 2. Use aptitude · 3. Clear Package Database · 4....
Read more >
How to Fix Unmet Dependencies Error on Ubuntu - net2
Press Alt and F2 simultaneously and type in software-properties-gtk and press enter. Now in the Ubuntu Software tab, enable all the repositories (main, ......
Read more >
How To Fix Unmet Dependencies Error On Ubuntu - WebSetNet
Unmet Dependency means that the package you are trying to install is looking for “dependencies” that it cannot find in the current version....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found