Hi Paul,

On Sun, 2022-01-02 at 17:06 +0100, Paul Gevers wrote:
> I'm not sure your allowed to run dpkg-reconfigure on a trigger as that 
> requires admin interaction. That sounds weird. As an admin I wouldn't 
> expect my configuration to get updated (when installing an "unrelated" 
> package). 
I just wanted to say that re-running dpkg-reconfigure did the trick. So we may
be able to have a simpler script that regenerates the config file by running the
required command and only that one. No need for a full reconfiguration, just un
update of the path in /etc/fpc.cfg 

> And we would want to have a trigger on gcc upgrade? I don't 
> know how triggers work exactly, but wouldn't gcc need to provide the 
> trigger then?
As far as I could see in [1], [2] and [3] we may be able to bypass gcc by
triggering on /usr/lib/gcc or some of its sub folder.

[1] https://wiki.debian.org/DpkgTriggers
[2] https://stackoverflow.com/questions/15276535/dpkg-how-to-use-trigger
[3] 
https://web.archive.org/web/20111022012105/http://www.seanius.net/blog/2009/09/dpkg-triggers-howto/
-- 
Cheers,
Abou Al Montacir

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to