Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#2454 - pacman should have an option to walk down the dependency tree

Attached to Project: Pacman
Opened by Nikos Kouremenos (zeppelin) - Friday, 25 March 2005, 16:09 GMT
Last edited by Dan McGee (toofishes) - Thursday, 24 July 2008, 03:09 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture All
Severity Very Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version 3.2.0
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

pacman -Si foo

depends: gtk2 blah


but foo also needs bar which is a dependency of a depency of blah

but if I do pacman -Rd foo bar
then I can never have the previous situation if I forget about bar

in other words, there should be an optino that would list all the dependencies of the dependencies of the dependencies [..] of a pkg sth like

pacman -Sir foo

which will show what pacman -Si foo shows but in the end will also say sth like:

recursive dependencies: LIST_THEM_HERE

I put this medium, cause this can (hopefully) reduce the bugreports where those reports turn out to be "not a bug"
This task depends upon

Closed by  Dan McGee (toofishes)
Thursday, 24 July 2008, 03:09 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented as the pactree script in the contrib/ directory.
Comment by Gavin Bisesi (Daenyth) - Thursday, 03 April 2008, 19:58 GMT
This is a *very* rough program, and I'm not sure it works the way it should, but it seemed to produce correct output when testing with ndiswrapper.

Comment by Gavin Bisesi (Daenyth) - Friday, 25 April 2008, 04:10 GMT
A more updated version is posted as an attachment to  FS#10277 

http://bugs.archlinux.org/task/10277?getfile=2060
Comment by Aaron Griffin (phrakture) - Friday, 25 April 2008, 14:55 GMT
I actually don't think this would be all too hard to do in the pacman proper...
Some output like (pardon the dots, flyspray doesn't format right):

Depends:
foo
...bar
......baz1
......baz2
...abc
xyz
Comment by Gavin Bisesi (Daenyth) - Friday, 25 April 2008, 15:01 GMT
That's what I had in mind when I was creating this script, but it's much easier to just keep a flat list rather than the relationships. I poked around pacman source, but unfortunately I'm not good enough with C to file a patch on it. If anyone is interested in the script in the meantime, formatted output is on my todo list.

Loading...