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

Bug#529620: openoffice.org-common 1%3a3.1.0-2 fails to install



severity 529620 serious
close 529620 1:3.1.0-3
merge 529440 529518 529620
thanks

Hi,

Alexey Salmin wrote:
> (Reading database ... 347270 files and directories currently installed.)
> Preparing to replace openoffice.org-common 1:3.1.0-1 (using .../openoffice.org-common_1%3a3.1.0-2_all.deb) ...
> mkdir: cannot create directory `/var/lib/openoffice/share/config': No such file or directory
> dpkg: error processing /var/cache/apt/archives/openoffice.org-common_1%3a3.1.0-2_all.deb (--unpack):
>  subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
>  /var/cache/apt/archives/openoffice.org-common_1%3a3.1.0-2_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Seems that directory /var/lib/openoffice/share is missing in the package.

No.

$ dpkg --contents openoffice.org-common_3.1.0-2_all.deb | grep openoffice\/share | grep var
drwxr-xr-x root/root         0 2009-05-18 22:49 ./var/lib/openoffice/share/
drwxr-xr-x root/root         0 2009-05-18 22:49 ./var/lib/openoffice/share/config/
-rw-r--r-- root/root       162 2007-08-17 13:49 ./var/lib/openoffice/share/config/javasettingsunopkginstall.xml
lrwxrwxrwx root/root         0 2009-05-18 22:56 ./usr/lib/openoffice/basis3.1/share/config/javasettingsunopkginstall.xml -> /var/lib/openoffice/share/config/javasettingsunopkginstall.xml
lrwxrwxrwx root/root         0 2009-05-18 22:56 ./usr/lib/openoffice/share/uno_packages/cache -> /var/spool/openoffice/uno_packages/cache

The error is because the preinst tries to preserve the old file and moving
it to the new location. And does a mkdir instead of mkdir -p when creating
the dict.

BTW: Already reported two times (and fixed since hours as you reported the
bug....)

Regards,

Rene

> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing'), (10, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.29-1-amd64 (SMP w/1 CPU core)
> Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) (ignored: LC_ALL set to ru_RU.KOI8-R)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages openoffice.org-common depends on:
> pn  openoffice.org-style-galaxy   <none>     (no description available)
> 
> Versions of packages openoffice.org-common recommends:
> pn  openoffice.org-style-crystal  <none>     (no description available)
> pn  openoffice.org-style-tango    <none>     (no description available)
> ii  xfonts-mathml                 2          Type1 Symbol font for MathML
> 
> Versions of packages openoffice.org-common suggests:
> pn  openoffice.org-style-hicontra <none>     (no description available)
> pn  openoffice.org-style-industri <none>     (no description available)
> 
> -- no debconf information
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-openoffice-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
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




Reply to: