Unlisted dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Undecided
|
Mattia Rizzolo |
Bug Description
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/
import distutils.spawn
ModuleNotFoundE
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
ProcVersionSign
Uname: Linux 5.11.0-22-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckR
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)
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: pbuilder
UpgradeStatus: Upgraded to hirsute on 2021-07-16 (0 days ago)
Changed in ubuntu-dev-tools (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Mattia Rizzolo (mapreri) |
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 clear, there isn't even a Suggests: currently) to try and ensure the wrapper works if you happen to have pbuilder installed might make sense.