On 04/05/2013 02:46 PM, brian mullan wrote: > 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? > > This was working several months ago last time I tried it on the same machines > w/same OS. > > But now on several machines it fails when done in a container (works in > hosts). > > All machines are ubuntu 12.10
It's not LXC specific. You need software-properties-common . I suggest to install and use apt-file. Cheers, tamas ------------------------------------------------------------------------------ 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