software-properties-common is missing dependecy python3-six in Noble

Bug #2049014 reported by Edu Gómez Escandell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu version: "24.04 (Noble Numbat)"
software-properties-common version: 0.99.40

This command fails to run when package python3-six is not installed:

```
$ add-apt-repository -y --ppa ppa:ubuntu-wsl-dev/ppa
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 14, in <module>
    from softwareproperties.shortcuts import shortcut_handler
  File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 23, in <module>
    from softwareproperties.ppa import PPAShortcutHandler
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 25, in <module>
    from launchpadlib.launchpad import Launchpad
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 48, in <module>
    from launchpadlib.credentials import (
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 59, in <module>
    from six.moves.urllib.parse import parse_qs
ModuleNotFoundError: No module named 'six'
```

I reproduced this bug in docker. The following dockerfile exercises it:
```
FROM ubuntu:devel
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository -y --ppa ppa:ubuntu-wsl-dev/ppa
```

Modifying the docker file by adding `RUN apt-get install -y python3-six` before the last line works as a workaround.

description: updated
tags: added: noble packaging
Revision history for this message
Edu Gómez Escandell (edugomez) wrote :

Tried to reproduce today and the issue is gone :D

I presume some intermediate dependency fixed it.

Changed in software-properties (Ubuntu):
status: New → 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.