[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#619113: OO.org → LibreOffice: `/etc/openoffice/` not removed because it is not empty → add note about purging



Hi,

On Mon, Mar 21, 2011 at 03:01:49PM +0100, Paul Menzel wrote:
>         $ dpkg -L openoffice.org-common
>         /etc
>         /etc/bash_completion.d
>         /etc/bash_completion.d/ooffice.sh

This gets removed before libreoffice-common gets installed:

libreoffice-common.preinst:                rm_conffile "/etc/bash_completion.d/ooffice.sh" libreoffice-common

        if dpkg --compare-versions "$2" lt "1:3.3.0~rc4-2"; then
                rm_conffile "/etc/bash_completion.d/ooffice.sh" libreoffice-common
        fi

(only affecting upgrades where libreoffice was already installed)

and on openoffice.org-common upgrade, too, before it gets installed:

case "$1" in upgrade)
        if dpkg --compare-versions "$2" lt "1:3.3.0~"; then
                rm_conffile "/etc/bash_completion.d/ooffice.sh" openoffice.org-common
        fi
esac

Which openoffice.org-common version did you installed? Anything else than
3.3.0-x is a bug. Do proper upgrades :-)
 
>         /etc/openoffice/soffice.sh
>         /usr/lib/openoffice
>         /usr/lib/openoffice/program
>         /usr/lib/openoffice/share
>         /usr/lib/openoffice/share/config
> 
> I just found additionally the following files there
> 
>         $ ls /usr/lib/openoffice/program/share/config/
>         javasettingsunopkginstall.xml
>         $ ls /usr/lib/openoffice/share/config/
>         javasettingsunopkginstall.xml

those get removed when openoffice.org-common is removed, afair.

> So I guess, I can safely purge `openoffice.org-common`.

Yes.

> Will you close this bug or should I do this?

Depends on what Agustin thinks to do with this bug. I would want to keep
it until the upgrade doesn't leave files over anymore.

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



Reply to: