On 2023-04-02 17:32:29 +0200, Francesco Poli wrote: > On Thu, 30 Mar 2023 01:02:00 +0200 Vincent Lefevre wrote: > > > On 2023-03-29 14:25:23 -0300, Antonio Terceiro wrote: > [...] > > > If anyone can still see this bug, it would be nice to configure > > > apt-listbugs in debug mode, e.g. setting > > > > > > DPkg::Pre-Install-Pkgs {"/usr/bin/apt-listbugs -d apt";}; > > > > > > in /etc/apt/apt.conf.d/10apt-listbugs (i.e. adding the `-d` option), so > > > that when it happens we have a trace of the requests/reponses. > > > > Is it possible to redirect (only) the debug data to a file? > > Otherwise that's too invasive. > > All (well, almost all) debug output goes to stderr, so, yes, it should > be possible to redirect only the debug data to a file. > > I think that > > DPkg::Pre-Install-Pkgs {"/usr/bin/apt-listbugs -d apt 2> > /tmp/apt-listbugs.err";}; > > should achieve that goal.
But then, how can one get the error messages (which are still important) in the terminal? -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)