[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: finding a dependency chain



On 9/3/14, Rob Owens <rowens@ptd.net> wrote:
> ----- Original Message -----
>> From: "Kelly Clowers" <kelly.clowers@gmail.com>
>>
>> I just used vim to search through debtree's .dot output (for such a
>> complex thing, way easier than trying to look at the image file), and
>> then followed up by looking around in aptitude interactive mode.
>>
> Thanks.  That is much easier than looking at the image file!
>
> I'd still like to find a method to specify the start point and end point,
> and get output of a single dependency chain.  If anybody knows a way, please
> post it.


Found something the other day while scouring the Net to fix some or
another issue here. Am sure this is probably not doing quite what
you're seeking. Hoping it's still maybe a start for training some
program to do that since it's already (unverified so allegedly)
reporting ALL dependencies..

If it's a far lesser [function] than what you've already been chatting
about, I'd love to hear the difference. Really trying to learn this
stuff inside out.. Hoping to contribute sooner than later. :)

The command is:

apt-cache showpkg <packageName>

It outputs this (apologies, is a little extensive but decided to leave intact):

++++++++++

elf@northpole:~$ apt-cache showpkg wvdial
Package: wvdial
Versions:
1.61-4.1 (/var/lib/apt/lists/mirrors.kernel.org_debian_dists_wheezy_main_binary-amd64_Packages)
 Description Language:
                 File:
/var/lib/apt/lists/mirrors.kernel.org_debian_dists_wheezy_main_binary-amd64_Packages
                  MD5: b8bf30c8dfd4d09e02af74bf497505d6
 Description Language: en
                 File:
/var/lib/apt/lists/mirrors.kernel.org_debian_dists_wheezy_main_i18n_Translation-en
                  MD5: b8bf30c8dfd4d09e02af74bf497505d6

1.61-4build1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages)
(/var/lib/dpkg/status)
 Description Language:
                 File:
/var/lib/apt/lists/mirrors.kernel.org_debian_dists_wheezy_main_binary-amd64_Packages
                  MD5: b8bf30c8dfd4d09e02af74bf497505d6
 Description Language: en
                 File:
/var/lib/apt/lists/mirrors.kernel.org_debian_dists_wheezy_main_i18n_Translation-en
                  MD5: b8bf30c8dfd4d09e02af74bf497505d6

Reverse Depends:
  wvdial:i386,wvdial
  wader-core,wvdial
  lubuntu-desktop,wvdial
  ichthux-desktop,wvdial
  gnome-ppp,wvdial
  usb-modeswitch,wvdial
  wvdial:i386,wvdial
  wader-core,wvdial
  usb-modeswitch,wvdial
  gnome-ppp,wvdial

Dependencies:
1.61-4.1 - ppp (2 2.3.0) debconf (18 0.5.00) cdebconf (0 (null)) libc6
(2 2.3.4) libgcc1 (2 1:4.1.1) libstdc++6 (2 4.1.1) libuniconf4.6 (0
(null)) libwvstreams4.6-base (0 (null)) libwvstreams4.6-extras (0
(null)) debconf (18 0.5) debconf-2.0 (0 (null)) wvdial:i386 (0 (null))
1.61-4build1 - ppp (2 2.3.0) debconf (18 0.5.00) cdebconf (0 (null))
libc6 (2 2.4) libstdc++6 (2 4.1.1) libuniconf4.6 (0 (null))
libwvstreams4.6-base (0 (null)) libwvstreams4.6-extras (0 (null))
debconf (18 0.5) debconf-2.0 (0 (null)) wvdial:i386 (0 (null))
Provides:
1.61-4.1 -
1.61-4build1 -
Reverse Provides:

++++++++++

Hoping that's on topic.. In particular, having that as a latest
personal find just showed me how much average users are probably not
tapping anywhere near what's available to us in Debian and its
derivatives..

Cindy :)

-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *


Reply to: