What is in the directory which you passed to the -S switch? That
directory should be structured so that you have folders matching
releases and in those folders sources.list files for that release.
Here's an example from my system:

 $ ls ~/source-trees/daisy/watchtower-archive 
crashdb.conf  Ubuntu 11.04  Ubuntu 12.04  Ubuntu 13.04  Ubuntu 14.04
Ubuntu 15.04  Ubuntu 16.04  Ubuntu 17.04    Ubuntu RTM 14.09
Ubuntu 10.04  Ubuntu 11.10  Ubuntu 12.10  Ubuntu 13.10  Ubuntu 14.10
Ubuntu 15.10  Ubuntu 16.10  Ubuntu Core 16
[  2:56PM 10151 ]  [
bdmurray@impulse:~/source-trees/error-tracker-deployment/trunk ]
 $ ls ~/source-trees/daisy/watchtower-archive/Ubuntu\ 17.04 
arm64  armhf  codename  powerpc  ppc64el  sources.list

So I call apport-retrace with:

"-S ~/source-trees/daisy/watchtower-archive/"

apport then reads DistroRelease from the report to choose which
directory in the argument to -S to search for sources.list.

Cheers,
--
Brian Murray                                                 @ubuntu.com

Attachment: signature.asc
Description: PGP signature

Reply via email to