LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-05-2014, 02:52 AM   #1
Adler
Member
 
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:
libreoffice-base
The following packages will be upgraded:
xserver-xorg-video-intel
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:
libreoffice-base
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, 11:42 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You could try:

sudo dpkg purge libreoffice-base

or

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 11:52 AM.
 
Old 08-06-2014, 02:25 PM   #3
Adler
Member
 
Registered: Oct 2004
Location: Wildwood, NJ
Distribution: Debian Jessie
Posts: 192

Original Poster
Rep: Reputation: 18
bigrigdriver,

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.
 
  


Reply

Tags
libreoffice-base


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 08:26 PM
How to install only Writer from Libreoffice package"libreoffice-4.0.3-i486-1alien.txz just.srad Slackware 10 05-30-2013 03:37 PM
LXer: LibreOffice goes for “cleaner and leaner code base” with major update LXer Syndicated Linux News 2 02-08-2013 11:18 AM
How can i connect LibreOffice Base to a mysql database remotely baronobeefdip Linux - Networking 1 07-17-2012 08:11 PM
adding/deleting Red Hat Satellite Base Channels iffarrukh Linux - Software 1 05-29-2012 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:20 PM.

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