Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

librdf libraries not installed on Ubuntu #308

Closed
gothub opened this issue Oct 14, 2019 · 2 comments
Closed

librdf libraries not installed on Ubuntu #308

gothub opened this issue Oct 14, 2019 · 2 comments
Labels

Comments

@gothub
Copy link

gothub commented Oct 14, 2019

It appears that the librdf system libraries that the 'redland' R package requires can't be installed on Ubuntu (rhub platform: Ubuntu Linux 16.04 LTS, R-release, GCC).

How can this be resolved? The packages are available for Ubuntu 16.04 LTS.

Here is the log.

... and here are the relevant lines from that log:

82#> Some packages could not be installed. This may mean that you have
83#> requested an impossible situation or if you are using the unstable
84#> distribution that some required packages have not yet been created
85#> or been moved out of Incoming.
86#> The following information may help to resolve the situation:
87#> The following packages have unmet dependencies:
88#> librdf0-dev : Depends: libraptor2-dev (>= 2.0.10) but it is not going to be installed
89#> Depends: librasqal3-dev (>= 0.9.30) but it is not going to be installed
90#> E: Unable to correct problems, you have held broken packages.

Here are the libraries that are installed on my local Ubuntu 16.04 LTS:

root@kube-01:~# sudo apt list --installed    | egrep '(rdf|rasqal|raptor)'
libraptor2-0/xenial,now 2.0.14-1 amd64 [installed]
libraptor2-dev/xenial,now 2.0.14-1 amd64 [installed,automatic]
librasqal3/xenial,now 0.9.32-1 amd64 [installed]
librasqal3-dev/xenial,now 0.9.32-1 amd64 [installed,automatic]
librdf0/xenial,now 1.0.17-1build1 amd64 [installed]
librdf0-dev/xenial,now 1.0.17-1build1 amd64 [installed]
raptor2-utils/xenial,now 2.0.14-1 amd64 [installed,automatic]
rasqal-utils/xenial,now 0.9.32-1 amd64 [installed,automatic]
root@kube-01:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.4 LTS
Release:	16.04
Codename:	xenial
@gaborcsardi
Copy link
Collaborator

Hopefully this is fixed now.

@michaelmayer2
Copy link

michaelmayer2 commented Apr 10, 2024

I am still seeing this with Ubuntu Focal (20.04 LTS)

The following packages have unmet dependencies:
 librdf0-dev : Depends: libraptor2-dev (>= 2.0.10) but it is not going to be installed
               Depends: librasqal3-dev (>= 0.9.30) but it is not going to be installed

Both libraptor2-dev and librasqual3-dev are available in much later versions than required in the error message (2.0.15-0ubuntu1.20.04.1 and 0.9.33-0.1, respectively).

This is with pak 0.7.2 when trying to install the system requirements via pak::pkg_sysreqs() using the attached list of packages.

When manually installing all 3 dependencies, another error message pops up highlighting IMHO the root cause

The following packages have unmet dependencies:
 libcurl4-gnutls-dev : Conflicts: libcurl4-openssl-dev but 7.68.0-1ubuntu2.22 is to be installed
 libcurl4-openssl-dev : Conflicts: libcurl4-gnutls-dev but 7.68.0-1ubuntu2.22 is to be installed

It seems that both libcurl4-* packages are mutually exclusive but for some reason our dependency tracking mechanism in pak desires to use both of them.

pak-deps.txt

@gaborcsardi feel free to move to the pak repo - I think it makes more sens to get it fixed over there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants