Well, this logic already exists in apport:
if 'dpkg: error' in dupe_sig and line.startswith(' '):
if 'trying to overwrite' in line:
conflict_pkg = re.search('in package (.*) ', line)
if conflict_pkg and not
apport.packaging.is_distro_package(conflict_pkg.group(1)):
report['UnreportableReason'] = _('An Ubuntu package
has a file conflict with a package that is not a genuine Ubuntu package')
add_tag(report, 'package-conflict')
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/871030
Title:
apport should disallow filing bugs for package install failures when
they conflict with non-Ubuntu packages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/871030/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs