You are not logged in.

#1 2007-08-02 13:58:27

hybrid
Member
Registered: 2007-02-05
Posts: 262

resolving dependencies from AUR packages automatically

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

#2 2007-08-02 14:10:06

erm67
Member
From: Europe
Registered: 2007-08-01
Posts: 123

Re: resolving dependencies from AUR packages automatically

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

#3 2007-08-02 14:55:21

hybrid
Member
Registered: 2007-02-05
Posts: 262

Re: resolving dependencies from AUR packages automatically

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

#4 2007-08-02 15:02:37

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: resolving dependencies from AUR packages automatically

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

#5 2007-08-02 16:04:27

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: resolving dependencies from AUR packages automatically

Cerebral wrote:

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

Board footer

Powered by FluxBB