-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Strip leading/trailing spaces/tabs from mirrors
If a Debian mirror has leading/trailing spaces/tabs, mmdebstrap will fail: ``` I: running apt-get update... E: Malformed entry 3 in list file /tmpfs/mmdebstrap.IQ6vCUfFh5/etc/apt/sources.list (URI parse) E: The list of sources could not be read. E: apt-get update -oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false failed I: main() received signal PIPE: waiting for setup... W: listening on child socket failed: E: received eof on socket ``` Therefore strip leading/trailing spaces/tabs from the mirrors specified with `--mirrors`. Signed-off-by: Benjamin Drung <[email protected]>
- Loading branch information
Showing
2 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters