Quoting brian mullan (bmullan.m...@gmail.com):
> Recently I had the need to use the add-apt-repository command in some
> containers.
> 
> But when executing it:
> 
> *sudo add-apt-repository ppa:<some ppa>/stable*
> *
> *
> *it fails*
> *sudo: add-apt-repository: command not found*
> 
> so I made sure python-software-properties was installed:
> 
> *sudo apt-get update && sudo apt-get install python-software-properties*
> *
> *
> *then retried:*
> *sudo add-apt-repository ppa:<some ppa>/stable*
> *
> *
> *but it still fails*
> *sudo: add-apt-repository: command not found*
> 
> Can anyone give me an idea why this is happening or what I can look at?

You need to install software-properties-common, since I think quantal or
so.  I opened a bug about that at some point (because command-not-found
still suggested the wrong package), not sure what happened with that.

-serge

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to