Missing dependency (python3-distutils) in Ubuntu 18.04 and later

Bug #1763923 reported by Fuel
104
This bug affects 20 people
Affects Status Importance Assigned to Milestone
apt-btrfs-snapshot
New
Undecided
Unassigned
apt-btrfs-snapshot (Ubuntu)
Confirmed
Undecided
Unassigned
python-stem (Debian)
Fix Released
Unknown
python-stem (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After installing apt-btrfs-snapshot in Ubuntu 18.04 I got following error messages:

Traceback (most recent call last):
  File "/usr/bin/apt-btrfs-snapshot", line 33, in <module>
    from apt_btrfs_snapshot import AptBtrfsSnapshot
  File "/usr/lib/python3/dist-packages/apt_btrfs_snapshot.py", line 28, in <module>
    from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils.spawn'

This was resolved by manually installing 'python3-distutils'.

The dependency should be added to the package.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-btrfs-snapshot (Ubuntu):
status: New → Confirmed
tags: added: bionic packaging
Changed in python-stem (Ubuntu):
status: New → Confirmed
Revision history for this message
Mikhail Novosyolov (mikhailnov) wrote :
Changed in python-stem (Debian):
status: Unknown → Fix Released
Revision history for this message
Orange Shiang-Yuan Kao (orange-kao) wrote :

I have installed apt-btrfs-snapshot 3.5.1 today but the dependencies was not installed automatically.

I still need to install 'python3-distutils' manually.

S.L.R. (stever1978666)
Changed in apt-btrfs-snapshot (Ubuntu):
status: Confirmed → In Progress
status: In Progress → Confirmed
Revision history for this message
Chris (liny-odell) wrote :

This also affects 19.10 so I'm guessing this is waiting on a fix from Debian? The noted debbug is for a similar issue, missing this same depends, but it is for a different package.

Revision history for this message
jiaguilera (jiaguilera) wrote :

This also happens on 20.04 (development branch).
Installing manually 'python3-distutils' did the trick.

tags: added: disco eoan focal
summary: - Missing dependencies in Ubuntu 18.04
+ Missing dependency (python3-distutils) in Ubuntu 18.04 and later
tags: added: groovy hirsute
Revision history for this message
kenjo (ken-kenjo) wrote :

I'm confused why is this bug still present in 20.10.

Masoud shokohi (mass59)
Changed in apt-btrfs-snapshot (Ubuntu):
assignee: nobody → Masoud shokohi (mass59)
status: Confirmed → Fix Released
Changed in python-stem (Ubuntu):
assignee: nobody → Masoud shokohi (mass59)
status: Confirmed → Fix Released
Colin Watson (cjwatson)
Changed in apt-btrfs-snapshot (Ubuntu):
status: Fix Released → Confirmed
assignee: Masoud shokohi (mass59) → nobody
Changed in python-stem (Ubuntu):
status: Fix Released → Confirmed
assignee: Masoud shokohi (mass59) → nobody
guanlonghuang (jace833)
Changed in apt-btrfs-snapshot (Ubuntu):
status: Confirmed → Fix Committed
Changed in python-stem (Ubuntu):
status: Confirmed → Fix Released
Colin Watson (cjwatson)
Changed in apt-btrfs-snapshot (Ubuntu):
status: Fix Committed → Confirmed
Changed in python-stem (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Waruun (waruun-deactivatedaccount) wrote :

Can confirm that this is still the case in 22.04.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I don't know why Michael didn't get to update this bug on apt-btrfs-snapshot, it seems simple.
Maybe he has his just elsewhere today, I subscribed him explicitly to get some attention.

For python-stem tough this is fixed:
Since upstream:
https://gitweb.torproject.org/stem.git/commit/?id=9fa85ec6f751fb060f5dace804dbc3c4c407d77d
And thereby 1.8.0 and due to that Ubuntu Jammy and later.

Changed in python-stem (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.