Comment 15 for bug 11746

Revision history for this message
In , Paul Brossier (piem) wrote : Calls update-mozilla-firefox-chrome on purge

just checked the following patch works:

# before
$ sudo dpkg --force-depends --purge mozilla-firefox
dpkg: mozilla-firefox: dependency problems, but removing anyway as you request:
 mozilla-firefox-gnome-support depends on mozilla-firefox (= 1.0-4).
(Reading database ... 82173 files and directories currently installed.)
Removing mozilla-firefox ...
Purging configuration files for mozilla-firefox ...
$ sudo dpkg --purge mozilla-firefox-gnome-support
(Reading database ... 81699 files and directories currently installed.)
Removing mozilla-firefox-gnome-support ...
/var/lib/dpkg/info/mozilla-firefox-gnome-support.postrm: line 5: update-mozilla-firefox-chrome: command not found
dpkg: error processing mozilla-firefox-gnome-support (--purge):
 subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
 mozilla-firefox-gnome-support

# after
$ sudo dpkg --force-depends --purge mozilla-firefox
dpkg: mozilla-firefox: dependency problems, but removing anyway as you request:
 mozilla-firefox-gnome-support depends on mozilla-firefox (= 1.0+dfsg.1-1.1).
(Reading database ... 82172 files and directories currently installed.)
Removing mozilla-firefox ...
Purging configuration files for mozilla-firefox ...
$ sudo dpkg --purge mozilla-firefox-gnome-support
(Reading database ... 81699 files and directories currently installed.)
Removing mozilla-firefox-gnome-support ...
Purging configuration files for mozilla-firefox-gnome-support ...