Hi,
On Tue, Aug 18, 2015 at 01:03:34PM -0700, Russ Allbery wrote:
> Lior Kaplan <[email protected]> writes:
> 
> > Package: git-buildpackage
> > Version: 0.6.32
> > Severity: normal
> 
> > $ git-pbuilder create
> > /usr/bin/git-pbuilder: line 243: sudo: command not found
> 
> > git-pbuilder needs sudo to work, but sudo isn't a mandatory package
> > (priority optional). Please add a dependency to make sure it wouldn't
> > fail.
> 
> It may be worth noting that this is an optional feature; I'm not sure how
> many people use that interface.  (I actually don't myself; I just use it
> for building.)  Also, just having sudo installed isn't enough.  You also
> have to have the sudo rules set up to allow the user to run cowbuilder,
> and since that gives the user root on the local host without a whole lot
> of work, I'm not sure if it's something we want to set up by default.

We could improve the error message (i.e. check for sudo and point to the
sudo package + mention that configuration is needed). That would at
least make it clear that the user did the right thing.

Suggesting sudo is probably a good thing either.

Cheers,
 -- Guido

Reply via email to