On Wed, Apr 26, 2017 at 01:33:19PM +0530, Ritesh Raj Sarraf wrote:
> On Tue, 2017-04-25 at 15:00 -0700, Brian Murray wrote:
> > 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
> > 
> 
> That directory was created by apport itself and has similar structure.
> 
> rrs@learner:/var/tmp/Debian-Build/Result$ ls ~/.cache/apport/retrace/
> Debian 9/  Debian testing/  system/
> 2017-04-26 / 13:28:55 ♒♒♒  ☺  

This is not the directory which you passed to the -S switch. From your
report we can see:

PythonArgs: ['/usr/bin/apport-retrace', '-S', 'Debian GNU', '--cache',
'/home/username/.cache/apport/retrace/', '--stdout',
'/var/crash/_usr_bin_calibre.1000.crash']

The "Debian GNU" directory likely does not exist and that's why the
IOError is raised. If you wanted to use "Debian GNU" as the argument to
"-S" then that directory should contain a folder named "Debian testing",
which then contains an appropriate "sources.list" file for that release
of Debian.

--
Brian Murray

Attachment: signature.asc
Description: PGP signature

Reply via email to