[Bug 1090925] Re: software-properties-gtk silently crashes when sourcegear repository is enabled

Brian Murray brian at ubuntu.com
Wed Apr 17 17:46:05 UTC 2013


I think this is the relevant traceback:

Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 103, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 178, in __init__
    self.init_drivers()
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1097, in init_drivers
    self.devices = detect.system_device_drivers()
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 415, in system_device_drivers
    for pkg, pkginfo in system_driver_packages(apt_cache).items():
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 319, in system_driver_packages
    for p in packages_for_modalias(apt_cache, alias):
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 164, in packages_for_modalias
    cache_map = _apt_cache_modalias_map(apt_cache)
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 129, in _apt_cache_modalias_map
    m = package.candidate.record['Modaliases']
  File "/usr/lib/python3/dist-packages/apt/package.py", line 429, in record
    return Record(self._records.record)
  File "/usr/lib/python3/dist-packages/apt/package.py", line 186, in __init__
    self._rec = apt_pkg.TagSection(record_str)
ValueError: Unable to parse section data


** Changed in: software-properties (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: software-properties (Ubuntu)
   Importance: Undecided => Medium

-- 
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/1090925

Title:
  software-properties-gtk silently crashes when sourcegear repository is
  enabled

Status in “software-properties” package in Ubuntu:
  Triaged

Bug description:
  Repro:

  1. Add sourcegear debian repository with `aptdcon --add-repository 'deb http://debian.sourcegear.com/ubuntu quantal main' && sudo apt-key adv --fetch-keys http://debian.sourcegear.com/SOURCEGEAR-GPG-KEY` command
  2. refresh APT cache with aptdcon -c
  3. run software-properties-gtk

  Expected: "Software Properties" shows up

  Actual behavior: software-properties-gtk crashes silently and apport
  prompt shows up

  Disabling mentioned repository fixes this issue.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: software-properties-gtk 0.92.9
  ProcVersionSignature: Ubuntu 3.5.0-20.31-generic 3.5.7.1
  Uname: Linux 3.5.0-20-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu9
  Architecture: amd64
  Date: Sat Dec 15 17:22:00 2012
  EcryptfsInUse: Yes
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: software-properties
  UpgradeStatus: Upgraded to quantal on 2012-11-05 (40 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1090925/+subscriptions




More information about the foundations-bugs mailing list