Error setting up pbuilder following Ubuntu Wiki. How to set it up?
I am setting up my machine for Ubuntu development. I am following Ubuntu Development Beginnings, but while running sudo pbuilder create
command I am getting below error:
$ sudo pbuilder create
I: Distribution is devel.
I: Current time: Thu Jul 9 22:23:59 IST 2020
I: pbuilder-time-stamp: 1594313639
I: Building the build environment
I: running debootstrap
/usr/sbin/debootstrap
E: No such script: /usr/share/debootstrap/scripts/devel
E: debootstrap failed
E: debootstrap.log not present
W: Aborting with an error
Can someone please help me to resolve this issue and set up pbuilder for creating a clean chroot environment in Ubuntu 20.04?
devel
is not a version of Ubuntu. You will have to specify an Ubuntu release, e.g.
sudo pbuilder create --distribution focal
Sometimes, this might lead to certain issues with GPG keys related to PPAs. See this for more information.