2

I am trying to build a package for ubuntu trusty using sbuild, but few dependencies are available in vivid repo. So, I added the vivid repo with --extra-repository tag with sbuild command. But I am getting the following error with that:

gbp:error: 'sbuild --extra-repository=deb http://ports.ubuntu.com/ubuntu-ports/ vivid main' failed: it exited with 255

Any idea how can I resolve this issue? I need that repo to build packages. TIA.

A.B.
  • 92,125
Pensu
  • 123

1 Answers1

2

Start sbuild with double quotes for the repository:

sbuild --extra-repository="deb http://ports.ubuntu.com/ubuntu-ports/ vivid main"

Check if your user is in the sbuild group with:

groups

If not, use this command:

sudo usermod --append --groups sbuild $USER
Fabby
  • 35,017
A.B.
  • 92,125