You are not logged in.

#1 2017-06-30 00:17:16

Ruki
Member
Registered: 2017-06-30
Posts: 3

Need help understanding package dependencies

HI
so i am trying to install mesa-git from AUR , it says that it provides the package mesa,
after i did that i tried to install something else that have a dependency on mesa (xf86-video-intel)
pacman complains saying that mesa-git conflicts with mesa .
isn't the mesa-git package a remplacement for mesa or am i missing something ?

Offline

#2 2017-06-30 00:23:21

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: Need help understanding package dependencies

Welcome to the arch linux forums Ruki.  Post complete logs/output/versions/error messages.
So in this case that would be the pacman command you ran and the output it generated.
Also the output of the following please

$ pacman -Qi mesa-git

Offline

#3 2017-06-30 01:09:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Need help understanding package dependencies

Ah, but xf86-video-intel doesn't require mesa, it requires mesa-dri. Does mesa-git provide that?

Offline

#4 2017-06-30 09:45:46

Ruki
Member
Registered: 2017-06-30
Posts: 3

Re: Need help understanding package dependencies

@loqs sorry for that !
here it is

$ sudo pacman -S xf86-video-intel
resolving dependencies...
looking for conflicting packages...
:: mesa and mesa-git are in conflict (mesa-libgl). Remove mesa-git? [y/N] 

and here is

 $ pacman -Qi mesa-git 
$ pacman -Qi mesa-git 
Name            : mesa-git
Version         : 17.2.0_devel.93622.3fd425aed7-1
Description     : an open-source implementation of the OpenGL specification, git version
Architecture    : x86_64
URL             : http://mesa3d.sourceforge.net
Licenses        : custom
Groups          : None
Provides        : mesa  opencl-mesa  vulkan-intel  vulkan-radeon  libva-mesa-driver  mesa-vdpau  mesa-libgl  vulkan-driver
                  opencl-driver  opengl-driver
Depends On      : libdrm  wayland  libxxf86vm  libxdamage  libxshmfence  libelf  libomxil-bellagio  libtxc_dxtn
                  llvm-libs-svn  libunwind  libglvnd
Optional Deps   : opengl-man-pages: for the OpenGL API man pages
Required By     : gtk3  lib32-mesa  libglvnd  xf86-video-amdgpu
Optional For    : ocl-icd  openoffice  vulkan-icd-loader
Conflicts With  : mesa  opencl-mesa  vulkan-intel  vulkan-radeon  libva-mesa-driver  mesa-vdpau  mesa-libgl
Replaces        : None
Installed Size  : 87.29 MiB
Packager        : Unknown Packager
Build Date      : Thu Jun 29 16:24:48 2017
Install Date    : Thu Jun 29 23:33:19 2017
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

@Scimmia mesa-git doesn't provide mesa-dri directly , but it provides mesa witch provides mesa-dri, it should be transitive right ?

Offline

#5 2017-06-30 10:14:50

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: Need help understanding package dependencies

No. "provides=('mesa')" just means that packages that depend on "mesa" will be happy to use this package instead. It doesn't mean that the mesa-git package inherits the provides/conflicts/etc of the package called mesa.

When you're trying to install xf86-video-intel, pacman is checking it's local package database and seeing that nothing provides mesa-dri, so it's checking the sync databases, seeing that "mesa" provides it, and pulling it in into the transaction which causes the conflict.

mesa-git will need to explicitly provide mesa-dri (assuming that it does).


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2017-06-30 10:29:35

Ruki
Member
Registered: 2017-06-30
Posts: 3

Re: Need help understanding package dependencies

Oh i see, i should report the issue to the package maintainer i guess.
thanks !

Offline

Board footer

Powered by FluxBB