<div dir="ltr">Recently I had the need to use the add-apt-repository command in some containers.<div><br></div><div style>But when executing it:</div><div style><br></div><div style><b>sudo add-apt-repository ppa:<some ppa>/stable</b></div>
<div style><b><br></b></div><div style><b>it fails</b></div><div style><div><b>sudo: add-apt-repository: command not found</b></div><div><br></div><div style>so I made sure python-software-properties was installed:</div><div style>
<br></div><div style><b>sudo apt-get update && sudo apt-get install python-software-properties</b></div><div style><b><br></b></div><div style><b>then retried:</b></div><div style><div><b>sudo add-apt-repository ppa:<some ppa>/stable</b></div>
<div><b><br></b></div><div><b>but it still fails</b></div><div><b>sudo: add-apt-repository: command not found</b></div><div><br></div><div style>Can anyone give me an idea why this is happening or what I can look at? </div>
<div style><br></div><div style>This was working several months ago last time I tried it on the same machines w/same OS.</div><div style><br></div><div style>But now on several machines it fails when done in a container (works in hosts).</div>
<div style><br></div><div style>All machines are ubuntu 12.10</div><div style><br></div><div style>thanks</div><div style>brian</div><div style><br></div><div><br></div></div></div></div>