file:// and ssh:// protocols do not allow for failed gets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debootstrap (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
A user on #ubuntu reported failure of debootstrap to fetch the Release file; hanging whilst trying to deal with an InRelease file that doesn't exist when using ssh:// protocol.
scp: /opt/repository
mv: cannot stat '/tmp/tmp-
sed: can't read /tmp/tmp-
scp: /opt/repository
mv: cannot stat '/tmp/tmp-
sed: can't read /tmp/tmp-
scp: /opt/repository
mv: cannot stat '/tmp/tmp-
sed: can't read /tmp/tmp-
This seems to be due to a problem in functions:
I think these should be returning the exit code of the scp and cp commands respectively.
Suggested patch attached
Affects 16.04 and 17.10. Apparently doesn't affect 14.04.
tags: | added: artful xenial |
The attachment "just_get(): return exit code of scp and cp" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]