[Bug 1123107] Re: Jockey should install the linux-$flavour metapackage

Brian Murray brian at ubuntu.com
Tue Apr 9 23:07:26 UTC 2013


Reviewing error reports about jockey it appears that the version of
jockey in precise-proposed has introduced a regression as seen at:

https://errors.ubuntu.com/bucket/?id=/usr/share/jockey/jockey-
backend%3AKeyError%3A/usr/share/jockey/jockey-
backend%4066%3A__init__%3Aget_linux_metapackage%3A_get_linux_metapackage%3A__getitem__

The traceback follows:

Traceback (most recent call last):
  File "/usr/share/jockey/jockey-backend", line 66, in <module>
    OSLib.inst = OSLib(target_kernel=argv_options.kernel)
  File "/usr/lib/python2.7/dist-packages/jockey/oslib.py", line 131, in __init__
    self.kernel_header_package = kernel_detection.get_linux_metapackage()
  File "/usr/lib/python2.7/dist-packages/jockey/kerneldetection.py", line 112, in get_linux_metapackage
    return self._get_linux_metapackage(False)
  File "/usr/lib/python2.7/dist-packages/jockey/kerneldetection.py", line 75, in _get_linux_metapackage
    record['Source']
  File "/usr/lib/python2.7/dist-packages/apt/package.py", line 195, in __getitem__
    return self._rec[key]
KeyError: 'Source'

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1123107

Title:
  Jockey should install the linux-$flavour metapackage

Status in “jockey” package in Ubuntu:
  Fix Committed
Status in “software-properties” package in Ubuntu:
  New
Status in “ubuntu-drivers-common” package in Ubuntu:
  Fix Released
Status in “jockey” source package in Precise:
  Fix Committed
Status in “software-properties” source package in Precise:
  Invalid
Status in “ubuntu-drivers-common” source package in Precise:
  Invalid
Status in “jockey” source package in Quantal:
  Invalid
Status in “software-properties” source package in Quantal:
  Fix Committed
Status in “ubuntu-drivers-common” source package in Quantal:
  Fix Committed

Bug description:
  Neither binary graphics drivers nor dkms depends on the linux-headers
  any longer. This means that we need Jockey to at least try to install
  the correct linux-$flavour metapackage so that users get the correct
  linux headers together with linux updates.

  In raring we already do this in ubuntu-drivers-common and software-
  properties-gtk. In precise we could build upon what we have thanks to
  LP: #567699 and reuse the code from u-d-c.

  Note: while it's true that Ubiquity already does the right thing, this
  bug report aims to cover cases in which, for example, the metapackages
  are not there any more for some reason or because users have installed
  a different kernel flavour

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jockey/+bug/1123107/+subscriptions




More information about the foundations-bugs mailing list