LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-21-2022, 06:18 AM   #1
AsgAnquietas
Member
 
Registered: Oct 2008
Posts: 82

Rep: Reputation: 1
Question LibreOffice OpenClipArt breaks LibreOffice-Common - why ?


Hello,

I have the following situation:

Code:
mainframe [~] # apt install openclipart
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openclipart : Depends: openclipart-libreoffice (= 1:0.18+dfsg-16) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
mainframe [~] # apt install openclipart-libreoffice
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libreoffice-common : Breaks: openclipart-libreoffice (<= 1:0.18+dfsg-17) but 1:0.18+dfsg-16 is to be installed
                      Recommends: python3-uno (>= 4.4.0~beta2) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
I want those beautiful ClipArt drawings in Libreoffice, however it conflicts with the LibreOffice-Common package which, I believe, is something important to LibreOffice.
Why is this happening and why should a couple of nice drawings conflict with a suite of applications ?

Also, does this mean I have broken packages ? I issued an "apt-get install -f" and no packages were in that list...

Thank you.

Last edited by AsgAnquietas; 05-21-2022 at 06:19 AM.
 
Old 05-22-2022, 07:37 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,310
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
What distro/version are you using? (I'm guesssing Debian, but, per the error message, the version seems relevant.)

It's a long shot, but have you tried this?

Code:
apt-get --fix-broken
 
Old 05-23-2022, 01:20 AM   #3
lvm_
Member
 
Registered: Jul 2020
Posts: 911

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
No, northing's broken there - these packages have an explicit conflict defined in their dependencies. Could be that both packages share some files, could be something more complex, could be nothing at all. Package maintainer is the best person to ask, although file conflict can be determined by comparing files from both packages.
 
Old 05-26-2022, 01:39 AM   #4
WindowMaker
LQ Newbie
 
Registered: Apr 2022
Distribution: Debian
Posts: 12

Rep: Reputation: 1
Lightbulb That's from a lapse of package uploads

`+dfsg` version suffix, which Debian version is that? Is that Debian 11.0 "Bullsye"? (Or Devuan 6.0 "Ceres"?)

Anyway, from a the ranges of version specified in dependencies; I would guess that these packages are intended to be upgraded/downgraded in lock-step. Thus, if you attempted to install `openclipart-libreoffice` version 1:0.18+dfsg-16, it will conflict with that specific version of `libreoffice-common` on your machine-- which required `openclipart-libreoffice` to be 1:0.18+dfsg-18 or above.

From my experience, Debian `apt-get` was (and I guess still is) not very smart at solving dependencies problem through time. (When there are version-based issues, it would just bail; despite that a valid solution exist with non-latest version of certain package) But that's is not actually relevant in this case.

For this case, I've checked Bullsye's `openclipart-libreoffice` package listing (as well as Ceres') today, and saw that the version number have already moved on; and the current one should now be off the conflict range of the already-installed `libreoffice-common` package.

So, run `apt-get update`, and try again.

P.S. If that still doesn't work; the last resort would be just skipping `openclipart` meta-package together with its `openclipart-libreoffice` collection, and proceed to install other sub-collection packages `openclipart-png` and `openclipart-svg` manually; but that's still better than having no clipart at all, right?

Last edited by WindowMaker; 05-26-2022 at 01:56 AM. Reason: Correcting package name in listing URLs, adding last-resort solution
 
Old 05-26-2022, 01:41 AM   #5
AsgAnquietas
Member
 
Registered: Oct 2008
Posts: 82

Original Poster
Rep: Reputation: 1
Code:
vbridge [~] # apt update
Hit:1 http://deb.anydesk.com all InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                                                                                                  
Hit:3 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal InRelease                                                                                                                                                                                                         
Hit:4 http://dl.google.com/linux/earth/deb stable InRelease                                                                                                                                                                                                                   
Get:5 http://packages.microsoft.com/repos/code stable InRelease [10,4 kB]                                                                                                                                                                                                     
Hit:6 http://archive.ubuntu.com/ubuntu focal InRelease                                                                                                                                                                      
Hit:7 https://linux.teamviewer.com/deb stable InRelease                                                                                                                                                
Hit:8 http://archive.canonical.com/ubuntu focal InRelease                                                                                                                        
Get:9 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                                                                        
Hit:10 https://packages.microsoft.com/repos/ms-teams stable InRelease                                                    
Hit:11 https://repo.skype.com/deb stable InRelease                                                  
Get:12 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:14 http://packages.microsoft.com/repos/code stable/main amd64 Packages [85,4 kB]
Get:15 http://packages.microsoft.com/repos/code stable/main armhf Packages [86,1 kB]
Get:16 http://packages.microsoft.com/repos/code stable/main arm64 Packages [86,3 kB]
Get:17 http://packages.microsoft.com/repos/code stable/main armhf Contents (deb) [49,0 kB]
Get:18 http://packages.microsoft.com/repos/code stable/main arm64 Contents (deb) [49,0 kB]
Get:19 http://packages.microsoft.com/repos/code stable/main amd64 Contents (deb) [48,9 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [924 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [680 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [14,4 kB]
Fetched 2.369 kB in 1s (1.630 kB/s)          
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
vbridge [~] # apt-get install openclipart-libreoffice
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libreoffice-common : Breaks: openclipart-libreoffice (<= 1:0.18+dfsg-17) but 1:0.18+dfsg-16 is to be installed
                      Recommends: python3-uno (>= 4.4.0~beta2) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
vbridge [~] #
 
Old 05-26-2022, 02:53 AM   #6
WindowMaker
LQ Newbie
 
Registered: Apr 2022
Distribution: Debian
Posts: 12

Rep: Reputation: 1
Lightbulb That definitely require manual intervention

Quote:
Originally Posted by AsgAnquietas View Post
Code:
Hit:1 http://deb.anydesk.com all InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                                                                                                  
Hit:3 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal InRelease                                                                                                                                                                                                         
Hit:4 http://dl.google.com/linux/earth/deb stable InRelease                                                                                                                                                                                                                   
Get:5 http://packages.microsoft.com/repos/code stable InRelease [10,4 kB]                                                                                                                                                                                                     
Hit:6 http://archive.ubuntu.com/ubuntu focal InRelease                                                                                                                                                                      
Hit:7 https://linux.teamviewer.com/deb stable InRelease                                                                                                                                                
Hit:8 http://archive.canonical.com/ubuntu focal InRelease                                                                                                                        
Get:9 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                                                                        
Hit:10 https://packages.microsoft.com/repos/ms-teams stable InRelease                                                    
Hit:11 https://repo.skype.com/deb stable InRelease                                                  
Get:12 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:14 http://packages.microsoft.com/repos/code stable/main amd64 Packages [85,4 kB]
Get:15 http://packages.microsoft.com/repos/code stable/main armhf Packages [86,1 kB]
Get:16 http://packages.microsoft.com/repos/code stable/main arm64 Packages [86,3 kB]
Get:17 http://packages.microsoft.com/repos/code stable/main armhf Contents (deb) [49,0 kB]
Get:18 http://packages.microsoft.com/repos/code stable/main arm64 Contents (deb) [49,0 kB]
Get:19 http://packages.microsoft.com/repos/code stable/main amd64 Contents (deb) [48,9 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [924 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [680 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [14,4 kB]
Okay, Ubuntu 20.04 "Focal Fossa" archived LTS, with multi-source and backports; doing that can cause this problem. But that's okay. (Though next time when you ask about dependency resolution problem like this, you should really spell out what nonstandard APT sources combo you're using up front, or else people answering would have no clue)

The gist of this issue, is that it seems you are using newer LibreOffice (thus `libreoffice-common` package) from Ubuntu focal-backports repository, but focal-backports itself doesn't provide a newer `openclipart-libreoffice` to go with that; so the APT fall back to the older one from the archived Ubuntu focal repository, and failed becase newer `libreoffice-common` doesn't like the cliparts old.

From the look inside latest-LTS Ubuntu 22.04 "Jammy Jellyfish"'s openclipart-libreoffice package, it seemed that the companion files there are not too version-critical, so I would suggest that you just use Ubuntu jammy's version of Open Clip Art packages in this case...As I already said, these are intended to be upgraded/downgraded in lockstep, so it's a bit of dependency hell; but since you're using an archived version of Ubuntu-- which means there shouldn't be any more major upgraded things to interfere with it, this should solve your problem for good.
 
  


Reply

Tags
libreoffice


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
Force breaks to avoid eye strain (typing breaks) upnort Slackware 12 09-19-2019 03:43 PM
LXer: Openclipart: a library of public domain images LXer Syndicated Linux News 0 02-16-2016 10:30 AM
Openoffice with Openclipart sBo pkg ? slackass Slackware 2 01-30-2009 09:24 AM
BOGUS.common.04y -> /home/common/Mailbox jayakrishnan Linux - Networking 0 11-19-2005 04:48 AM
Common Things Kernel Compiling "Breaks" Skazi Linux - General 2 08-29-2004 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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