Comment 3 for bug 1837173

Revision history for this message
Brian Murray (brian-murray) wrote : Re: [Bug 1837173] [NEW] shall allow local save even it's neither ubuntu nor native.

On Fri, Jul 19, 2019 at 04:46:08AM -0000, Yuan-Chen Cheng wrote:
> Public bug reported:
>
> For command, apport-cli -p PKG -f --save=local-save.log, if the PKG is a
> local test one, it won't save the log.
>
> Let's skip package check if --save option is used.

The check to see if the package is one provided by Ubuntu can be skipped
by setting the local environment variable "APPORT_DISABLE_DISTRO_CHECK".
For example this works for me:

APPORT_DISABLE_DISTRO_CHECK=1 ubuntu-bug makemkv-oss

If I had not set the environment variable I would be presented with a
message about the package not being an official one. Is there a reason
that using that environment variable will not work for you?

--
Brian Murray