Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2002 13:03:21 -0500
From:      parv <parv_fm@emailgroups.net>
To:        Mark-Nathaniel Weisman <mark@outlander.us>
Cc:        fbsd <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Installed Packages?
Message-ID:  <20021212180321.GA11246@moo.holy.cow>
In-Reply-To: <B030C8F9120CCD43A1FC642851FB9FB40459A8@mavrick.outland>
References:  <B030C8F9120CCD43A1FC642851FB9FB40459A8@mavrick.outland>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <B030C8F9120CCD43A1FC642851FB9FB40459A8@mavrick.outland>,
wrote Mark-Nathaniel Weisman thusly...
>
> Is there a command that I can check to see if a particular package was
> installed in the kernel the way it was supposed to?

on way is to check if the supposedly installed files actually
exists.  sometimes they do not.  try (assuming bourne like shell)...

  #  given a package name, see if files exists
  #  if they do not, ls will complain; only errors will be
  #  shown
  pkg_info -L <name> | xargs ls -l > /dev/null


> Or maybe a list of all installed packages?

this can be accomplished by pkg_info.  personally i prefer the
following (note: self promotion:)...

  perl program:
    http://www103.pair.com/parv/comp/unix/bin/listpkg.perl

  pod (plain old documentation):
    http://www103.pair.com/parv/comp/unix/doc/doc.bin/listpkg.perl.text

  a shell script which i no longer develop:
    http://www103.pair.com/parv/comp/unix/bin/listpkg


  - parv

-- 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021212180321.GA11246>