LXC-Web-Panel icon indicating copy to clipboard operation
LXC-Web-Panel copied to clipboard

Unable to locate package lwp on ubuntu 16.04

Open plainas opened this issue 7 years ago • 2 comments

This was already mentioned in other #112 and #113, but I am opening this to track progress on ubuntu 16.04 which is has LTS.

root@rock ~# cat /etc/issue 
Ubuntu 16.04.1 LTS \n \l

root@rock ~# curl -s https://packagecloud.io/install/repositories/claudyus/LXC-Web-Panel/script.deb.sh | sudo bash
Detected operating system as Ubuntu/xenial.
Checking for curl...
Detected curl...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/claudyus_LXC-Web-Panel.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.

The repository is setup! You can now install packages.
root@rock ~# apt-get install lwp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package lwp
root@rock ~# 

plainas avatar Oct 11 '16 13:10 plainas

The title of this issue is wrong; it should read "ubuntu 16.04".

FYI for anyone else having this issue: I was able to work-around it by pulling the packages for trusty (14.04) instead of xenial (16.04). Reference: https://www.joshcurry.co.uk/posts/lxc-with-web-interface-ubuntu-1604

33b5e5 avatar Jan 17 '17 18:01 33b5e5

IIRC, I checked out the sources of the lwp package and installed using its setup.py. But of course, this requires the user to be familiar with python packaging, which I think it's a bit on an usability issue. Many sysadmins never wrote a line of python. Just my opinion.

Packagecloud failed me, the concept is good, the execution not so much. I ended up debugging its script myself until I solved the problem manually. Kind of defeating its purpose.

plainas avatar Jan 17 '17 20:01 plainas