LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-18-2019, 07:03 PM   #31
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925

Thanks. You need to install the latest version of libreoffice-common but given that apt is playing up, I imagine that it will balk at:
Code:
apt install libreoffice-common
It it doesn't work, then you're going to have to download the file and install it manually:

Code:
wget http://security.ubuntu.com/ubuntu/pool/main/libr/libreoffice/libreoffice-common_6.0.7-0ubuntu0.18.04.5_all.deb

sudo dpkg -i libreoffice-common_6.0.7-0ubuntu0.18.04.5_all.deb
That may fail as well, in which case we will probably have to chase dependencies.
 
Old 04-18-2019, 07:07 PM   #32
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
yes first failed, second said I have broken packages, and I'm not exactly sure how to fix those.
 
Old 04-18-2019, 07:08 PM   #33
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by ScottB63 View Post
yes first failed, second said I have broken packages, and I'm not exactly sure how to fix those.
Can you provide the output from the second command.
 
Old 04-18-2019, 07:16 PM   #34
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
Ran it again, I obviously did something wrong the first time, here is the output:
Code:
scott@scott-NV57H:~$ sudo dpkg -i libreoffice-common_6.0.7-0ubuntu0.18.04.5_all.deb
(Reading database ... 321573 files and directories currently installed.)
Preparing to unpack libreoffice-common_6.0.7-0ubuntu0.18.04.5_all.deb ...
Unpacking libreoffice-common (1:6.0.7-0ubuntu0.18.04.5) over (1:6.0.7-0ubuntu0.18.04.2) ...
dpkg: error processing archive libreoffice-common_6.0.7-0ubuntu0.18.04.5_all.deb (--install):
 unable to open '/usr/lib/libreoffice/share/gallery/sg1.sdv.dpkg-new': Operation not permitted
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint4) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for gnome-icon-theme (3.12.0-3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Errors were encountered while processing:
 libreoffice-common_6.0.7-0ubuntu0.18.04.5_all.deb
 
Old 04-18-2019, 07:20 PM   #35
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Are you running Sophos anti-virus?
 
Old 04-18-2019, 07:21 PM   #36
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
Yes
 
Old 04-18-2019, 07:23 PM   #37
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Thought so. I just came across this:

https://forums.linuxmint.com/viewtopic.php?t=283441

Stop Sophos. Then try the sudo dpkg -i command again.
 
Old 04-18-2019, 07:33 PM   #38
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
Sorry, it took me a few to figure out how to stop Sophos.

Code:
scott@scott-NV57H:~$ sudo dpkg -i libreoffice-common_6.0.7-0ubuntu0.18.04.5_all.deb
(Reading database ... 321573 files and directories currently installed.)
Preparing to unpack libreoffice-common_6.0.7-0ubuntu0.18.04.5_all.deb ...
Unpacking libreoffice-common (1:6.0.7-0ubuntu0.18.04.5) over (1:6.0.7-0ubuntu0.18.04.2) ...
dpkg: dependency problems prevent configuration of libreoffice-common:
 libreoffice-common depends on libreoffice-style-tango; however:
  Package libreoffice-style-tango is not configured yet.

dpkg: error processing package libreoffice-common (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint4) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for gnome-icon-theme (3.12.0-3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Errors were encountered while processing:
 libreoffice-common
 
Old 04-18-2019, 07:36 PM   #39
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
For future readers of this thread (who deserve a medal if they read this far), how did you stop Sophos?

Ok, we now have a mix of installed/uninstalled/configured/unconfigured LibreOffice packages. So let's throw this at it:

Code:
sudo apt-get -f install
 
Old 04-18-2019, 07:38 PM   #40
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
I read the below output several times....still can't tell if it is good or bad..lol

Code:
scott@scott-NV57H:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libreoffice-style-tango (1:6.0.7-0ubuntu0.18.04.5) ...
Setting up libreoffice-common (1:6.0.7-0ubuntu0.18.04.5) ...
Setting up libreoffice-pdfimport (1:6.0.7-0ubuntu0.18.04.5) ...
Setting up libreoffice-style-galaxy (1:6.0.7-0ubuntu0.18.04.5) ...
Setting up libreoffice-java-common (1:6.0.7-0ubuntu0.18.04.5) ...
Setting up libreoffice-sdbc-hsqldb (1:6.0.7-0ubuntu0.18.04.5) ...
 
Old 04-18-2019, 07:41 PM   #41
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
It is good.

Ok. Let's just check that everything is good and up-to-date:

Code:
sudo dpkg --audit

apt check

apt update

apt upgrade
How did you stop Sophos?
 
Old 04-18-2019, 07:47 PM   #42
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
To start and stop the services, use the following commands:

# systemctl start sav-protect.service
# systemctl start sav-rms.service
# systemctl stop sav-protect.service
# systemctl stop sav-rms.service

Do you recommend I uninstall sophos???

Code:
scott@scott-NV57H:~$ apt update
Hit:1 http://la-mirrors.evowise.com/ubuntu bionic InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                                                    
Hit:3 http://la-mirrors.evowise.com/ubuntu bionic-updates InRelease                                             
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                     
Ign:5 http://mirrors.gigenet.com/linuxmint/repo tessa InRelease                                                 
Hit:6 http://archive.canonical.com/ubuntu bionic InRelease                                                      
Hit:7 http://la-mirrors.evowise.com/ubuntu bionic-backports InRelease                                           
Hit:8 http://mirrors.gigenet.com/linuxmint/repo tessa Release                                                   
Ign:9 http://dl.google.com/linux/earth/deb stable InRelease                                                     
Hit:10 http://dl.google.com/linux/chrome/deb stable Release                                               
Hit:11 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic InRelease                                    
Hit:12 http://dl.google.com/linux/earth/deb stable Release                              
Hit:13 http://linux.teamviewer.com/deb stable InRelease                                 
Err:16 http://dl.google.com/linux/earth/deb stable Release.gpg    
  The following signatures were invalid: EXPKEYSIG 1397BC53640DB551 Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>
Fetched 88.7 kB in 2s (55.3 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/earth/deb stable Release: The following signatures were invalid: EXPKEYSIG 1397BC53640DB551 Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>
W: Failed to fetch http://dl.google.com/linux/earth/deb/dists/stable/Release.gpg  The following signatures were invalid: EXPKEYSIG 1397BC53640DB551 Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>
W: Some index files failed to download. They have been ignored, or old ones used instead.
Code:
scott@scott-NV57H:~$ apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-4.15.0-47 linux-headers-4.15.0-47-generic linux-image-4.15.0-47-generic
  linux-modules-4.15.0-47-generic linux-modules-extra-4.15.0-47-generic
The following packages will be upgraded:
  linux-generic linux-headers-generic linux-image-generic
3 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 65.7 MB of archives.
After this operation, 334 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://la-mirrors.evowise.com/ubuntu bionic-updates/main amd64 linux-modules-4.15.0-47-generic amd64 4.15.0-47.50 [13.0 MB]
Get:2 http://la-mirrors.evowise.com/ubuntu bionic-updates/main amd64 linux-image-4.15.0-47-generic amd64 4.15.0-47.50 [7,909 kB]
Get:3 http://la-mirrors.evowise.com/ubuntu bionic-updates/main amd64 linux-modules-extra-4.15.0-47-generic amd64 4.15.0-47.50 [32.7 MB]
Get:4 http://la-mirrors.evowise.com/ubuntu bionic-updates/main amd64 linux-generic amd64 4.15.0.47.49 [1,852 B] 
Get:5 http://la-mirrors.evowise.com/ubuntu bionic-updates/main amd64 linux-image-generic amd64 4.15.0.47.49 [2,412 B]
Get:6 http://la-mirrors.evowise.com/ubuntu bionic-updates/main amd64 linux-headers-4.15.0-47 all 4.15.0-47.50 [11.0 MB]
Get:7 http://la-mirrors.evowise.com/ubuntu bionic-updates/main amd64 linux-headers-4.15.0-47-generic amd64 4.15.0-47.50 [1,112 kB]
Get:8 http://la-mirrors.evowise.com/ubuntu bionic-updates/main amd64 linux-headers-generic amd64 4.15.0.47.49 [2,368 B]
Fetched 65.7 MB in 8s (8,333 kB/s)                                                                              
Selecting previously unselected package linux-modules-4.15.0-47-generic.
(Reading database ... 321573 files and directories currently installed.)
Preparing to unpack .../0-linux-modules-4.15.0-47-generic_4.15.0-47.50_amd64.deb ...
Unpacking linux-modules-4.15.0-47-generic (4.15.0-47.50) ...
Selecting previously unselected package linux-image-4.15.0-47-generic.
Preparing to unpack .../1-linux-image-4.15.0-47-generic_4.15.0-47.50_amd64.deb ...
Unpacking linux-image-4.15.0-47-generic (4.15.0-47.50) ...
Selecting previously unselected package linux-modules-extra-4.15.0-47-generic.
Preparing to unpack .../2-linux-modules-extra-4.15.0-47-generic_4.15.0-47.50_amd64.deb ...
Unpacking linux-modules-extra-4.15.0-47-generic (4.15.0-47.50) ...
Preparing to unpack .../3-linux-generic_4.15.0.47.49_amd64.deb ...
Unpacking linux-generic (4.15.0.47.49) over (4.15.0.46.48) ...
Preparing to unpack .../4-linux-image-generic_4.15.0.47.49_amd64.deb ...
Unpacking linux-image-generic (4.15.0.47.49) over (4.15.0.46.48) ...
Selecting previously unselected package linux-headers-4.15.0-47.
Preparing to unpack .../5-linux-headers-4.15.0-47_4.15.0-47.50_all.deb ...
Unpacking linux-headers-4.15.0-47 (4.15.0-47.50) ...
Selecting previously unselected package linux-headers-4.15.0-47-generic.
Preparing to unpack .../6-linux-headers-4.15.0-47-generic_4.15.0-47.50_amd64.deb ...
Unpacking linux-headers-4.15.0-47-generic (4.15.0-47.50) ...
Preparing to unpack .../7-linux-headers-generic_4.15.0.47.49_amd64.deb ...
Unpacking linux-headers-generic (4.15.0.47.49) over (4.15.0.46.48) ...
Setting up linux-headers-4.15.0-47 (4.15.0-47.50) ...
Setting up linux-modules-4.15.0-47-generic (4.15.0-47.50) ...
Setting up linux-headers-4.15.0-47-generic (4.15.0-47.50) ...
Setting up linux-headers-generic (4.15.0.47.49) ...
Setting up linux-image-4.15.0-47-generic (4.15.0-47.50) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.15.0-46-generic
I: /initrd.img.old is now a symlink to boot/initrd.img-4.15.0-46-generic
I: /vmlinuz is now a symlink to boot/vmlinuz-4.15.0-47-generic
I: /initrd.img is now a symlink to boot/initrd.img-4.15.0-47-generic
Setting up linux-modules-extra-4.15.0-47-generic (4.15.0-47.50) ...
Setting up linux-image-generic (4.15.0.47.49) ...
Setting up linux-generic (4.15.0.47.49) ...
Processing triggers for linux-image-4.15.0-47-generic (4.15.0-47.50) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-47-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-47-generic
Found initrd image: /boot/initrd.img-4.15.0-47-generic
Found linux image: /boot/vmlinuz-4.15.0-46-generic
Found initrd image: /boot/initrd.img-4.15.0-46-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
 
Old 04-18-2019, 07:58 PM   #43
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Ok. Thanks for the Sophos info.

I honestly don't know about Sophos. I too have it installed but I don't have it running in real-time, I only use it from time to time to manually run a scan. I would suggest disabling it before each update, but you might find that to be a bother. Perhaps check the list of updates in Update Manager and only turn it off if anything LibreOffice-related is in there (which shouldn't be that often, anyway, just if there is a security update).

As for the Google Earth repo warning, run Software Sources and select Maintenance->Fix MergeList problems.
 
Old 04-18-2019, 08:05 PM   #44
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Ok. Thanks for the Sophos info.

I honestly don't know about Sophos. I too have it installed but I don't have it running in real-time, I only use it from time to time to manually run a scan. I would suggest disabling it before each update, but you might find that to be a bother. Perhaps check the list of updates in Update Manager and only turn it off if anything LibreOffice-related is in there (which shouldn't be that often, anyway, just if there is a security update).

As for the Google Earth repo warning, run Software Sources and select Maintenance->Fix MergeList problems.
DONE and DONE. I will just run Sophos manually. THANKS AGAIN. I will let you be so you can use your knowledge and expertise to assist some other poor sole like me. Thank you so much, it was quite a humbling endeavour,for me anyway.. Have a great day/night. THANKS!!!!!
 
Old 04-18-2019, 08:11 PM   #45
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by ScottB63 View Post
DONE and DONE. I will just run Sophos manually. THANKS AGAIN. I will let you be so you can use your knowledge and expertise to assist some other poor sole like me. Thank you so much, it was quite a humbling endeavour,for me anyway.. Have a great day/night. THANKS!!!!!
Great. Sorry that it took us so long to get there. If I had Googled "Operation not permitted" and "LibreOffice" right at the start, I would have come across that solution sooner (but then you wouldn't have learned some interesting dpkg and apt commands ). Thanks for bearing with me. Anyway, I'm off to my kip (it's 2am here)! All the best.
 
1 members found this post helpful.
  


Reply



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
Libre office vs Open office Arcane Linux - Software 25 11-26-2019 05:57 PM
Libre Office and Open Office both fail to open MS Office documents correctly. Observed Linux - Newbie 8 07-18-2014 10:48 AM
[SOLVED] Libre Office or Open Office QueenZ Linux - Newbie 12 02-22-2013 03:58 AM
Unoconv Convertor for RHEL 6 : Libre office & open office utility vishwajeet jagtap Linux - Software 0 02-15-2013 09:44 AM
LXer: Libre Office Initial plans for the free office suite [German] LXer Syndicated Linux News 2 11-14-2010 05:14 PM

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

All times are GMT -5. The time now is 05:51 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