LinuxQuestions.org
Help answer threads with 0 replies.
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, 04:47 PM   #16
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

Before we disappear down the rabbit hole, are you running Timeshift so that you can revert to a snapshot taken before the problematic update?
 
Old 04-18-2019, 05:23 PM   #17
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
Yeah, I have a back up: it is not a current one as I don't do one periodically due to a smaller SSD, just a single right after all updates are installed after initial installation. I'm guessing that would be the most efficient route to take. I want to say a big thank you to all the effort and patience you put forth to assist me. Before I go, any signs, or ideas of what may have happened, I've never experienced anything like this with Linux before?
 
Old 04-18-2019, 05:38 PM   #18
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
Yeah, I have a back up: it is not a current one as I don't do one periodically due to a smaller SSD, just a single right after all updates are installed after initial installation. I'm guessing that would be the most efficient route to take. I want to say a big thank you to all the effort and patience you put forth to assist me. Before I go, any signs, or ideas of what may have happened, I've never experienced anything like this with Linux before?
That was just an option. If you didn't want to TimeShift back, my next suggestion was going to be, through dpkg rather than apt, to force the purging of libreoffice-base, libreoffice-core, and all the packages marked to be autoremoved, then work upwards from dpkg through apt while checking that everything is solid on the way up.

However, in saying that, yours is the second such "interesting" package system tangle I've had to deal with here in the last 2 days where I almost feel that the package system database itself is in a twist, but not a "normal" twist, with my usual tools and methods not working. In both cases, warning or error messages have been produced that don't make sense. For example, one error message said that libreoffice-common was not going to be installed, but it is in the repos and therefore I don't see why it couldn't be. I'm even starting to doubt myself.

If you still want to give this a go though before deciding to revert to the earlier snapshot then let me know - I don't mind carrying on through dogged persistence. We might even get somewhere...
 
Old 04-18-2019, 05:45 PM   #19
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
LOL... had I seen your response first I would have preferred to dig in and maybe do some learning, but I just did a "restore". Slickest 3-4 minutes I've experienced with anything associated with the word "restore" (too many failed Windows experiences). But I'm up and running now though so we'll see what happens in the future with the updates that will need to be done. Again thanks for everything.
 
Old 04-18-2019, 05:52 PM   #20
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
Ah, great! I would advise in the future that you make the occasional TimeShift (or other) snapshot/backup from time to time so that you don't have too much reconfiguration etc. to do if you have to revert to a previous snapshot. I have daily snapshots saved for a month, because I have the disk space to do that, and they have saved my skin on a couple of occasions.

In this specific case, do let me know if you manage to install all outstanding updates without encountering the same issue as before. I'd be interested to see if that is the case.
 
Old 04-18-2019, 05:54 PM   #21
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
Will do, and I'll keep a more current backup as well.
 
Old 04-18-2019, 06:01 PM   #22
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
Here we go again which command do we start with. Here is msg from Update Manager: also say I have 4 broken packages now.


Code:
E: /var/cache/apt/archives/libreoffice-common_1%3a6.0.7-0ubuntu0.18.04.5_all.deb: unable to open '/usr/lib/libreoffice/share/gallery/bullets/Bullet03-Circle-Green.svg.dpkg-new': Operation not permitted
 
Old 04-18-2019, 06:17 PM   #23
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
Into the rabbit hole we go...

Ok, let's start down at dpkg level, carrying out a package database sanity and consistency check:

Code:
dpkg --audit
 
Old 04-18-2019, 06:18 PM   #24
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
Code:
scott@scott-NV57H:~$ dpkg --audit
dpkg: error: unable to open lock file /var/lib/dpkg/lock for testing: Permission denied
 
Old 04-18-2019, 06:21 PM   #25
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. Another program (Update Manager, Software Manager, Software Sources, Synaptic, etc.) is accessing the package database. Ensure those other programs are closed and try again.
 
Old 04-18-2019, 06:27 PM   #26
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
I can't find how to close any of those. there is nothing in my task bar, and system monitor doesn't show any either??? what do I look for and where?
 
Old 04-18-2019, 06:36 PM   #27
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
If none of the programs are visibly open, then the only one that is probably running is Update Manager and you can quit that by right-clicking on the icon in the system tray and selecting "Quit". In saying that, however, the lock on the package database might have been grabbed but not released again by the program in question so even doing that might not solve the problem and a reboot would probably be required.

If the dpkg command fails again, try prefixing it with a sudo (it shouldn't need it, but it may reveal something if it does).
 
Old 04-18-2019, 06:38 PM   #28
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
Code:
scott@scott-NV57H:~$ sudo dpkg --audit
[sudo] password for scott:            
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 libreoffice-java-common office productivity suite -- arch-independent Java sup
 libreoffice-pdfimport transitional package for PDF Import component for LibreO
 libreoffice-sdbc-hsqldb HSQLDB SDBC driver for LibreOffice
 libreoffice-style-galaxy office productivity suite -- Galaxy (Default) symbol 
 libreoffice-style-tango office productivity suite -- Tango symbol style
 
Old 04-18-2019, 06:44 PM   #29
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. That is strange because I can run dpkg --audit without sudo on a Mint 19.1 system. Worth bearing in mind.

Let's try configuring the first of the listed packages to see which error message is produced:

Code:
sudo dpkg --configure libreoffice-java-common

Last edited by hydrurga; 04-18-2019 at 06:46 PM.
 
Old 04-18-2019, 06:55 PM   #30
ScottB63
LQ Newbie
 
Registered: Feb 2018
Posts: 27

Original Poster
Rep: Reputation: Disabled
Looks like I need a newer version of libreoffice-common????

Code:
scott@scott-NV57H:~$ sudo dpkg --configure libreoffice-java-common
dpkg: dependency problems prevent configuration of libreoffice-java-common:
 libreoffice-java-common depends on libreoffice-common (= 1:6.0.7-0ubuntu0.18.04.5); however:
  Version of libreoffice-common on system is 1:6.0.7-0ubuntu0.18.04.2.

dpkg: error processing package libreoffice-java-common (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libreoffice-java-common
 
  


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