← Back to team overview

touch-packages team mailing list archive

[Bug 1148116] Re: not all packages from PPAs have '[origin: ' in Package section

 

bdmurray@clean-precise-amd64:~$ apt-cache policy apport
apport:
  Installed: 2.0.1-0ubuntu17.11
  Candidate: 2.0.1-0ubuntu17.11
  Version table:
 *** 2.0.1-0ubuntu17.11 0
        500 http://ubuntu.osuosl.org/ubuntu/ precise-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.1-0ubuntu17.10 0
        500 http://ubuntu.osuosl.org/ubuntu/ precise-updates/main amd64 Packages
        500 http://ubuntu.osuosl.org/ubuntu/ precise-security/main amd64 Packages
     2.0.1-0ubuntu5 0
        500 http://ubuntu.osuosl.org/ubuntu/ precise/main amd64 Packages
bdmurray@clean-precise-amd64:~$ grep Package /var/crash/_usr_share_galicaster_run_galicaster.py.1000.crash 
Package: galicaster 1.4.1 [origin: unknown]
PackageArchitecture: all
SourcePackage: galicaster

This looks good to me.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1148116

Title:
  not all packages from PPAs have '[origin: ' in Package section

Status in Daisy:
  Invalid
Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Fix Committed

Bug description:
  Test Case
  ---------
  1) Install galicaster package from wiki.teltek.es (or any other random deb file will do)
  2) Run the executable
  3) Find the pid of the program and kill it with signal 11
  4) Inspect the .crash file (after it is finished being written) and observe the "Package: " key doesn't not contain "[origin: unknown]"

  With the version of apport from -proposed it will contain information
  about it being from an unknown origin.

  Original Description
  --------------------
  I was querying for columns in the counters column family starting with 'Ubuntu ' as I was looking for the counts of bugs reported about packages.  In the column family I discovered 'Ubuntu 12.10:indicator-stickynotes' and was having trouble finding errors for that package because it is from a PPA.  Given that the package is from a PPA it shouldn't be appearing in the counters column family at all though.

  From daisy/submit.py:

      package = data.get('Package', '')
      src_package = data.get('SourcePackage', '')
      problem_type = data.get('ProblemType', '')
      third_party = False
      if '[origin:' in package:
          third_party = True

  Then before running update_release_pkg_counter we check for 'if not
  third_party'.  Looking at least some of the oops for indicator-
  stickynotes all of them had '[origin:' in the Package key.

To manage notifications about this bug go to:
https://bugs.launchpad.net/daisy/+bug/1148116/+subscriptions