You are not logged in.

#1 2016-04-09 01:18:55

csj
Member
From: Taipei, Taiwan
Registered: 2009-11-02
Posts: 10

check package dependencies using pactree

I use `pactree` to find dependencies of some package, say, `pactree yaourt`
there is no `sed` in the output.

However, if I use `pactree -r sed`, I can get `yaourt` in the output.
why `pactree yaourt` not list `sed` as its dependency?

Last edited by csj (2016-04-09 12:47:04)

Offline

#2 2016-04-09 01:27:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: check package dependencies using pactree

csj wrote:

However, if I use `pactree -s sed`, I can get `yaourt` in the output.

This makes no sense at all. Typo somewhere?

Offline

#3 2016-04-09 02:00:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: check package dependencies using pactree

Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2016-04-09 12:39:00

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,615

Re: check package dependencies using pactree

man pactree wrote:

       -s, --sync
           Read package data from sync databases instead of local database.

csj, maybe you used "pactree -r sed" instead ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2016-04-09 12:50:47

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: check package dependencies using pactree

csj replied:

Oh fixed typo, yes. I used '-r' to reverse check if it is reasonable.
I found many unreasonable case by thus way though .

@csj, you used the report button, instead of reply.

Offline

#6 2016-04-09 12:53:09

csj
Member
From: Taipei, Taiwan
Registered: 2009-11-02
Posts: 10

Re: check package dependencies using pactree

x33a wrote:

csj replied:

Oh fixed typo, yes. I used '-r' to reverse check if it is reasonable.
I found many unreasonable case by thus way though .

@csj, you used the report button, instead of reply.

Oops. Sorry, The phone screen really small, sad

Offline

Board footer

Powered by FluxBB