I messed things up by trying to install Libreoffice before removing OpenOfice 3. Now I have dependency issues. Below is the error message I get from Synaptiks when I try to remove OpenOffice:
E: /var/cache/apt/archives/libreoffice-common_1%3a3.6.0~rc4-0ubuntu3~ppa1~precise1_all.deb: trying to overwrite '/usr/bin/soffice', which is also in package openoffice.org-debian-menus 3.3-9556
I also tried:
cliff@cliff-HP-Pavilion-dv7-Notebook-PC:~$ sudo apt-get install -f
[sudo] password for cliff:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw
libreoffice-gnome libreoffice-gtk libreoffice-impress libreoffice-math libreoffice-style-tango
libreoffice-writer python-uno
Suggested packages:
libreoffice-base libreoffice-style-hicontrast libreoffice-style-crystal libreoffice-style-oxygen
libreoffice-evolution tango-icon-theme libreoffice-gcj libreoffice-filter-binfilter
libreoffice-java-common
The following NEW packages will be installed:
libreoffice-common
The following packages will be upgraded:
libreoffice-base-core libreoffice-calc libreoffice-core libreoffice-draw libreoffice-gnome
libreoffice-gtk libreoffice-impress libreoffice-math libreoffice-style-tango libreoffice-writer
python-uno
11 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
14 not fully installed or removed.
Need to get 0 B/83.2 MB of archives.
After this operation, 91.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 393908 files and directories currently installed.)
Unpacking libreoffice-common (from .../libreoffice-common_1%3a3.6.0~rc4-0ubuntu3~ppa1~precise1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libreoffice-common_1%3a3.6.0~rc4-0ubuntu3~ppa1~precise1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice.org-debian-menus 3.3-9556
rmdir: failed to remove `/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove `/var/lib/libreoffice/share/': Directory not empty
rmdir: failed to remove `/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove `/var/lib/libreoffice': Directory not empty
rmdir: failed to remove `/var/lib/libreoffice': Directory not empty
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for gnome-icon-theme ...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a3.6.0~rc4-0ubuntu3~ppa1~precise1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cliff@cliff-HP-Pavilion-dv7-Notebook-PC:~$
Any Ideas on how to get past this?
E: /var/cache/apt/archives/libreoffice-common_1%3a3.6.0~rc4-0ubuntu3~ppa1~precise1_all.deb: trying to overwrite '/usr/bin/soffice', which is also in package openoffice.org-debian-menus 3.3-9556
I also tried:
cliff@cliff-HP-Pavilion-dv7-Notebook-PC:~$ sudo apt-get install -f
[sudo] password for cliff:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw
libreoffice-gnome libreoffice-gtk libreoffice-impress libreoffice-math libreoffice-style-tango
libreoffice-writer python-uno
Suggested packages:
libreoffice-base libreoffice-style-hicontrast libreoffice-style-crystal libreoffice-style-oxygen
libreoffice-evolution tango-icon-theme libreoffice-gcj libreoffice-filter-binfilter
libreoffice-java-common
The following NEW packages will be installed:
libreoffice-common
The following packages will be upgraded:
libreoffice-base-core libreoffice-calc libreoffice-core libreoffice-draw libreoffice-gnome
libreoffice-gtk libreoffice-impress libreoffice-math libreoffice-style-tango libreoffice-writer
python-uno
11 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
14 not fully installed or removed.
Need to get 0 B/83.2 MB of archives.
After this operation, 91.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 393908 files and directories currently installed.)
Unpacking libreoffice-common (from .../libreoffice-common_1%3a3.6.0~rc4-0ubuntu3~ppa1~precise1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libreoffice-common_1%3a3.6.0~rc4-0ubuntu3~ppa1~precise1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice.org-debian-menus 3.3-9556
rmdir: failed to remove `/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove `/var/lib/libreoffice/share/': Directory not empty
rmdir: failed to remove `/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove `/var/lib/libreoffice': Directory not empty
rmdir: failed to remove `/var/lib/libreoffice': Directory not empty
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for gnome-icon-theme ...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a3.6.0~rc4-0ubuntu3~ppa1~precise1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cliff@cliff-HP-Pavilion-dv7-Notebook-PC:~$
Any Ideas on how to get past this?
Comment