On Sat, 5 Apr 2025 08:21:35 -0400 =?UTF-8?Q?Jeremy_B=C3=ADcha?= <jeremy.bi...@canonical.com> wrote: > On Sat, Apr 5, 2025 at 8:03 AM Martin-Éric Racine > <martin-eric.rac...@iki.fi> wrote: > > Package: gimp-data > > Version: 3.0.2-1 > > Severity: normal > > X-Debbugs-Cc: martin-eric.rac...@iki.fi > > > > Gimp 3 apparently installs files in /etc/gimp/2.0/ instead of > > /etc/gimp/3.0/ and the transition from Gimp 2 to Gimp 3 apparently results > > in mishandled config files: > > gimp-data installs to /etc/gimp/3.0/ . The 2.0 files are leftover from gimp 2. > > There is a postinst script that was supposed to have removed those > files, but maybe the syntax is wrong? > https://salsa.debian.org/gnome-team/gimp/-/blob/debian/latest/debian/gimp-data.postinst
Doing a recursive 'rm' is incorrect. It will not clean the files off the 'dpkg' registry. You need to populate debian/gimp-data.maintscript with suitable mv_conffile or rm_conffile statements. Martin-Éric