Bug#1102128: gimp-data: Gimp 3 installs files to /etc/gimp/2.0/ and mishandles configs

Martin-Éric Racine martin-eric.racine at iki.fi
Sat Apr 5 13:33:26 BST 2025


On Sat, 5 Apr 2025 08:21:35 -0400 =?UTF-8?Q?Jeremy_B=C3=ADcha?=
<jeremy.bicha at canonical.com> wrote:
> On Sat, Apr 5, 2025 at 8:03 AM Martin-Éric Racine
> <martin-eric.racine at iki.fi> wrote:
> > Package: gimp-data
> > Version: 3.0.2-1
> > Severity: normal
> > X-Debbugs-Cc: martin-eric.racine at 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



More information about the pkg-gnome-maintainers mailing list