Capture Agent install scripts incorrectly handle the "bad packages" list

Steps to reproduce

Steps to reproduce:
1. After a "dirty" installation, we removed the installed packages by hand and forgot the gstreamer0.10-plugins-bad-multiverse
2. When tried to reinstall, we didn't get prompted for install the "bad" packages, and those weren't installed.
3.

Actual Results:
Some packages weren't installed because the users never got the question whether they want to do so

Expected Results:
We should get the prompt and the packages should be installed or not according to our answer

Workaround (if any):
The list of "bad" packages can have more than one package per line, so that we can specify a set of packages to get a certain functionality to be installed together or not. Before asking, the system checks that those packages aren't installed already, but handles the lines wrongly: if it finds a package that is already installed, it will skip the rest of them. Instead, it should check for ALL the packages in the line being installed. See the code snippet for a workaround to this. It's done so that in case of a hypothetical cleanup, the list of packages contains only those actually installed (rather than including the whole "bad" line, that might contain packages that are already installed).

Status

Assignee

Rubén Pérez

Reporter

Rubén Pérez

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

Time tracking

30m

Components

Fix versions

Affects versions

Priority

Critical
Configure