[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#679829: britney: breakage of packages on removal of virtual packages



On Mon, 2012-07-02 at 00:12 +0200, Niels Thykier wrote:
> --- a/britney.py
> +++ b/britney.py
> @@ -600,8 +600,8 @@ class Britney(object):
>                  # register real packages
>                  if a[0] in packages and (not check_doubles or pkg not in packages[a[0]][RDEPENDS]):
>                      packages[a[0]][RDEPENDS].append(pkg)
> -                # register packages which provide a virtual package
> -                elif a[0] in provides:
> +                # also register packages which provide a virtual package (if any)
> +                if a[0] in provides:
>                      for i in provides.get(a[0]):
>                          if i not in packages: continue
>                          if not check_doubles or pkg not in packages[i][RDEPENDS]: 

Hmmm, does the rconflicts block immediately below not need the same
change?

Regards,

Adam




Reply to: