You are not logged in.

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

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

[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: 11,845
Website

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

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


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 2019-11-02 16:27:24

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

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