← Back to team overview

kernel-packages team mailing list archive

[Bug 1476224] [NEW] apport-collect fails on headless server

 

Public bug reported:

Attempting to run command:
   apport-collect 1473200
on a headless Ubuntu server I received the following error:

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
...No packages found matching linux.
ERROR: hook /usr/share/apport/general-hooks/cloud_archive.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 729, in add_hooks_info
    symb['add_info'](self, ui)
  File "/usr/share/apport/general-hooks/cloud_archive.py", line 18, in add_info
    if '~cloud' in packaging.get_version(package) and \
  File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 95, in get_version
    raise ValueError('package does not exist')
ValueError: package does not exist
.....

*** Send problem report to the developers?


At this point the terminal interface becomes garbled and since we're
already off into exception processing (while logged-in as root on a
production server) I cancelled the process.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1476224

Title:
  apport-collect fails on headless server

Status in linux package in Ubuntu:
  New

Bug description:
  Attempting to run command:
     apport-collect 1473200
  on a headless Ubuntu server I received the following error:

  *** Collecting problem information

  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  ...No packages found matching linux.
  ERROR: hook /usr/share/apport/general-hooks/cloud_archive.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/apport/report.py", line 729, in add_hooks_info
      symb['add_info'](self, ui)
    File "/usr/share/apport/general-hooks/cloud_archive.py", line 18, in add_info
      if '~cloud' in packaging.get_version(package) and \
    File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 95, in get_version
      raise ValueError('package does not exist')
  ValueError: package does not exist
  .....

  *** Send problem report to the developers?


  At this point the terminal interface becomes garbled and since we're
  already off into exception processing (while logged-in as root on a
  production server) I cancelled the process.

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


Follow ups