Can't manage to uninstall Libreoffice-base 4.3

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Can't manage to uninstall Libreoffice-base 4.3

Postby kamayok3 on Sun Aug 03, 2014 11:27 pm

I got this message when I tried Sudo apt-get install -f in terminal.

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libreoffice-base
0 upgraded, 0 newly installed, 1 to remove and 16 not upgraded.
1 not fully installed or removed.
After this operation, 6,595 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 242210 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)

Can someone guide me on this problem? Now I can't even update softwares in Update Manager because it always stuck at this removing thingy. Thanks.
kamayok3
Level 1
Level 1
 
Posts: 1
Joined: Sun Aug 03, 2014 11:21 pm

Linux Mint is funded by ads and donations.
 

Re: Can't manage to uninstall Libreoffice-base 4.3

Postby PatH57 on Mon Aug 04, 2014 7:49 am

Hi,

to remove it completely use this:
Code: Select all
sudo apt-get remove --purge libreoffice*

Code: Select all
sudo apt-get clean

Code: Select all
sudo apt-get autoremove
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
User avatar
PatH57
Level 13
Level 13
 
Posts: 4603
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: Can't manage to uninstall Libreoffice-base 4.3

Postby Adler on Tue Aug 05, 2014 2:02 am

Hi,

On my way to upgrading to Libreoffice 4.3 I managed to make a mess of it. I've been Googling around, and landed here. I hope some one can help. I have tried removing libreoffice-base via Synaptic, and every known Terminal command that I can think of to use. However, I always end up here:

adler@adler-HP-Spectre-XT-Ultrabook-PC ~ $ sudo apt-get clean
adler@adler-HP-Spectre-XT-Ultrabook-PC ~ $ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libreoffice-base
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
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)

Any ideas here?
Adler

Wildwood, New Jersey -- On The Jersey Shore
What Doesn't Kill Me, Makes Me Stronger - Friedrich Nietzsche - Was mich nicht umbringt, macht mich starker
Adler's Home @ http://www.jjmacey.net/, And Where I Have Been.
Blog @ http://jjmacey.net/blog/
User avatar
Adler
Level 4
Level 4
 
Posts: 375
Joined: Mon Jan 01, 2007 9:29 pm
Location: Wilwood, New Jersrey

Re: Can't manage to uninstall Libreoffice-base 4.3

Postby PatH57 on Tue Aug 05, 2014 4:08 am

Hi,

did you do this first?
Code: Select all
sudo apt-get remove --purge libreoffice*
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
User avatar
PatH57
Level 13
Level 13
 
Posts: 4603
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: Can't manage to uninstall Libreoffice-base 4.3

Postby Adler on Tue Aug 05, 2014 5:33 am

did you do this first?

Code: Select all
sudo apt-get remove --purge libreoffice*


patH57,

I have tried many terminal commands, and still end up here:

The following packages will be REMOVED:
libreoffice-base libreoffice-calc* libreoffice-common* libreoffice-core*
libreoffice-draw* libreoffice-impress* libreoffice-math* libreoffice-writer*
0 upgraded, 0 newly installed, 8 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 6,595 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 273242 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 ~ $
Adler

Wildwood, New Jersey -- On The Jersey Shore
What Doesn't Kill Me, Makes Me Stronger - Friedrich Nietzsche - Was mich nicht umbringt, macht mich starker
Adler's Home @ http://www.jjmacey.net/, And Where I Have Been.
Blog @ http://jjmacey.net/blog/
User avatar
Adler
Level 4
Level 4
 
Posts: 375
Joined: Mon Jan 01, 2007 9:29 pm
Location: Wilwood, New Jersrey

Re: Can't manage to uninstall Libreoffice-base 4.3

Postby ibrahimansari on Tue Aug 05, 2014 6:24 am

Adler wrote:
did you do this first?

Code: Select all
sudo apt-get remove --purge libreoffice*


patH57,

I have tried many terminal commands, and still end up here:

The following packages will be REMOVED:
libreoffice-base libreoffice-calc* libreoffice-common* libreoffice-core*
libreoffice-draw* libreoffice-impress* libreoffice-math* libreoffice-writer*
0 upgraded, 0 newly installed, 8 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 6,595 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 273242 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 ~ $

Well, you could remove it manually by running the commands below.
Code: Select all
mv /var/lib/dpkg/info/libreoffice-base.* /tmp/
dpkg --remove --force-remove-reinstreq libreoffice-base
 
ibrahimansari
Level 1
Level 1
 
Posts: 12
Joined: Sun Aug 03, 2014 3:15 am

Re: Can't manage to uninstall Libreoffice-base 4.3

Postby PatH57 on Tue Aug 05, 2014 6:27 am

seems you have orphaned packages.

try this or install gtkorphan (package manager)
http://www.ubuntugeek.com/cleaning-up-all-unnecessary-junk-files-in-ubuntu.html
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
User avatar
PatH57
Level 13
Level 13
 
Posts: 4603
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: Can't manage to uninstall Libreoffice-base 4.3

Postby Adler on Tue Aug 05, 2014 6:48 am

Well, you could remove it manually by running the commands below.

Code: Select all
mv /var/lib/dpkg/info/libreoffice-base.* /tmp/
dpkg --remove --force-remove-reinstreq libreoffice-base


ibrahimansari,

Thank you! That did the trick.

PatH57,

Thanks for that, but I already tried that, and running Bleachbit, in Root, and as USR.

All in all, updating to the latest libreoffice4.3, has not been easy. LOL!

Gentlemen, thank you for your help!
Adler

Wildwood, New Jersey -- On The Jersey Shore
What Doesn't Kill Me, Makes Me Stronger - Friedrich Nietzsche - Was mich nicht umbringt, macht mich starker
Adler's Home @ http://www.jjmacey.net/, And Where I Have Been.
Blog @ http://jjmacey.net/blog/
User avatar
Adler
Level 4
Level 4
 
Posts: 375
Joined: Mon Jan 01, 2007 9:29 pm
Location: Wilwood, New Jersrey

Re: Can't manage to uninstall Libreoffice-base 4.3

Postby Adler on Tue Aug 05, 2014 6:50 am

Modes,

You can mark this as SOLVED.
Adler

Wildwood, New Jersey -- On The Jersey Shore
What Doesn't Kill Me, Makes Me Stronger - Friedrich Nietzsche - Was mich nicht umbringt, macht mich starker
Adler's Home @ http://www.jjmacey.net/, And Where I Have Been.
Blog @ http://jjmacey.net/blog/
User avatar
Adler
Level 4
Level 4
 
Posts: 375
Joined: Mon Jan 01, 2007 9:29 pm
Location: Wilwood, New Jersrey

Re: Can't manage to uninstall Libreoffice-base 4.3

Postby ibrahimansari on Sun Aug 24, 2014 4:28 am

Adler wrote:
Well, you could remove it manually by running the commands below.

Code: Select all
mv /var/lib/dpkg/info/libreoffice-base.* /tmp/
dpkg --remove --force-remove-reinstreq libreoffice-base


ibrahimansari,

Thank you! That did the trick.

PatH57,

Thanks for that, but I already tried that, and running Bleachbit, in Root, and as USR.

All in all, updating to the latest libreoffice4.3, has not been easy. LOL!

Gentlemen, thank you for your help!

You're welcome!
ibrahimansari
Level 1
Level 1
 
Posts: 12
Joined: Sun Aug 03, 2014 3:15 am

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: all41, bwmiller, Ian Johnson and 39 guests