[Bug 1215114] [NEW] _get_linux_packages function needs updating

Brian Murray brian at ubuntu.com
Wed Aug 21 20:01:00 UTC 2013


Public bug reported:

Looking at the update-manager bzr branch In
UpdateManager/Core/UpdateList.py we can see the following:

    def _get_linux_packages(self):
        "Return all binary packages made by the linux-meta source package"
        # Hard code this rather than generate from source info in cache because
        # that might only be available if we have deb-src lines.  I think we
        # could also generate it by iterating over all the binary package info
        # we have, but that is costly.  These don't change often.
        return ['linux', 'linux-image', 'linux-headers-generic',
                'linux-image-generic', 'linux-generic',
                'linux-headers-generic-pae', 'linux-image-generic-pae',
                'linux-generic-pae', 'linux-headers-omap', 'linux-image-omap',
                'linux-omap', 'linux-headers-server', 'linux-image-server',
                'linux-server', 'linux-signed-image-generic',
                'linux-signed-generic', 'linux-headers-virtual',
                'linux-image-virtual', 'linux-virtual',
                'linux-image-extra-virtual']

This list seems to be a bit out of date and should be updated.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  _get_linux_packages function needs updating

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  Looking at the update-manager bzr branch In
  UpdateManager/Core/UpdateList.py we can see the following:

      def _get_linux_packages(self):
          "Return all binary packages made by the linux-meta source package"
          # Hard code this rather than generate from source info in cache because
          # that might only be available if we have deb-src lines.  I think we
          # could also generate it by iterating over all the binary package info
          # we have, but that is costly.  These don't change often.
          return ['linux', 'linux-image', 'linux-headers-generic',
                  'linux-image-generic', 'linux-generic',
                  'linux-headers-generic-pae', 'linux-image-generic-pae',
                  'linux-generic-pae', 'linux-headers-omap', 'linux-image-omap',
                  'linux-omap', 'linux-headers-server', 'linux-image-server',
                  'linux-server', 'linux-signed-image-generic',
                  'linux-signed-generic', 'linux-headers-virtual',
                  'linux-image-virtual', 'linux-virtual',
                  'linux-image-extra-virtual']

  This list seems to be a bit out of date and should be updated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1215114/+subscriptions




More information about the foundations-bugs mailing list