Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-05-2014, 01:52 AM   #1
Registered: Oct 2004
Location: Wildwood, NJ
Distribution: Debian Jessie
Posts: 192

Rep: Reputation: 18
Deleting libreoffice-base

Hi All,

On my way to upgrading to libreoffice4.3 I've run into an issue. I'm running a perfetly great linux box w/ Linux Mint 17 64-bit. Here is my issue:

adler@adler-HP-Spectre-XT-Ultrabook-PC ~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
The following packages will be upgraded:
1 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,433 kB of archives.
After this operation, 6,595 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 243818 files and directories currently installed.)
Removing libreoffice-base (1:4.3.0-0ubuntu1~trusty1) ...
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: 28: /var/lib/dpkg/info/libreoffice-base.postrm: Syntax error: end of file unexpected (expecting "fi")
dpkg: error processing package 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)
adler@adler-HP-Spectre-XT-Ultrabook-PC ~ $

All in all, this has gummed up my system.

Any help would be appreciated in deleting libreoffice-base. TIA.
Old 08-05-2014, 10:42 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You could try:

sudo dpkg purge libreoffice-base


sudo apt-get purge libreoffice-base

If that works properly, then run sudo apt-get update followed by sudo apt-get install libreoffice-base=4.3 (to install the 4.3 version).

Last edited by bigrigdriver; 08-05-2014 at 10:52 AM.
Old 08-06-2014, 01:25 PM   #3
Registered: Oct 2004
Location: Wildwood, NJ
Distribution: Debian Jessie
Posts: 192

Original Poster
Rep: Reputation: 18

Thanks for the reply. I had in fact tried those commands.

What did work is:

mv /var/lib/dpkg/info/libreoffice-base.* /tmp/
dpkg --remove --force-remove-reinstreq libreoffice-base

I guess this thread can be marked as solved. I am now running Libreoffice 4.3.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect LibreOffice Base w/ PostgreSQL carlosinfl Programming 3 10-14-2013 07:26 PM
How to install only Writer from Libreoffice package"libreoffice-4.0.3-i486-1alien.txz just.srad Slackware 10 05-30-2013 02:37 PM
LXer: LibreOffice goes for “cleaner and leaner code base” with major update LXer Syndicated Linux News 2 02-08-2013 10:18 AM
How can i connect LibreOffice Base to a mysql database remotely baronobeefdip Linux - Networking 1 07-17-2012 07:11 PM
adding/deleting Red Hat Satellite Base Channels iffarrukh Linux - Software 1 05-28-2012 11:16 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration