Bug#281643: openoffice.org-l10n-en: Can't install openoffice.org. Beacuse of wrong order of unpacking.
Package: openoffice.org-l10n-en
Version: 1.1.2dfsg1-2
Severity: important
I tried to install openoffice.org the following way....
danuvius:~# apt-get install openoffice.org
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
openoffice.org-bin openoffice.org-debian-files openoffice.org-l10n-en
Suggested packages:
myspell-dictionary openoffice.org-help ooqstart-gnome oooqs-kde cupsys-bsd libsane prelink openoffice.org-hyphenation openoffice.org-thesaurus openoffice.org-mimelnk
myspell-dictionary-en openoffice.org-hyphenation-en openoffice.org-thesaurus-en openoffice.org-help-en
The following NEW packages will be installed:
openoffice.org openoffice.org-bin openoffice.org-debian-files openoffice.org-l10n-en
0 upgraded, 4 newly installed, 0 to remove and 3 not upgraded.
Need to get 54.1MB of archives.
After unpacking 179MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 ftp://ftp.snt.utwente.nl unstable/main openoffice.org-bin 1.1.2dfsg1-2 [43.7MB]
Get:2 ftp://ftp.snt.utwente.nl unstable/main openoffice.org-debian-files 1.1.2-5+1 [32.4kB]
Get:3 ftp://ftp.snt.utwente.nl unstable/main openoffice.org-l10n-en 1.1.2dfsg1-2 [3519kB]
Get:4 ftp://ftp.snt.utwente.nl unstable/main openoffice.org 1.1.2dfsg1-2 [6930kB]
Fetched 54.1MB in 32s (1662kB/s)
Preconfiguring packages ...
Selecting previously deselected package openoffice.org-bin.
(Reading database ... 123541 files and directories currently installed.)
Unpacking openoffice.org-bin (from .../openoffice.org-bin_1.1.2dfsg1-2_i386.deb) ...
Selecting previously deselected package openoffice.org-debian-files.
Unpacking openoffice.org-debian-files (from .../openoffice.org-debian-files_1.1.2-5+1_all.deb) ...
Selecting previously deselected package openoffice.org-l10n-en.
Unpacking openoffice.org-l10n-en (from .../openoffice.org-l10n-en_1.1.2dfsg1-2_all.deb) ...
Selecting previously deselected package openoffice.org.
Unpacking openoffice.org (from .../openoffice.org_1.1.2dfsg1-2_all.deb) ...
dpkg: error processing /var/cache/apt/archives/openoffice.org_1.1.2dfsg1-2_all.deb (--unpack):
trying to overwrite /usr/lib/openoffice/share/template/english/wizard/bitmap', which is also in package openoffice.org-l10n-en
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/openoffice.org_1.1.2dfsg1-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
With the help of _rene__ on #debian i did the following to work around it. Filling this bug on request of _rene_
danuvius:~# dpkg -i --force-overwrite /var/cache/apt/archives/openoffice.org_1.1.2dfsg1-2_all.deb
(Reading database ... 124062 files and directories currently installed.)
Unpacking openoffice.org (from .../openoffice.org_1.1.2dfsg1-2_all.deb) ...
dpkg - warning, overriding problem because --force enabled:
trying to overwrite /usr/lib/openoffice/share/template/english/wizard/bitmap', which is also in package openoffice.org-l10n-en
dpkg: dependency problems prevent configuration of openoffice.org:
openoffice.org depends on openoffice.org-debian-files (>> 1.1.1+1.1.2rc3); however:
Package openoffice.org-debian-files is not configured yet.
openoffice.org depends on openoffice.org-bin (>> 1.1.1+1.1.2rc3); however:
Package openoffice.org-bin is not configured yet.
openoffice.org depends on openoffice.org-l10n-en (>> 1.1.1+1.1.2rc3) | openoffice.org-l10n-1.1.2; however:
Package openoffice.org-l10n-en is not configured yet.
Package openoffice.org-l10n-1.1.2 is not installed.
Package openoffice.org-l10n-en which provides openoffice.org-l10n-1.1.2 is not configured yet.
dpkg: error processing openoffice.org (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
openoffice.org
danuvius:~# apt-get -f install
And then it installs fine.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=nl_NL@euro, LC_CTYPE=nl_NL@euro (charmap=ISO-8859-15) (ignored: LC_ALL set to nl_NL@euro)
Versions of packages openoffice.org-l10n-en depends on:
ii openoffice.org 1.1.2dfsg1-2 high-quality office productivity s
-- no debconf information
Reply to: