Bug#619113: OO.org → LibreOffice: `/etc/openoffice/` not removed because it is not empty → add note about purging
clone 619113 -1
reassign -1 dictionaries-common
retitle -1 stop running update-openoffice-dicts, please
severity -1 wishlist
block 619113 by -1
thanks
On Mon, Mar 21, 2011 at 01:12:18PM +0100, Paul Menzel wrote:
> I removed the old `openoffice.org*` packages and installed the
^^^^^^^^
aha.
> `libreoffice.org` ones. The following message is shown on the terminal.
You mean libreoffice.
> update-openoffice-dicts: Trying to remove useless dir "/etc/openoffice".
> update-openoffice-dicts: Could not remove possibly non-empty dir "/etc/openoffice".
I think this is a bug in dictionaries-common. It shouldn't run update-openoffice-dicts, it isn't
needed since OOo3(!). The trigger should go away. And IMHO it should only try to remove
/etc/openoffice if it is empty, as there always were more config files then dictionary.lst there.
> The content is as follows.
>
> $ ls -l /etc/openoffice/
> insgesamt 16
> -rw-r--r-- 1 root root 4322 18. Jun 2009 psprint.conf
> -rw-r--r-- 1 root root 151 10. Jun 2010 sofficerc
> -rw-r--r-- 1 root root 795 18. Jun 2009 soffice.sh
>
> These files remain if `openoffice.org-common` was just removed and not
> purged.
>
> $ aptitude search openoffice.org-common
> c openoffice.org-common
And? That is the definition of "remove". Conffiles stay if you just "remove"
If you want them gone, use "purge". How is a bug here? Correct, there isn't :)
> Could the message be elaborated to `You can purge the package to remove
> the superseded OpenOffice.org files.`.
No. Everything you told here is correct behaviour.
> Or is there a migration document where this is or should be covered?
But yes, if you do a "upgrade" this is a bug, those files remain and don't get
migrated. That doesn't make your steps correct, though. What you got is what is
correct from your steps. But there shouldn't be a migration document needed at all.
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: