ssh-import-id broken on Focal

Bug #1864107 reported by Robert C Jennings
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ssh-import-id
Fix Released
Medium
Dave Jones
ssh-import-id (Ubuntu)
Fix Released
High
Dave Jones

Bug Description

Running ssh-import-id on focal fails with "ERROR module 'platform' has no attribute 'dist'"

package version 5.8-0ubuntu1

platform.dist()/linux_distribution() was removed and an alternative like the distro[2] package should be used.

[1] https://docs.python.org/2/library/platform.html#unix-platforms
[2] https://pypi.org/project/distro/

Related branches

Robert C Jennings (rcj)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ssh-import-id (Ubuntu):
status: New → Confirmed
Robert C Jennings (rcj)
summary: - ERROR module 'platform' has no attribute 'dist'
+ ssh-import-id broken on Focal
Changed in ssh-import-id (Ubuntu):
importance: Undecided → High
tags: added: server-next
Revision history for this message
Dan Watkins (oddbloke) wrote :
Changed in ssh-import-id (Ubuntu):
assignee: nobody → Dave Jones (waveform)
status: Confirmed → In Progress
Scott Moser (smoser)
Changed in ssh-import-id:
status: New → Confirmed
assignee: nobody → Dave Jones (waveform)
status: Confirmed → Fix Committed
Scott Moser (smoser)
Changed in ssh-import-id:
importance: Undecided → Medium
Scott Moser (smoser)
Changed in ssh-import-id:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ssh-import-id - 5.10-0ubuntu1

---------------
ssh-import-id (5.10-0ubuntu1) focal; urgency=medium

  * New upstream release.
    - Fix error due to local variable masking import name.
    - Use distro instead of platform [Dave Jones] (LP: #1864107)

 -- Scott Moser <email address hidden> Fri, 28 Feb 2020 11:03:41 -0500

Changed in ssh-import-id (Ubuntu):
status: In Progress → 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.