s3cmd package requires python distutils package

Bug #1763398 reported by Mitchell Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
s3cmd (Ubuntu)
Fix Released
Undecided
Nish Aravamudan

Bug Description

I use the s3cmd package to securely pull data from amazon S3.

As of the Ubuntu 18 build 18.04.201804100 i could still see that it was working ok.

Now, as of the 11th build, I get the following error attempting to use s3cmd

File "/usr/bin/s3cmd", line 60, in <module>
   from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils.spawn'

I have tracked the problem back to possible issue with distutils no longer being included as an installable package. I am not 100% sure this is the problem, but when I check my dev box which was built 8am EST on the 10th, i can apt-cache policy see that i have python-distutils.

Can anyone confirm that s3cmd package is broken.

Steps to reproduce:

Install a fresh copy of ubuntu 18.04.201804100

apt-get install -y s3cmd

execute the s3cmd.

EXPECTED RESULT: A list of ways to use the s3cmd

BUG RESULT: Error stating -
File "/usr/bin/s3cmd", line 60, in <module>
   from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils.spawn'

Revision history for this message
Nish Aravamudan (nacc) wrote :

python3-distutils is not a runtime dependency. Investigating why (dh-python3 issue?)

Changed in s3cmd (Ubuntu):
status: New → Confirmed
assignee: nobody → Nish Aravamudan (nacc)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package s3cmd - 2.0.1-1ubuntu1

---------------
s3cmd (2.0.1-1ubuntu1) bionic; urgency=medium

  * d/control: add run-time dependency on python3-distutils.
    - Upstream has required it in s3cmd since 2007.
    - LP: #1763398

 -- Nishanth Aravamudan <email address hidden> Thu, 12 Apr 2018 09:03:35 -0700

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

Other bug subscribers

Remote bug watches

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