They are failing because apport returns a ValueError for unknown keys:

In [9]: if not 
apport.packaging.is_distro_package('linux-headers-3.0.0-68-generic'):    print 
'fail'
   ...: 
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)

/home/theman/<ipython console> in <module>()

/usr/lib/python2.7/dist-packages/apport/packaging_impl.pyc in 
is_distro_package(self, package)
    108         assert lsb_release.returncode == 0
    109
--> 110         pkg = self._apt_pkg(package)
    111         # some PPA packages have installed version None, see LP#252734

    112         if pkg.installed and pkg.installed.version is None:

/usr/lib/python2.7/dist-packages/apport/packaging_impl.pyc in _apt_pkg(self, 
package)
     63             return self._cache()[package]
     64         except KeyError:
---> 65             raise ValueError('package does not exist')
     66
     67     def get_version(self, package):

ValueError: package does not exist

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

Title:
  dkms_packages.py crashed with ValueError in _apt_pkg(): package does
  not exist

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to