"apt-cache policy" for each package

Bug #1358695 reported by Pierre Amadio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sosreport (Ubuntu)
Fix Released
Medium
Unassigned
Precise
Won't Fix
Medium
Unassigned
Trusty
Fix Released
Medium
Unassigned
Utopic
Fix Released
Medium
Unassigned
Vivid
Fix Released
Medium
Unassigned

Bug Description

Currently, sosreport contain a list of installed package but it does not tell where those package comes from.
In some situation it could be handy to know what are the actual ppa used (in order to figure out if a box is using cloud-archive for a given release, or even some unsupported third party repository)

Would it be possible to have sosreport gather the output of "apt-cache policy $package" for each installed packages ?

Tags: cts
Louis Bouchard (louis)
Changed in sosreport (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Louis Bouchard (louis-bouchard)
Revision history for this message
Louis Bouchard (louis) wrote :

This feature has been commited upstream and is now part of the Debian package. It will need to be backported to Trusty after the merge

Changed in sosreport (Ubuntu):
status: Triaged → Confirmed
Louis Bouchard (louis)
tags: added: cts
Louis Bouchard (louis)
Changed in sosreport (Ubuntu):
status: Confirmed → In Progress
Changed in sosreport (Ubuntu Precise):
status: New → Triaged
Changed in sosreport (Ubuntu Trusty):
status: New → Confirmed
Changed in sosreport (Ubuntu Precise):
status: Triaged → Confirmed
Changed in sosreport (Ubuntu Utopic):
status: New → Confirmed
Changed in sosreport (Ubuntu Precise):
importance: Undecided → Medium
Changed in sosreport (Ubuntu Trusty):
importance: Undecided → Medium
Changed in sosreport (Ubuntu Utopic):
importance: Undecided → Medium
Changed in sosreport (Ubuntu Trusty):
assignee: nobody → Louis Bouchard (louis-bouchard)
Changed in sosreport (Ubuntu Precise):
assignee: nobody → Louis Bouchard (louis-bouchard)
Changed in sosreport (Ubuntu Utopic):
assignee: nobody → Louis Bouchard (louis-bouchard)
Revision history for this message
Brian Murray (brian-murray) wrote :

You might consider looking at how apport does this as it conveniently identifies packages as foreign (not Ubuntu repositories).

Revision history for this message
Louis Bouchard (louis) wrote :

thanks for the pointer Brian, I'll look that up.

Changed in sosreport (Ubuntu Vivid):
status: In Progress → Fix Released
Louis Bouchard (louis)
Changed in sosreport (Ubuntu):
assignee: Louis Bouchard (louis-bouchard) → nobody
Changed in sosreport (Ubuntu Precise):
assignee: Louis Bouchard (louis-bouchard) → nobody
Changed in sosreport (Ubuntu Trusty):
assignee: Louis Bouchard (louis-bouchard) → nobody
Changed in sosreport (Ubuntu Utopic):
assignee: Louis Bouchard (louis-bouchard) → nobody
Changed in sosreport (Ubuntu Vivid):
assignee: Louis Bouchard (louis-bouchard) → nobody
Changed in sosreport (Ubuntu Trusty):
status: Confirmed → Fix Released
Changed in sosreport (Ubuntu Utopic):
status: Confirmed → Fix Released
Changed in sosreport (Ubuntu Precise):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.