You have been subscribed to a public bug:
I am using pbuilder 0.231build1 on Ubuntu 21.04 Hirsute. I tried to run
"pbuilder-dist hirsute create" and received this error:
Traceback (most recent call last):
File "/usr/bin/pbuilder-dist", line 32, in
import distutils.spawn
ModuleNotFoundError
pbuilder-dist is a wrapper provided by ubuntu-dev-tools, not pbuilder
itself. Moreover, ubuntu-dev-tools only Suggests: pbuilder, though at
the same time python3-distutils is a pretty tiny package (that's also
fairly useful) so adding that dependency as Recommends: rather than just
Suggests: (to be
Hello Jessica, and thank you for your rapid response. Your explanation
of the dependency situation with pbuilder and ubuntu-dev-tools is
helpful. However, I don't understand why pbuilder itself is only
suggested and not required by ubuntu-dev-tools. According to the Ubuntu
Packaging Manual(https://