You are not logged in.

#1 2014-03-11 22:39:52

theunamedguy
Member
Registered: 2014-02-15
Posts: 1

Replacing a package without reinstalling dependencies

I have gotten a new Nvidia card and want to stop using Mesa. When I try "pacman -S nvidia-libgl", I get
:: nvidia-libgl and mesa-libgl are in conflict (libgl). Remove mesa-libgl? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: glamor-egl: requires mesa-libgl

Trying to remove mesa-libgl tells me that about 4GB of packages will be removed. I have them in the package cache, but it would take forever to reinstall them.
Should I just do a manual installation, overwriting mesa-libgl, or play it safe and remove mesa-libgl, install nvidia-libgl, and reinstall all my packages?

Offline

#2 2014-03-11 22:43:16

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

Re: Replacing a package without reinstalling dependencies

man pacman

Look under the 'transaction options' header.


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

#3 2014-03-11 23:42:29

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Replacing a package without reinstalling dependencies

Both nvidia-libgl and mesa-libgl provide libgl. Removing (and reinstalling) all packages depending on libgl is indeed a waste of time, but with conflicts/provides pacman should handle that just fine. Packages that explicitly require mesa-libgl will have to be removed (or replaced) anyway, so why don't you start by removing glamor-egl and trying again.

Offline

Board footer

Powered by FluxBB