"This is not a genuine Ubuntu package"

blogged: apport: "This is not a genuine Ubuntu package" (the current Linux kernel package)

bug report · I made the mistake of assuming the kernel version shown by apport was the current kernel. I knew the running kernel was current, but I had just rebooted for the first time after the upgrade, and apport was reporting on an error in the previous version, which presumably had happened on shutdown.

The real bug here is that apport reports on errors about old packages without warning the user that they are old.

Launchpad bug report: After a kernel oops apport-gtk fails with "This is not a genuine Ubuntu package" (the current kernel package).

Binary package hint: apport

apport started on login due to a kernel oops immediately after an apt-get upgrade, and then quit with:

Problem in linux-image-2.6.32-20-generic
The problem cannot be reported:
This is not a genuine Ubuntu package

The package linux-image-2.6.32-20-generic is current.

No proprietary drivers are in use.

apport dialog: Your system encountered a serious kernel problem. apport dialog: This is not a genuine Ubuntu package

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: apport 1.13.3-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-20.30-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-20-generic i686
ApportLog:
 apport (pid 21716) Sat Apr 17 16:28:11 2010: called for pid 21648, signal 11
 apport (pid 21716) Sat Apr 17 16:28:11 2010: executable: /usr/bin/pavucontrol (command line "pavucontrol")
 apport (pid 21716) Sat Apr 17 16:28:12 2010: wrote report /var/crash/_usr_bin_pavucontrol.1000.crash
Architecture: i386
CrashReports:
 600:110:4:602278:2010-04-17 17:49:41.259862000 +0000:2010-04-17 17:49:42.259862000 +0000:/var/crash/linux-image-2.6.32-20-generic.148866.crash
 600:1000:1000:1778571:2010-04-17 16:28:41.827867000 +0000:2010-04-17 16:28:42.827867000 +0000:/var/crash/_usr_bin_pavucontrol.1000.crash
 600:1000:1000:64975:2010-04-15 00:32:59.175872000 +0000:2010-04-15 00:33:00.175872000 +0000:/var/crash/_usr_bin_miro.real.1000.crash
 600:1000:1000:8261952:2010-04-09 12:25:17.956894000 +0000:2010-04-09 12:25:21.196883366 +0000:/var/crash/_usr_bin_istanbul.1000.crash
 600:0:0:745763:2010-04-09 13:08:55.068711000 +0000:2010-04-09 13:08:56.068711000 +0000:/var/crash/_usr_bin_Xorg.0.crash
Date: Sat Apr 17 19:56:29 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: apport

rough notes


2010-04-17 1743.  Ubuntu Lucid Lynx on esp.  dist-upgrade and restart.  kernel oops.
  Kernel problem
  Your system encountered a serious kernel problem.
...

help dialog:
  As part of the bug reporting process, you'll be asked a series of questions to help provide a more descriptive bug report.  Please answer the following questions to the best of your ability.  Afterwards, a browser will be opened to finish filing this as a bug in the Launchpad bug tracking system.
apport question:
  How would you describe the regression?
I chose:  regression-potential - A bug discovered in the development release that was not present in the stable release.
help dialog:
  After apport finishes collecting debug information, please note the most recent kernel version where this was not an issue when filling out the bug report.
question:
  Can you recreate this bug with a specific series of steps?
I said:  No.
help dialog:
  Testing the upstream kernel can help isolate issues in Ubuntu kernel patches, discover a bug is fixed upstream, or confirm the issue exists upstream.  It would be great if you could test with the upstream kernel and let us know your results by posting a comment in the bug report.  For information on testing the upstream kernel, refer to https://wiki.ubuntu.com/KernelTeam/MainlineBuilds

2010-04-17 1748.
/ question

This report may also be submitted to http://kerneloops.org/ in order to help collect aggregate information about kernel problems. This aids in identifying widespread issues and problematic areas. A condensed summary of the Oops is shown below.  Would you like to submit information about this crash to kerneloops.org ?

WARNING: at /build/buildd/linux-2.6.32/lib/kref.c:43 kref_get+0x21/0x30()
Call Trace:
 [] warn_slowpath_common+0x72/0xa0
 [] ? kref_get+0x21/0x30
 [] ? kref_get+0x21/0x30
 [] warn_slowpath_null+0x1a/0x20
 [] kref_get+0x21/0x30
 [] drm_gem_handle_create+0x83/0xa0 [drm]
 [] ? mutex_lock+0x19/0x40
 [] intel_user_framebuffer_create_handle+0x18/0x20 [i915]
 [] drm_mode_getfb+0x69/0xa0 [drm]
\
I said: Yes

/ Problem in linux-image-2.6.32-20-generic

The problem cannot be reported:

This is not a genuine Ubuntu package

\

merriam@esp:~$ apt-cache policy linux-image-2.6.32-20-generic
linux-image-2.6.32-20-generic:
  Installed: 2.6.32-20.30
  Candidate: 2.6.32-20.30
  Version table:
 *** 2.6.32-20.30 0
        100 /var/lib/dpkg/status
\