Public bug reported:

Binary package hint: synaptic

Synaptic forces apt-listchanges to use the gtk frontend even if it is
configured to only send mail. It's been like that for quite a while now
but today I felt like investigating the matter. Apparently this is an
inadvertent side effect of the fix committed for bug #17999. From
gtk/rgdebinstallprogress.cc line 370 [1]:

    putenv("APT_LISTCHANGES_FRONTEND=gtk");

Judging from the apt-listchanges source code this environment variable
always takes precedence over the setting in the configuration file.
However, I really only want the mail output for easy reference in case I
need it, and perhaps for a little relaxed bedtime reading... or maybe
not. Anyway, right now there seems to be no way to shut up apt-
listchanges and still get the mails, short of hacking synaptic or apt-
listchanges. So, to fix this I could either add some logic in synaptic
to handle the listchanges frontend properly, or alternatively redefine
APT_LISTCHANGES_FRONTEND to only apply if the configuration file doesn't
say "none" or "mail", which could be handled within apt-listchanges
itself.

Any other ideas? Which is the preferred way to go?

[1] <http://codebrowse.launchpad.net/~ubuntu-core-
dev/synaptic/ubuntu/annotate/michael.vogt%40ubuntu.com-20070910152852-gins4bdv4rdm0kxz?file_id=rgdebinstallprogress.cc-20060222190946-48af831e059fbbc9#L370>

** Affects: synaptic (Ubuntu)
     Importance: Undecided
         Status: New

-- 
apt-listchanges setup ignored
https://bugs.launchpad.net/bugs/141366
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to