You are not logged in.

#1 2019-11-02 16:01:34

laggardkernel
Member
Registered: 2019-03-21
Posts: 2

[SOLVED] Mark a installed pkg as dependency without reinstalling it

I tried to mark the package "xorg-server-common" as a dependency with

sudo pacman -S --asdeps --needed xorg-server-common

It seems the only way to mark a installed pkg as dependency is to reinstall it with "--asdeps".

Is there an alternative way to achieve it without reinstalling a pkg?

Last edited by laggardkernel (2019-11-02 16:28:53)

Offline

#2 2019-11-02 16:09:57

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,140
Website

Re: [SOLVED] Mark a installed pkg as dependency without reinstalling it

Yes, check the -D/--database flag in 'man pacman'.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2019-11-02 16:27:24

laggardkernel
Member
Registered: 2019-03-21
Posts: 2

Re: [SOLVED] Mark a installed pkg as dependency without reinstalling it

WorMzy wrote:

Yes, check the -D/--database flag in 'man pacman'.

Thanks for your help.

Offline

Board footer

Powered by FluxBB