Re: How to determine which distribution sets were installed

From: Matthew Seaman (m.seaman_at_infracaninophile.co.uk)
Date: 11/30/03

  • Next message: Matthew Seaman: "Re: No reference to files ???"
    Date: Sun, 30 Nov 2003 10:35:14 +0000
    To: Paul van Berlo <pvanberlo@fastmail.fm>
    
    
    

    On Sun, Nov 30, 2003 at 10:24:48AM +0100, Paul van Berlo wrote:

    > is there an easy way to determine which distribution sets were installed
    > during the FreeBSD installation and after that? I inherited a server and
    > want to make sure what is and is not installed. Of course I can do all of
    > this manually, but I was hoping FreeBSD keeps a log or something
    > somewhere.

    Well, you can assume that the base system was installed or you
    wouldn't have a machine to run. The other stuff you can install at
    that stage from sysinstall(8) is basically the contents of /usr/src or
    /usr/ports -- so if there's stuff under those directories then you can
    definitely say that *more* than base was installed.

    However, don't assume that everything necessarily was installed
    through sysinstall(8) -- it's common to maintain the system sources
    and the ports tree using cvsup(1): see the contents of /usr/sup for a
    log of what has been installed. Look at the timestamps on the files
    under /usr/obj to see when the system was last rebuilt. Or use the
    'uname' command to show when the running kernel was compiled:

        % uname -v

    The third big chunk of stuff that you can install from sysinstall(8)
    are pkgs -- although these are generally installed either using the
    pkg_* tools from a running system, or (preferably) by compiling the
    port. Either way, you can get a listing of what's installed by:

        % pkg_info -Ia

    (or even just 'ls -la /var/db/pkg'). See also pkg_version(1) for
    comparing the version numbers of what's installed with what's
    available in your ports tree.

            Cheers,

            Matthew

    -- 
    Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                          Savill Way
    PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
    Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
    
    



  • Next message: Matthew Seaman: "Re: No reference to files ???"

    Relevant Pages

    • Re: System can not boot, seems can not find right partition after add new label
      ... I burned a install cdm using it I find I have set ad4s2 to be ... > bsdlabel to create new slice, but the new slice did not show up. ... FreeBSD installation CD or liveCD), go to Configure -> Fdisk, then ...
      (freebsd-questions)
    • Re: How can I add /usr/src/secure to a system ?
      ... You can install the source code from the FreeBSD installation cd (or ... install it over FTP) - just use /stand/sysinstall and choose ...
      (freebsd-questions)
    • Re: new package system proposal
      ... If I could install, let's say, FreeBSD 7.1 on that system, use ... No because the packages are built on a rolling ports tree. ... the precompiled packages are somewhat -STABLE every time. ... snapshot and choosing only to upgrade certain ports. ...
      (freebsd-questions)
    • Re: Is FreeBSD ready for desktop (Mozilla Flash)
      ... > which wasn't found at Adobe, then it wasn't found at ftp.freebsd.whatever, ... I am running a fresh install - no portupgrades, ... since you did not update the ports tree. ...
      (comp.unix.bsd.freebsd.misc)
    • RE: swap_pager: out of swap space --> doxygen installation fails
      ... > I suspect that you have assigned too little swap space. ... I would recommend first CVSup the main source tree (however it is not ... even the ports tree is completely empty!? ... > I then tried to install doxygen as package via sysinstall. ...
      (freebsd-questions)