On Tue, Jul 09, 2013 at 03:21:44PM +0200, Wolfgang Schweer wrote:
> On Tue, Jul 09, 2013 at 02:56:02PM +0200, Petter Reinholdtsen wrote:
> > [Holger Levsen]
> > >> With the rm_conffile line commented out it works...
> > >
> > > this change is still not in svn - do you plan to add it?
> >
> > Is it the correct fix? I fail to understand why leaving the conffile
> > behind can be the correct approach, but then again I do not understand
> > why it fail to remove it either. :/
>
> Some more details: The file /etc/gdm3/greeter.gsettings actually _is_
> removed. But dpkg -l debian-edu-artwork still lists this file. That's
> imo the reason why installing gdm3 fails. Any idea?
RTFM: Using this as postinst seems to be the correct approach. No
problem to install d-e-a first, then gdm3.
--------------------------------------
#! /bin/sh
set -e
dpkg-maintscript-helper rm_conffile \
/etc/gdm3/greeter.gsettings 0.0.39-1 debian-edu-artwork -- "$@"
#DEBHELPER#
case "$1" in
configure)
# remove deprecated diversion
if dpkg --compare-versions "$2" le "0.0.39-1"; then
# remove deprecated diversion (bug #715153)
dpkg-divert --package debian-edu-artwork \
--remove /usr/share/gdm/defaults.conf
dpkg-divert --package debian-edu-artwork \
--rename --remove /etc/gdm3/greeter.gsettings
fi
/usr/share/debian-edu-artwork/update-artwork configure
;;
esac
------------------------------------------------
Bad news follows: gnome desktop-background image scaling is rather
weird now, reason unknown.
Will have to dig into it once again...
Wolfgang
Attachment:
signature.asc
Description: Digital signature