Apport retracing service is incorrectly interpreting installed version: None as being out of date
Bug #359963 reported by
dotancohen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: apport
It looks like the Apport retracing service is rejecting bug reports because it is interpreting "installed version: None" as being out of date. This looks like a bug in Apport retracing service. See this bug for an example of the problem:
https:/
Related branches
lp:~gothicx/apport/retrace_installed_none
Rejected
for merging
into
lp:~apport-hackers/apport/trunk
- Martin Pitt (community): Disapprove
- Diff: None lines
tags: | added: patch |
Changed in apport (Ubuntu): | |
status: | In Progress → Confirmed |
Changed in apport (Ubuntu): | |
assignee: | Marco Rodrigues (gothicx) → nobody |
To post a comment you must log in.
Judging from the code, this message appears when the stacktrace failed so there was something going wrong in the first place. But apport should not close reports with failed retraces when a package is not installed.
I think the problem comes from Line 358 in packaging- apt-dpkg. py :
if ver and c[pkg]. candidateVersio n != ver: '-dbgsym' ):
outdated += '%s: installed version %s, latest version: %s\n' % (
pkg, ver, c[pkg]. candidateVersio n)
print >> sys.stderr, 'WARNING: %s version %s required, but %s is available' % (
pkg, ver, c[pkg]. candidateVersio n)
uninstall able.append (c[pkg].name)
continue
if not pkg.endswith(
if not unpack_only:
The first if-statement should check that version is not NONE.