[Bug 1936697] Re: Unlisted dependency
Jessica Clarke
1936697 at bugs.launchpad.net
Fri Jul 16 22:32:51 UTC 2021
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.
** Package changed: pbuilder (Ubuntu) => ubuntu-dev-tools (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pbuilder in Ubuntu.
https://bugs.launchpad.net/bugs/1936697
Title:
Unlisted dependency
Status in ubuntu-dev-tools package in Ubuntu:
New
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/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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1936697/+subscriptions
More information about the foundations-bugs
mailing list