smart reports "error: Unsupported scheme: ssh" if ssh method used in APT source list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
Fix Released
|
Low
|
Unassigned | ||
smart (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
## Issue
- smart reports "error: Unsupported scheme: ssh" if ssh method used in APT source list
## Environment
- smartpm
- apt repository URI starting with "ssh"
## Resolution
- (workaround) Assign "SCPHandler" as handler for "ssh" in fetcher.py:
--- /usr/share/
+++ /usr/share/
@@ -1838,5 +1838,6 @@ class SCPHandler(
Fetcher.
+Fetcher.
# vim:ts=4:sw=4:et
This is untested, as I didn't have access to an ssh-based repo at the time it was reported.
## Background
APT supports the following URI methods: cdrom, file, http, ftp, copy, ssh, rsh. Smart doesn't accept "ssh" as a valid method.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: smartpm 1.2-5
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon Sep 5 09:14:08 2011
PackageArchitec
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: smart
Changed in smart (Ubuntu): | |
status: | New → Confirmed |
Changed in smart: | |
milestone: | none → 1.4.1 |
Changed in smart: | |
status: | New → Fix Committed |
Changed in smart: | |
status: | Fix Committed → Fix Released |
I've tested and have confirmed that Eric's proposed fix fixes the issue.