You are not logged in.
Hi, I was wondering if there is a frontend or whatever to install AUR-packages with it's dependencies automatically.
The key issue for me here is actually not the automatically but if I install the dependencies by hand they appear as "installed manually" in the pacman database. And I don't want that, I'd rather have them appear as "installed as a dependency for foobar".
So is there a way to make it that way?
Offline
mark the dependency as automatically installed in the arch database
echo -e "%REASON%\n1\n">>/var/lib/pacman/local/INSERTACTUALPKGNAMEHERE/desc
EDIT
don't do ii if you don't know exactly what you are doing it could be dangerous, and destroy your arch installation.
Last edited by erm67 (2007-08-02 14:33:17)
Offline
Thx a lot for that hack, erm67! I don't consider myself a newbie but still I tend to be a little careful with hacks. So I will definately look into this but I am also still open mided for other ways.
Btw, is there a documentation on the pacman database, I guess especially on the %REASON%-codes?
Offline
You can check out aurbuild and yaourt, both in the AUR - they facilitate downloading and building AUR packages and deps. Not sure if they handle the "installed explicitly" bit though.
Offline
You can check out aurbuild and yaourt, both in the AUR - they facilitate downloading and building AUR packages and deps. Not sure if they handle the "installed explicitly" bit though.
They would, except the current pacman version removed the needed argument to install a package like such. There was a bug report about it and it's been fixed in pacman development, but it hasn't been ported back to the current pacman. So, bottom line, these tools currently also install AUR packages as "explicitly installed". This should be fixed with the next major release of pacman though.
I am a gated community.
Offline