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

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



Le dim 31/08/2003 à 19:45, Rene Engelhard a écrit :
> 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
In fact, if I remember well, /usr/lib/openoffice/share/dict/ooo was a
real directory, but /usr/lib/openoffice/share/dict was a link!

>                 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é
-- 
Jérôme Warnier <jwarnier@beeznest.net>

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: