Bug#529637: openoffice.org-common: Upgrade fails
Package: openoffice.org-common
Version: 1:3.0.1-11
Severity: normal
This is the error message I get when upgrading:
Preparing to replace openoffice.org-common 1:3.0.1-11 (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
This is what I have in /var/lib/openoffice
# find /var/lib/openoffice
/var/lib/openoffice/
/var/lib/openoffice/basis3.1
/var/lib/openoffice/basis3.1/program
/var/lib/openoffice/basis3.1/program/services.rdb
/var/lib/openoffice/javasettingsunopkginstall.xml
Adding -p to mkdir in postinst should be enough.
Cheers
Mike
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
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
Reply to: