* Richard W.M. Jones:
--- a/src/febootstrap_debian.ml
+++ b/src/febootstrap_debian.ml
@@ -45,7 +45,7 @@ let get_installed_pkgs () =
let rec debian_resolve_dependencies_and_download names =
let cmd =
- sprintf "%s depends --recurse -i %s | grep -v '^[<[:space:]]'"
+ sprintf "%s depends --recurse -i %s | grep -v '^[<[:space:]]' | grep
-v :i386"
Config.apt_cache
(String.concat " " (List.map Filename.quote names)) in
let pkgs = run_command_get_lines cmd in
This will only work on multiarch setups where i386 is the only secondary
architecture which may become relevant for Debian.
I suggest using:
grep -Ev ':\w+\b'
Cheers,
-Hilko