Package: dpkg
Version: 1.19.7
Severity: important

Hi Guillem,

dpkg should refuse to create packages with invalid versioned Provides
(unless --nocheck is given) to prevent bugs like #930256 where apt emits

# apt-get update
W: Ignoring Provides line with non-equal DepCompareOp for package 
firefox-l10n-bn-bd
W: Ignoring Provides line with non-equal DepCompareOp for package 
firefox-l10n-bn-in

thanks to firefox-l10n-bn in experimental:

Package: firefox-l10n-bn
Source: firefox
Version: 68.0~b8-1
Replaces: firefox-l10n-bn-bd (<< 68), firefox-l10n-bn-in (<< 68)
Provides: firefox-l10n-bn-bd (<< 68), firefox-l10n-bn-in (<< 68)
Depends: firefox (>= 68.0~b8-1), firefox (<< 68.0~b8-1.1~)
Breaks: firefox-l10n-bn-bd (<< 68), firefox-l10n-bn-in (<< 68)

This also triggers errors in dose-debcheck:

Fatal error in module deb/debcudf.ml:
 This should never happen : a provide can be either = or unversioned


Andreas

Reply via email to