» Ubuntu 12.04 Libreoffice update breaks software updating
Ubuntu 12.04 Libreoffice update breaks software updating
|August 16, 2014
Posted by forumadmin
After applying the latest updates today (August 16, 2014), Libreoffice-base will not complete the upgrade due “no diversion” error which then seems to break the postrm script and now I can neither update, install or remove packages.
I have turned off all ppa repositories, performed “sudo dpkg –configure -a”, “sudo apt-get autoremove” as well as “sudo rm -fR /var/cache/apt” to create a clean slate – but to no avail. I have also tried renaming the offending files to .bak.
Output of latest attempt:
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
iw crda wireless-crda wireless-regdb
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 6,748 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 221883 files and directories currently installed.)
Removing libreoffice-base ...
No diversion 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by libreoffice-base', none removed.
No diversion 'diversion of /usr/lib/libreoffice/share/basic/script.xlc to /usr/lib/libreoffice/share/basic/script.xlc.noaccess by libreoffice-base', none removed.
/var/lib/dpkg/info/libreoffice-base.postrm: 31: /var/lib/dpkg/info/libreoffice-base.postrm: Syntax error: end of file unexpected (expecting "fi")
dpkg: error processing libreoffice-base (--remove):
subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
More Related Questions
- Why am I getting the terminal error "try apt-get -f install"? Okay, I just install Ubuntu (the LXDE version, which is Lubuntu) and everytime I try to install a package through the terminal with the "Apt-get install" command, this error pops up:
- Unmet dependencies problem on 12.04 – libcurl4-openssl-dev depends librtmp-dev I'm having troubles with unmet dependencies on Ubuntu 12.04:
libcurl4-openssl-dev depends librtmp-dev
Here is what I've got after running sudo apt-get -f install which suggested running […]
- Getting error while installing python-kivy packages in Ubuntu I'm not able to install python-kivy, I got this error:
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Processing triggers for […]
- Installed packages have unmet dependencies When i tried to install lxc-docker-0.7.6 on ubuntu 13.04, i get the following errors:
The following package was automatically installed and is no longer required:
- Cloning packages from dpkg -l I'm setting up a new machine, and I need to make sure it has all the same packages as one in England being used for a similar project. To that end, I have the results of a dpkg -l call […]
- Why does package mercurial depend on x11-common in a chrooted environment? In relation to a previous question I posed (Make apt-get (or aptitude) run with -y but not prompt for replacement of configuration files?) I came across a somewhat peculiar and hard to […]
- Stuck in broken packages cycle (related to Libreoffice / Openoffice) I have some broken packages after messing up Libreoffice uninstall (I installed Apache Openoffice, but it seems that I didn't fully remove LO first). Below are some of the responses I get […]
- E: Sub-process /usr/bin/dpkg returned an error code (1) seems to be choking on kde-runtime-data version issue 12.04 LTS, on a dell mini 10. Install stable until about a week ago. Updated about 1x a week, sometimes more often. Several days ago, I booted up and the system was no longer working […]
- How to find packages when updating Ubuntu and creating standard source.list file I just upgrade to Ubuntu 14.04 LTS, amd64. I'm trying to install some software and it says for Ubuntu 13.10 and above, the following libraries need to be installed for 32-bit […]
- Ubuntu 13.1 apt-get installs fails with every install/remove command inux-image-3.11.0-26-generic including sudo apt-get --purge autoremove etc and after trying sudo apt-get clean, autoclean, dpkg reconfigure etc
I've been around this problem for days, read everything I could find […]