[arch-general] Marking a package as a dependency

Allan McRae allan at archlinux.org
Wed May 20 03:58:17 EDT 2009


Magnus Therning wrote:
> I just recently bothered reading part of pacman's man page and found
> that I probably should have performed a `pacman -U --asdeps
> mypkg.tar.gz` as I installed dependencies for packages I build
> manually.  However I didn't, so can I retro-actively change the
> reason-for-installation of an already installed package without
> re-installing it?  (No, I couldn't decipher whether the man page
> already tells me how to do this :-)
>   

I have a suspicion that just reinstalling with the --asdep flag will 
change this for you.  Otherwise, edit /var/lib/pacman/local/<pkg>/desc 
and change REASON from 0 to 1.

Allan





More information about the arch-general mailing list