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

Bug#208044: openoffice.org-debian-files: postinstall fails in setting up symlink



tag 208044 + unreproducible
tag 208044 + moreinfo
thanks

Hi

Alexander Brill wrote:
> In the postinstall this package tries to create a symlink, but it doesn't
> check if the symlink is already in place. So when you try to upgrade the

Do you have actually checked the postinst?

if [ "$1" = "configure" ]; then
        if [ ! -L /usr/lib/openoffice/share/dict/ooo ]; then
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
		if this is not a symlink then do the block

                if [ ! -d /usr/lib/openoffice/share/dict ]; then
                        mkdir -p /usr/lib/openoffice/share/dict
                fi
                echo "Creating symlink..."
                cd /usr/lib/openoffice/share/dict && \
                        ln -s /usr/share/myspell/dicts ooo
        fi
fi

> package it will break the install:
> 
> Creating symlink...
> ln: o/dicts': File exists

I do not see what happens here :/ (You meant ooo/dicts, btgw, right?)

> dpkg: error processing openoffice.org-debian-files (--configure):
>  subprocess post-installation script returned error exit status 1

I received that report per mail too. I still do not know what causes
it.

From what version did you try to upgrade (especially interesting
ist the openoffice.org-debian-files version). Was the symlink in
place before that? Did it point to the right location?

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: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73
      

Attachment: pgp22RV_gpgU5.pgp
Description: PGP signature


Reply to: