On Sat, Oct 31, 2009 at 03:53:33PM +0100, Peter Fritzsche wrote:
> I have updated it, but you haven't written your update correctly. It
> only works when you install it and not when updating the package.

/etc/init.d/binfmt-support is a configuration file. By design (of
Debian, not particularly of my package), changes you make to
configuration files are preserved. If you made a change to this file,
then dpkg will ask you whether you want to keep it or replace it with
the packaged file; if it's unable to ask you for some reason, then it
will default to keeping your locally-changed version.

If the file had not been changed locally, then dpkg would have
automatically replaced it with the packaged version.

It would have been considerable effort for me to arrange things such
that it only worked on fresh install and not on upgrade (in the case
where the file was not changed locally), and I did not do so. You're
free to look at the source to confirm this if you don't believe me.

dpkg should have left the packaged version of the file on disk as
/etc/init.d/binfmt-support.dpkg-dist. I suggest that you compare it with
your version and apply the changes. If there is no such file present,
then you should be able to force dpkg to apply the packaged version
using the --force-confnew option.

Regards,

-- 
Colin Watson                                       [[email protected]]



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to