I'm trying to install LXD in Ubuntu Server 14.04 following this post.
I have done that successfully in the past in other similar setups, but this time is throwing this error:
add-apt-repository ppa:ubuntu-lxc/lxd-stable
sh: 1: /usr/lib/linuxmint/mintSources/mintSources.py: not found
Searching for any solution, most of the pages suggest a broken/mixed Mint installation, however I have never -ever- installed Mint in that server (It has been 14.04 all the way since it was acquired).
It has no extra repositories besides the official ones.
The server is updated with the last versions, so I'm puzzled about this one.
Any idea why is that happening?
Your error message says it can't find
mintSoursces.py
.The Ubuntu version of
add-apt-repository
does not look for that script, but...the Mint version does. (See the Mint version of add-apt-repository ). So you somehow ended up with the Mint version ofadd-apt-repository
.It looks like you probably tried something once that you might not remember, perhaps trying a ppa or other software meant for Mint. I don't know for sure, but you may have have left something behind when you cleaned that up.
Check your sources lists (don't forget to look in sources.d). If you find something, take it out, run
apt update
, and reinstalladd-apt-repository
.