Public bug reported:

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 <module>
    import distutils.spawn
ModuleNotFoundError: No module named 'distutils.spawn'

I tried it three more times and the same thing kept happening, so then I
took a closer look at the error message, and decided to "apt search" for
a Python distutils package in the repos. I found python3-distutils, and
installed it, then I tried running pbuilder-dist again and it succeeded.

Therefore, the fix for this bug is to add python3-distutils as a
dependency of pbuilder.

Thank you and have a good day!

Signed,
Computerworm01001

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: pbuilder 0.231build1
ProcVersionSignature: Ubuntu 5.11.0-22.23-generic 5.11.21
Uname: Linux 5.11.0-22-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Jul 16 15:36:23 2021
InstallationDate: Installed on 2021-07-15 (1 days ago)
InstallationMedia: Ubuntu 18.04.5 LTS "Bionic Beaver" - Release amd64 
(20200806.1)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pbuilder
UpgradeStatus: Upgraded to hirsute on 2021-07-16 (0 days ago)

** Affects: pbuilder (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug hirsute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1936697

Title:
  Unlisted dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/1936697/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to