You are not logged in.

#1 2010-07-06 23:57:15

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

installing deps for a package that don't get flagged by pacman -Qdt

Optional dependencies for deluge
    python-notify: libnotify notifications
    pygtk: needed for gtk ui
    librsvg: needed for gtk ui
    python-mako: needed for web ui

How can one install some optional deps for a package (deluge in this case) without having a 'pacman -Qdt' flag them as orphans?  Here python-mako is needed for the web ui in deluge, but it gets flagged as an orphan:

# pacman -Qdt
python-mako 0.3.3-1

Last edited by graysky (2010-07-06 23:57:29)

Offline

#2 2010-07-07 00:24:22

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: installing deps for a package that don't get flagged by pacman -Qdt

You could reinstall the package using the --asexplicit flag.

Offline

#3 2010-07-07 00:55:51

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: installing deps for a package that don't get flagged by pacman -Qdt

anonymous_user wrote:

You could reinstall the package using the --asexplicit flag.

Which would still not mark it as a dep for the original package. Don't get me wrong, I do it that way too, but I end up with a whole lot of explicitly installed packages which I can't remember the use for.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2010-07-07 00:58:20

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: installing deps for a package that don't get flagged by pacman -Qdt

i remember a feature request at one point for --asdepof <package>, don't think it ever went anywhere though.  does sound useful.

at this point, your only workaround is to build via ABS with optional depends put in the depends array of the PKGBUILD.

/edit: or hand edit /var/lib/pacman/whatever/depends?

Last edited by brisbin33 (2010-07-07 01:02:08)

Offline

#5 2010-07-07 01:01:17

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: installing deps for a package that don't get flagged by pacman -Qdt

We need coders: http://wiki.archlinux.org/index.php/Use … OptDepends

Edit: This should actually not be that hard to implement...

Offline

#6 2010-07-07 01:41:12

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: installing deps for a package that don't get flagged by pacman -Qdt

anonymous_user wrote:

You could reinstall the package using the --asexplicit flag.

BTW, check out "pacman -D"

Offline

Board footer

Powered by FluxBB