--components argument does not resolve dependencies properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debootstrap (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: debootstrap
I created custom repositories with my own component names, but that should not be necessary to duplicate this problem. Take for example --components=
When --components is specified, dependencies for packages in all but one of the specified components are ignored. The component picked for resolving dependencies seems to depend on line 1004 of functions 'c="${COMPONENTS%% *}"'.
The expected behavior is for the resolve_deps() function to resolve dependencies in all components.
I have been unable to find any patches related to this problem. I am using 1.0.8 on Hardy.
I have attached my hack to fix this.
I forgot to remove my debugging code: "echo "$c:\n$ PKGS">> /tmp.cpkgs"
Also, the tr ' ' '\n' is probably not necessary, but made debugging easier to read.