LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-19-2017, 05:39 PM   #16
sdkautoa
LQ Newbie
 
Registered: Jul 2017
Posts: 18

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by hydrurga View Post
Thanks for that listing.

Mea culpa. I should have mentioned that if you maximise your terminal window before running dpkg -l then you don't get as much truncation of the package names in the resultant output.

My other mistake was in not asking you to grep filter the dpkg results so that all those non-installed packages weren't listed (this in fact also solves the first mistake as the package names are now listed in full):

So, bearing that in mind, could you run:

Code:
sudo apt-get purge openoffice
followed by

Code:
sudo apt-get autoremove
(these two commands can in fact be combined into sudo apt-get --purge autoremove openoffice if you so desire)

Then
Code:
dpkg -l '*openoffice*' | grep -v '^un'
and

Code:
dpkg -l '*ooo*' | grep -v '^un'
so that we can see what's left.


Just for interest
-----------------
For anyone reading who's interested in the above two commands, dpkg -l '*package*' uses the asterisks (*) around the packagename fragment to search for any packages in the local package database that have that name fragment anywhere in their name. The inverted quotes (') are used to force bash to treat that name fragment as a string argument to dpkg rather than using it as a glob to match against the files in the current directory.

The -v flag in grep -v '^un' is a negate flag, essentially saying "match the inverse of the string that follows", while '^un' matches the output from dpkg where the package is marked (on the first two letters of its line, hence the ^ which means start of line) as un (not installed).
Okay here are the next set of results from the code you had me run
Code:
steve@steve-SonyLap ~ $ sudo apt-get --purge autoremove openoffice 
[sudo] password for steve: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  openoffice* openoffice-brand-base* openoffice-brand-calc* openoffice-brand-draw* openoffice-brand-en-us*
  openoffice-brand-impress* openoffice-brand-math* openoffice-brand-writer*
0 upgraded, 0 newly installed, 8 to remove and 8 not upgraded.
After this operation, 680 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 194026 files and directories currently installed.)
Removing openoffice-brand-writer (4.0.0-3) ...
Removing openoffice-brand-draw (4.0.0-3) ...
Removing openoffice-brand-base (4.0.0-3) ...
Removing openoffice-brand-calc (4.0.0-3) ...
Removing openoffice-brand-en-us (4.0.0-3) ...
Removing openoffice-brand-impress (4.0.0-3) ...
Removing openoffice-brand-math (4.0.0-3) ...
Removing openoffice (4.0.0-3) ...
steve@steve-SonyLap ~ $ dpkg -l '*openoffice*' | grep -v '^un'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version      Architecture Description
+++-========================
ii  openoffice-base                   4.0.0-3      i386         Base module for Apache OpenOffice 4.0.0
ii  openoffice-calc                   4.0.0-3      i386         Calc module for Apache OpenOffice 4.0.0
ii  openoffice-core01                 4.0.0-3      i386         Core module for Apache OpenOffice 4.0.0
ii  openoffice-core02                 4.0.0-3      i386         Office core module for Apache OpenOffice 4.0.0
ii  openoffice-core03                 4.0.0-3      i386         Office core module for Apache OpenOffice 4.0.0
ii  openoffice-core04                 4.0.0-3      i386         Office core module for Apache OpenOffice 4.0.0
ii  openoffice-core05                 4.0.0-3      i386         Office core module for Apache OpenOffice 4.0.0
ii  openoffice-core06                 4.0.0-3      i386         Office core module for Apache OpenOffice 4.0.0
ii  openoffice-core07                 4.0.0-3      i386         Office core module for Apache OpenOffice 4.0.0
ii  openoffice-debian-menus           4.0-9702     all          OpenOffice desktop integration
ii  openoffice-draw                   4.0.0-3      i386         Draw module for Apache OpenOffice 4.0.0
ii  openoffice-en-us                  4.0.0-3      i386         Language module for Apache OpenOffice 4.0.0, language en_US
ii  openoffice-en-us-base             4.0.0-3      i386         Base language module for Apache OpenOffice 4.0.0, language en_US
ii  openoffice-en-us-calc             4.0.0-3      i386         Calc language module for Apache OpenOffice 4.0.0, language en_US
ii  openoffice-en-us-draw             4.0.0-3      i386         Draw language module for Apache OpenOffice , language en_US
ii  openoffice-en-us-help             4.0.0-3      i386         Language help module for Apache OpenOffice 4.0.0, language en_US
ii  openoffice-en-us-impress          4.0.0-3      i386         Impress language module for Apache OpenOffice 4.0.0, language en_US
ii  openoffice-en-us-math             4.0.0-3      i386         Math language module for Apache OpenOffice 4.0.0, language en_US
ii  openoffice-en-us-res              4.0.0-3      i386         Language resource module for Apache OpenOffice 4.0.0, language en_US
ii  openoffice-en-us-writer           4.0.0-3      i386         Writer language module for Apache OpenOffice 4.0.0, language en_US
ii  openoffice-gnome-integration      4.0.0-3      i386         Gnome integration module for Apache OpenOffice 4.0.0
ii  openoffice-graphicfilter          4.0.0-3      i386         Graphic filter module for Apache OpenOffice 4.0.0
ii  openoffice-images                 4.0.0-3      i386         Images module for Apache OpenOffice 4.0.0
ii  openoffice-impress                4.0.0-3      i386         Impress module for Apache OpenOffice 4.0.0
ii  openoffice-javafilter             4.0.0-3      i386         Java filter module for Apache OpenOffice 4.0.0
ii  openoffice-math                   4.0.0-3      i386         Math module for Apache OpenOffice 4.0.0
ii  openoffice-ogltrans               4.0.0-3      i386         OpenGL slide transitions module for Apache OpenOffice 4.0.0
ii  openoffice-onlineupdate           4.0.0-3      i386         Online update modul for Apache OpenOffice 4.0.0
ii  openoffice-ooofonts               4.0.0-3      i386         Mailcap module for Apache OpenOffice 4.0.0
ii  openoffice-ooolinguistic          4.0.0-3      i386         Linguistic module for Apache OpenOffice 4.0.0
ii  openoffice-pyuno                  4.0.0-3      i386         Pyuno module for Apache OpenOffice 4.0.0
ii  openoffice-ure                    4.0.0-3      i386         UNO Runtime Environment for OpenOffice 4.0.0
ii  openoffice-writer                 4.0.0-3      i386         Writer module for Apache OpenOffice 4.0.0
ii  openoffice-xsltfilter             4.0.0-3      i386         XSLT filter samples module for Apache OpenOffice 4.0.0
steve@steve-SonyLap ~ $ dpkg -l '*ooo*' | grep -v '^un'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version      Architecture Description
+++-=============================
ii  openoffice-ooofonts           4.0.0-3      i386         Mailcap module for Apache OpenOffice 4.0.0
ii  openoffice-ooolinguistic      4.0.0-3      i386         Linguistic module for Apache OpenOffice 4.0.0
steve@steve-SonyLap ~ $

Once again, thanks for all your help.
Steve Kotsiris

Last edited by sdkautoa; 07-22-2017 at 08:17 AM.
 
Old 07-19-2017, 06:02 PM   #17
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
Thanks Steve.

We'll now try wielding a larger sword to get rid of what's left, but be careful that the command isn't going to purge too many packages (i.e. those not in the list of remaining packages that you provided above). You can either abort at the "Do you want to continue [y/n]" stage if you think it is being excessive, or you can run apt-get with the -s flag which only simulates the command and tells you what it would have purged.

So:

Code:
sudo apt-get purge '^openoffice.*'
To simulate:

Code:
sudo apt-get -s purge '^openoffice.*'
You can ignore all the warning messages that say "Package 'blahblah' is not installed, so not removed".

If it completes successfully and you purge the packages, then run sudo apt-get autoremove afterwards.

By the way, if you can trim some of the extraneous equals (=) symbols from your previous post then we can get back to our posts fitting into a normal screen width.

Also, please paste your output in CODE tags (see the # in the LQ advanced editor) - this keeps things neater. Cheers.
 
Old 07-19-2017, 07:50 PM   #18
sdkautoa
LQ Newbie
 
Registered: Jul 2017
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Thanks Steve.

We'll now try wielding a larger sword to get rid of what's left, but be careful that the command isn't going to purge too many packages (i.e. those not in the list of remaining packages that you provided above). You can either abort at the "Do you want to continue [y/n]" stage if you think it is being excessive, or you can run apt-get with the -s flag which only simulates the command and tells you what it would have purged.

So:

Code:
sudo apt-get purge '^openoffice.*'
To simulate:

Code:
sudo apt-get -s purge '^openoffice.*'
You can ignore all the warning messages that say "Package 'blahblah' is not installed, so not removed".

If it completes successfully and you purge the packages, then run sudo apt-get autoremove afterwards.

By the way, if you can trim some of the extraneous equals (=) symbols from your previous post then we can get back to our posts fitting into a normal screen width.

Also, please paste your output in CODE tags (see the # in the LQ advanced editor) - this keeps things neater. Cheers.
I'm a little green at linux so I hope I'm following what you're asking of me.
Code:
steve@steve-SonyLap ~ $ sudo apt-get purge '^openoffice.*'
[sudo] password for steve: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'openoffice-ogltrans' for regex '^openoffice.*'
Note, selecting 'openoffice-writer' for regex '^openoffice.*'
Note, selecting 'openoffice.org-debian-menus' for regex '^openoffice.*'
Note, selecting 'openoffice-gnome-integration' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-fr-fr' for regex '^openoffice.*'
Note, selecting 'openoffice.org-thesaurus-de-ch' for regex '^openoffice.*'
Note, selecting 'openoffice-onlineupdate' for regex '^openoffice.*'
Note, selecting 'openoffice.org-hyphenation-en-ca' for regex '^openoffice.*'
Note, selecting 'openoffice.org-hyphenation-en-us' for regex '^openoffice.*'
Note, selecting 'openoffice.org-updatedicts' for regex '^openoffice.*'
Note, selecting 'openoffice-en-us-help' for regex '^openoffice.*'
Note, selecting 'openoffice-ooolinguistic' for regex '^openoffice.*'
Note, selecting 'openofficeorg-desktop-integration' for regex '^openoffice.*'
Note, selecting 'openoffice.org-kde' for regex '^openoffice.*'
Note, selecting 'openoffice.org-common' for regex '^openoffice.*'
Note, selecting 'openoffice-ure' for regex '^openoffice.*'
Note, selecting 'openoffice-desktop-integration' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-an' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-ca' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-eo' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-es' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-eu' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-fo' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-gl' for regex '^openoffice.*'
Note, selecting 'openoffice-debian-menus' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-nb' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-nn' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-nr' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-ns' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-ss' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-st' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-tl' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-tn' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-uz' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-ve' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-xh' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-zu' for regex '^openoffice.*'
Note, selecting 'openoffice-pyuno' for regex '^openoffice.*'
Note, selecting 'openoffice-xsltfilter' for regex '^openoffice.*'
Note, selecting 'openoffice-graphicfilter' for regex '^openoffice.*'
Note, selecting 'openoffice-ooofonts' for regex '^openoffice.*'
Note, selecting 'openoffice-core01' for regex '^openoffice.*'
Note, selecting 'openoffice-core02' for regex '^openoffice.*'
Note, selecting 'openoffice-core03' for regex '^openoffice.*'
Note, selecting 'openoffice-core04' for regex '^openoffice.*'
Note, selecting 'openoffice-core05' for regex '^openoffice.*'
Note, selecting 'openoffice-core06' for regex '^openoffice.*'
Note, selecting 'openoffice-core07' for regex '^openoffice.*'
Note, selecting 'openoffice.org-hunspell' for regex '^openoffice.*'
Note, selecting 'openoffice.org-hyphenation-en' for regex '^openoffice.*'
Note, selecting 'openoffice.org-hyphenation-fi' for regex '^openoffice.*'
Note, selecting 'openoffice.org-hyphenation-ga' for regex '^openoffice.*'
Note, selecting 'openoffice.org-hyphenation-hr' for regex '^openoffice.*'
Note, selecting 'openoffice.org-hyphenation-id' for regex '^openoffice.*'
Note, selecting 'openoffice.org-calc' for regex '^openoffice.*'
Note, selecting 'openoffice.org-writer' for regex '^openoffice.*'
Note, selecting 'openoffice.org-hyphenation-lt' for regex '^openoffice.*'
Note, selecting 'openoffice.org-hyphenation-pl' for regex '^openoffice.*'
Note, selecting 'openoffice.org-hyphenation-ru' for regex '^openoffice.*'
Note, selecting 'openoffice-en-us-writer' for regex '^openoffice.*'
Note, selecting 'openoffice.org2-thesaurus' for regex '^openoffice.*'
Note, selecting 'openoffice.org-ure' for regex '^openoffice.*'
Note, selecting 'openoffice-en-us-calc' for regex '^openoffice.*'
Note, selecting 'openoffice-en-us-draw' for regex '^openoffice.*'
Note, selecting 'openoffice.org-thesaurus-de' for regex '^openoffice.*'
Note, selecting 'openoffice-calc' for regex '^openoffice.*'
Note, selecting 'openoffice.org-thesaurus-it' for regex '^openoffice.*'
Note, selecting 'openoffice.org-thesaurus-pl' for regex '^openoffice.*'
Note, selecting 'openoffice.org-bundled' for regex '^openoffice.*'
Note, selecting 'openoffice-impress' for regex '^openoffice.*'
Note, selecting 'openoffice-en-us-math' for regex '^openoffice.*'
Note, selecting 'openoffice-draw' for regex '^openoffice.*'
Note, selecting 'openoffice-en-us' for regex '^openoffice.*'
Note, selecting 'openoffice-en-us-impress' for regex '^openoffice.*'
Note, selecting 'openoffice-math' for regex '^openoffice.*'
Note, selecting 'openoffice.org-base' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-en-us' for regex '^openoffice.*'
Note, selecting 'openoffice.org-core' for regex '^openoffice.*'
Note, selecting 'openoffice-unbundled' for regex '^openoffice.*'
Note, selecting 'openoffice.org-dev-doc' for regex '^openoffice.*'
Note, selecting 'openoffice-en-us-base' for regex '^openoffice.*'
Note, selecting 'openoffice.org-dmaths' for regex '^openoffice.*'
Note, selecting 'openoffice-en-us-res' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-de-at' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-de-ch' for regex '^openoffice.*'
Note, selecting 'openoffice.org-spellcheck-de-de' for regex '^openoffice.*'
Note, selecting 'openoffice.org' for regex '^openoffice.*'
Note, selecting 'openoffice-base' for regex '^openoffice.*'
Note, selecting 'openoffice-images' for regex '^openoffice.*'
Note, selecting 'openoffice-javafilter' for regex '^openoffice.*'
Note, selecting 'openoffice.org-unbundled' for regex '^openoffice.*'
Note, selecting 'openoffice.org-hyphenation' for regex '^openoffice.*'
Note, selecting 'openoffice.org-thesaurus-en-au' for regex '^openoffice.*'
Package 'openoffice.org-thesaurus-it' is not installed, so not removed
Note, selecting 'dictionaries-common' instead of 'openoffice.org-updatedicts'
Package 'openoffice.org-hunspell' is not installed, so not removed
Package 'openoffice.org-core' is not installed, so not removed
Note, selecting 'hunspell-an' instead of 'openoffice.org-spellcheck-an'
Package 'openoffice.org' is not installed, so not removed
Note, selecting 'hunspell-ca' instead of 'openoffice.org-spellcheck-ca'
Package 'openoffice.org-spellcheck-en-us' is not installed, so not removed
Note, selecting 'hunspell-eu' instead of 'openoffice.org-spellcheck-eu'
Note, selecting 'hunspell-gl-es' instead of 'openoffice.org-spellcheck-gl'
Note, selecting 'hunspell-uz' instead of 'openoffice.org-spellcheck-uz'
Package 'openoffice.org-writer' is not installed, so not removed
Note, selecting 'hyphen-en-us' instead of 'openoffice.org-hyphenation-en-us'
Note, selecting 'hyphen-en-us' instead of 'openoffice.org-hyphenation-en'
Package 'openoffice.org-hyphenation-hr' is not installed, so not removed
Note, selecting 'hyphen-pl' instead of 'openoffice.org-hyphenation-pl'
Note, selecting 'hyphen-ru' instead of 'openoffice.org-hyphenation-ru'
Package 'openoffice.org-base' is not installed, so not removed
Package 'openoffice-unbundled' is not installed, so not removed
Package 'openoffice.org-common' is not installed, so not removed
Package 'openoffice.org-dev-doc' is not installed, so not removed
Note, selecting 'myspell-eo' instead of 'openoffice.org-spellcheck-eo'
Note, selecting 'myspell-es' instead of 'openoffice.org-spellcheck-es'
Note, selecting 'myspell-fo' instead of 'openoffice.org-spellcheck-fo'
Note, selecting 'myspell-nb' instead of 'openoffice.org-spellcheck-nb'
Note, selecting 'myspell-nn' instead of 'openoffice.org-spellcheck-nn'
Note, selecting 'myspell-nr' instead of 'openoffice.org-spellcheck-nr'
Note, selecting 'myspell-ns' instead of 'openoffice.org-spellcheck-ns'
Note, selecting 'myspell-ss' instead of 'openoffice.org-spellcheck-ss'
Note, selecting 'myspell-st' instead of 'openoffice.org-spellcheck-st'
Note, selecting 'myspell-tn' instead of 'openoffice.org-spellcheck-tn'
Note, selecting 'myspell-ve' instead of 'openoffice.org-spellcheck-ve'
Note, selecting 'myspell-xh' instead of 'openoffice.org-spellcheck-xh'
Note, selecting 'myspell-zu' instead of 'openoffice.org-spellcheck-zu'
Note, selecting 'mythes-de' instead of 'openoffice.org-thesaurus-de'
Note, selecting 'mythes-de-ch' instead of 'openoffice.org-thesaurus-de-ch'
Note, selecting 'mythes-en-au' instead of 'openoffice.org-thesaurus-en-au'
Note, selecting 'mythes-en-au' instead of 'openoffice.org2-thesaurus'
Note, selecting 'mythes-pl' instead of 'openoffice.org-thesaurus-pl'
Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-en-ca'
Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-fi'
Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-ga'
Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-id'
Package 'openoffice.org-calc' is not installed, so not removed
Package 'openoffice.org-kde' is not installed, so not removed
Note, selecting 'myspell-fr-gut' instead of 'openoffice.org-spellcheck-fr-fr'
Note, selecting 'myspell-tl' instead of 'openoffice.org-spellcheck-tl'
Package 'openoffice.org-dmaths' is not installed, so not removed
Package 'openoffice.org-bundled' is not installed, so not removed
Package 'openoffice.org-ure' is not installed, so not removed
Note, selecting 'openoffice-debian-menus' instead of 'openoffice-desktop-integration'
Package 'openofficeorg-desktop-integration' is not installed, so not removed
Package 'openoffice.org-debian-menus' is not installed, so not removed
Package 'openoffice.org-hyphenation' is not installed, so not removed
Package 'openoffice.org-hyphenation-lt' is not installed, so not removed
The following packages will be REMOVED:
  openoffice-base* openoffice-calc* openoffice-core01* openoffice-core02* openoffice-core03* openoffice-core04*
  openoffice-core05* openoffice-core06* openoffice-core07* openoffice-debian-menus* openoffice-draw* openoffice-en-us*
  openoffice-en-us-base* openoffice-en-us-calc* openoffice-en-us-draw* openoffice-en-us-help* openoffice-en-us-impress*
  openoffice-en-us-math* openoffice-en-us-res* openoffice-en-us-writer* openoffice-gnome-integration*
  openoffice-graphicfilter* openoffice-images* openoffice-impress* openoffice-javafilter* openoffice-math*
  openoffice-ogltrans* openoffice-onlineupdate* openoffice-ooofonts* openoffice-ooolinguistic* openoffice-pyuno*
  openoffice-ure* openoffice-writer* openoffice-xsltfilter*
0 upgraded, 0 newly installed, 34 to remove and 9 not upgraded.
After this operation, 365 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 193982 files and directories currently installed.)
Removing openoffice-base (4.0.0-3) ...
Purging configuration files for openoffice-base (4.0.0-3) ...
Removing openoffice-calc (4.0.0-3) ...
Purging configuration files for openoffice-calc (4.0.0-3) ...
Removing openoffice-onlineupdate (4.0.0-3) ...
Removing openoffice-core02 (4.0.0-3) ...
Purging configuration files for openoffice-core02 (4.0.0-3) ...
Removing openoffice-core03 (4.0.0-3) ...
Removing openoffice-core04 (4.0.0-3) ...
Removing openoffice-core05 (4.0.0-3) ...
Removing openoffice-core06 (4.0.0-3) ...
Removing openoffice-core07 (4.0.0-3) ...
Removing openoffice-debian-menus (4.0-9702) ...
/usr/bin/gtk-update-icon-cache
gtk-update-icon-cache: Cache file created successfully.
/usr/bin/gtk-update-icon-cache
gtk-update-icon-cache: Cache file created successfully.
Purging configuration files for openoffice-debian-menus (4.0-9702) ...
Removing openoffice-draw (4.0.0-3) ...
Purging configuration files for openoffice-draw (4.0.0-3) ...
Removing openoffice-en-us-calc (4.0.0-3) ...
Removing openoffice-en-us-help (4.0.0-3) ...
Removing openoffice-en-us-base (4.0.0-3) ...
Removing openoffice-en-us-draw (4.0.0-3) ...
Removing openoffice-en-us-impress (4.0.0-3) ...
Removing openoffice-en-us-math (4.0.0-3) ...
Removing openoffice-en-us-res (4.0.0-3) ...
Removing openoffice-en-us-writer (4.0.0-3) ...
Removing openoffice-gnome-integration (4.0.0-3) ...
Removing openoffice-graphicfilter (4.0.0-3) ...
Removing openoffice-images (4.0.0-3) ...
Removing openoffice-ogltrans (4.0.0-3) ...
Removing openoffice-impress (4.0.0-3) ...
Purging configuration files for openoffice-impress (4.0.0-3) ...
Removing openoffice-javafilter (4.0.0-3) ...
Removing openoffice-math (4.0.0-3) ...
Purging configuration files for openoffice-math (4.0.0-3) ...
Removing openoffice-ooofonts (4.0.0-3) ...
Removing openoffice-ooolinguistic (4.0.0-3) ...
Removing openoffice-pyuno (4.0.0-3) ...
Removing openoffice-writer (4.0.0-3) ...
Purging configuration files for openoffice-writer (4.0.0-3) ...
Removing openoffice-xsltfilter (4.0.0-3) ...
Removing openoffice-en-us (4.0.0-3) ...
Removing openoffice-core01 (4.0.0-3) ...
Removing openoffice-ure (4.0.0-3) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22+linuxmint1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Processing triggers for gnome-icon-theme (3.12.0-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
steve@steve-SonyLap ~ $ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
steve@steve-SonyLap ~ $
Thanks again
Steve Kotsiris

Last edited by sdkautoa; 07-22-2017 at 07:57 AM.
 
Old 07-20-2017, 05:12 AM   #19
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
Ok, that looks good Steve.

Just a note that you don't seem to have noticed the last two lines in my last post where I suggested you edit your previous post to remove some of the equals signs, and also post your output in CODE tags. If you don't understand either of these requests then please let me know.

Let's remove the last two ooo packages:

Code:
sudo apt-get --purge autoremove openoffice-ooofonts openoffice-ooolinguistic
Then a final check that you have no openoffice packages left:

Code:
dpkg -l '*openoffice*' | grep -v '^un'

dpkg -l '*ooo*' | grep -v '^un'
Then bring your system up to date (I notice from your output that you have some updates outstanding; there's no need to provide the output from the commands below):

Code:
sudo apt-get update

sudo apt-get upgrade
Finally, check your home directory for any openoffice/ooo related configuration files and folders (both dot and ordinary) and rename them.
 
Old 07-21-2017, 08:05 PM   #20
sdkautoa
LQ Newbie
 
Registered: Jul 2017
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Ok, that looks good Steve.

Just a note that you don't seem to have noticed the last two lines in my last post where I suggested you edit your previous post to remove some of the equals signs, and also post your output in CODE tags. If you don't understand either of these requests then please let me know.

Let's remove the last two ooo packages:

Code:
sudo apt-get --purge autoremove openoffice-ooofonts openoffice-ooolinguistic
Then a final check that you have no openoffice packages left:

Code:
dpkg -l '*openoffice*' | grep -v '^un'

dpkg -l '*ooo*' | grep -v '^un'
Then bring your system up to date (I notice from your output that you have some updates outstanding; there's no need to provide the output from the commands below):

Code:
sudo apt-get update

sudo apt-get upgrade
Finally, check your home directory for any openoffice/ooo related configuration files and folders (both dot and ordinary) and rename them.
I'm sorry Hydrurga but I don't see any equal signs in my post and I'm not sure what you mean by post my output in CODE tags. But I willing to learn. Kind of green, thanks for being patient with me.
Thanks Steve Kotsiris
 
Old 07-21-2017, 08:15 PM   #21
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,082
Blog Entries: 23

Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
What Hydrurga means is to place your code snippets inside [CODE]...[/CODE] tags for better readability. You may type those yourself or click the "#" button in the edit controls.

It turns this...

steve@steve-SonyLap ~ $ sudo apt-get purge '^openoffice.*'
[sudo] password for steve:
Reading package lists... Done
Building dependency tree
Reading state information... Done

Into this...

Code:
steve@steve-SonyLap ~ $ sudo apt-get purge '^openoffice.*'
[sudo] password for steve:
Reading package lists... Done
Building dependency tree
Reading state information... Done
...which sets examples apart from the text, is much easier on the eyes and will preserve formatting when that is important.

Last edited by astrogeek; 07-21-2017 at 08:20 PM.
 
Old 07-21-2017, 08:44 PM   #22
sdkautoa
LQ Newbie
 
Registered: Jul 2017
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by astrogeek View Post
What Hydrurga means is to place your code snippets inside [CODE]...[/CODE] tags for better readability. You may type those yourself or click the "#" button in the edit controls.

It turns this...

steve@steve-SonyLap ~ $ sudo apt-get purge '^openoffice.*'
[sudo] password for steve:
Reading package lists... Done
Building dependency tree
Reading state information... Done

Into this...

Code:
steve@steve-SonyLap ~ $ sudo apt-get purge '^openoffice.*'
[sudo] password for steve:
Reading package lists... Done
Building dependency tree
Reading state information... Done
...which sets examples apart from the text, is much easier on the eyes and will preserve formatting when that is important.
Thanks Astrogeek, what about the = signs trimming?
Thanks Steve Kotsiris
 
Old 07-21-2017, 09:55 PM   #23
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,082
Blog Entries: 23

Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
Quote:
Originally Posted by sdkautoa View Post
Thanks Astrogeek, what about the = signs trimming?
Thanks Steve Kotsiris
Ah! Sorry I did not mention that...

Your posts above still contain the =======...s which you used for separators. These cause the page to be extra wide because there is no whitespace for them to wrap on, which makes the browser require horizontal scrolling for the entire page for some users (including myself), with differing screen sizes.

If you would edit that post to remove those lines, or insert a line break or two it would make it much easier for others to read the thread.

Thanks!

Last edited by astrogeek; 07-21-2017 at 09:58 PM. Reason: typos
 
Old 07-21-2017, 10:11 PM   #24
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,169

Rep: Reputation: 2644Reputation: 2644Reputation: 2644Reputation: 2644Reputation: 2644Reputation: 2644Reputation: 2644Reputation: 2644Reputation: 2644Reputation: 2644Reputation: 2644
Just saw this in the Slackware forum. http://www.linuxquestions.org/questi...-a-4175610351/

Apparently there is a problem with Oracle Java and recent kernel patches. A fix is in the pipeline.
 
Old 07-22-2017, 08:28 AM   #25
sdkautoa
LQ Newbie
 
Registered: Jul 2017
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sdkautoa View Post
I'm sorry Hydrurga but I don't see any equal signs in my post and I'm not sure what you mean by post my output in CODE tags. But I willing to learn. Kind of green, thanks for being patient with me.
Thanks Steve Kotsiris
Here is the output for the lines of code to remove the remaining OpenOffice stuff

Code:
steve@steve-SonyLap ~ $ sudo apt-get --purge autoremove openoffice-ooofonts openoffice-ooolinguistic
[sudo] password for steve: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package openoffice-ooofonts
E: Unable to locate package openoffice-ooolinguistic
steve@steve-SonyLap ~ $ dpkg -l '*openoffice*' | grep -v '^un'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version      Architecture Description
+++-===============================-============-============-=================================
steve@steve-SonyLap ~ $ dpkg -l '*ooo*' | grep -v '^un'
dpkg-query: no packages found matching *ooo*
steve@steve-SonyLap ~ $ 
re is the output for the lines of code to remove the remaining OpenOffice stuff
Then I ran the update codes and it said that it wasn't able to download a couple of files, so I reran the update codes again and it accomplished the task the second time through.
Thanks again Steve Kotsiris
 
Old 07-22-2017, 09:19 AM   #26
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
Excellent, thanks Steve.

I am an idiot by the way - you had already removed those two packages with the *openoffice* purge. My brain obviously isn't running well at the moment.

Did you rename the personal configuration files/folders in your home directory? Is so, which ones did you find?

Anyway, if you have done that then personally I would make an image of the relevant partition(s), depending on how you have them set up (root and home perhaps?). That way, you can easily return to this point in time if things get very messed up.

Once you've done that, or if you choose not to do it, I would then install the latest version of OpenOffice (if you've decided to stick with it rather than move to LibreOffice). The latest version 4.1.3 can be obtained in deb format from https://www.openoffice.org/download/index.html . Then test to see if the problem still exists.
 
Old 07-22-2017, 05:49 PM   #27
sdkautoa
LQ Newbie
 
Registered: Jul 2017
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Excellent, thanks Steve.

I am an idiot by the way - you had already removed those two packages with the *openoffice* purge. My brain obviously isn't running well at the moment.

Did you rename the personal configuration files/folders in your home directory? Is so, which ones did you find?

Anyway, if you have done that then personally I would make an image of the relevant partition(s), depending on how you have them set up (root and home perhaps?). That way, you can easily return to this point in time if things get very messed up.

Once you've done that, or if you choose not to do it, I would then install the latest version of OpenOffice (if you've decided to stick with it rather than move to LibreOffice). The latest version 4.1.3 can be obtained in deb format from https://www.openoffice.org/download/index.html . Then test to see if the problem still exists.
I found a folder in Home/Steve/.openoffice I renamed to .oldopenoffice, that's the only one I found.
I found some info on how to create a backup
sudo su
cd /
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /
It made up a file backup.tgz
But how do I get it burned onto a dvd, and as image? Do I need a special prog to burn with my dvd?
Thanks again Steve Kotsiris
 
Old 07-23-2017, 07:42 AM   #28
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
Quote:
Originally Posted by sdkautoa View Post
I found a folder in Home/Steve/.openoffice I renamed to .oldopenoffice, that's the only one I found.
I found some info on how to create a backup
sudo su
cd /
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /
It made up a file backup.tgz
But how do I get it burned onto a dvd, and as image? Do I need a special prog to burn with my dvd?
Thanks again Steve Kotsiris
Ok, thanks Steve.

I've never backed up that way so can't help you with that. Perhaps you might want to start another thread on the subject?
 
Old 07-23-2017, 02:25 PM   #29
sdkautoa
LQ Newbie
 
Registered: Jul 2017
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Ok, thanks Steve.

I've never backed up that way so can't help you with that. Perhaps you might want to start another thread on the subject?

Installed the latest version of OpenOffice 4.1.3 and my base is still crashing every time i try to do anything in a form.
So now do I follow all the steps from the previous posts to completely remove OpenOffice again and try installing 4.0 to see if it works?
Thanks for all your help. Steve Kotsiris
 
Old 07-23-2017, 02:58 PM   #30
sdkautoa
LQ Newbie
 
Registered: Jul 2017
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
Just saw this in the Slackware forum. http://www.linuxquestions.org/questi...-a-4175610351/

Apparently there is a problem with Oracle Java and recent kernel patches. A fix is in the pipeline.
pd

Is there a way to tell if I updated to this Kernel? and if I did how would I go back to the previous one? I know I'm using Oracle Java for my database.
Thanks for your help
Steve Kotsiris
 
  


Reply


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
OpenOffice 3.0.1, JDBC, MySQL and Base tronayne Slackware 19 03-01-2009 10:20 AM
OpenOffice Base: How do it start it? DavidMcCann Linux - Software 2 09-22-2008 05:30 PM
openoffice Base wizzards. caa1980 Ubuntu 1 07-02-2007 10:19 PM
Openoffice Base 2 beta. How to use MySQL KR-data Linux - Software 1 04-24-2005 12:45 PM
Scroll crashes.......... nostromo Mandriva 0 07-31-2004 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:13 AM.

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
Open Source Consulting | Domain Registration