You are not logged in.

#1 2010-09-14 10:29:37

StefanLiebenberg
Member
From: Somerset West, South Africa
Registered: 2009-07-24
Posts: 12
Website

How do I modify the database

I'd like to change the install reason to "explicit" for one of my packages, without doing a

pacman -S $package_name

or re-installing the package...

Is this posible?

See Unix SE Question for refference.

Last edited by StefanLiebenberg (2010-09-14 10:31:26)


Stefan Liebenberg
Software Developer
http://unix.stackexchange.com/users/1327/stefan

Offline

#2 2010-09-14 10:50:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How do I modify the database

Apart from '--asexplicit' I don't see any way.

Offline

#3 2010-09-14 11:10:54

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: How do I modify the database

There is a new -D / --database operation since pacman 3.4:

man page wrote:

-D, --database
           Modify the package database. This options allows you to modify certain attributes of the installed packages in pacman's database. At the moment, you can only change
           the install reason using --asdeps and --asexplicit options.

pacman -D --asexplicit <pkgs>

Offline

#4 2010-09-14 11:11:29

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: How do I modify the database

man pacman.

Check out the -D switch

Edit: *damn* someone beat me to the line... tongue

Last edited by toffyrn (2010-09-14 11:12:01)

Offline

Board footer

Powered by FluxBB