Re: Update Utility

From: Gerard Seibert (gerard-seibert_at_rcn.com)
Date: 03/08/04

  • Next message: Frank Knobbe: "Re: portsdb issues"
    Date: Mon, 08 Mar 2004 15:45:10 -0500
    To: freebsd-questions@freebsd.org
    
    

    On Monday, March 08, 2004 1:56:24 PM bsilver@chrononomicon.com wrote:

    |>Date: Mon, 8 Mar 2004 12:22:09 -0500
    |>From: Bart Silverstrim <bsilver@chrononomicon.com>
    |>Subject: Re: Update utility
    |>To: "Ioannis Vranos" <ivr@emails.ru>
    |>Cc: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
    |>Message-ID: <2121A5DA-7125-11D8-B6F7-000A956D2452@chrononomicon.com>
    |>Content-Type: text/plain; charset=US-ASCII; format=flowed
    |>
    |>
    |>On Mar 8, 2004, at 12:15 PM, Ioannis Vranos wrote:
    |>
    |>> Is there any utility in FreeBSD 4.9 to check for possible updates/bug
    |>> fixes
    |>> via internet?
    |>>
    |>
    |>I *think* have have kind of a handle on this on the server I just
    |>installed...
    |>
    |>I usually do a cvsup to update the list of the ports tree, then use a
    |>procedure I picked out of http://www.freebsddiary.org/portupgrade.php
    |>to update applications with portupgrade.
    |>
    |>If anyone else has a method other than this, I'd love to know the
    |>procedure :-)
    |>
    |>This only updates ports. Updating FreeBSD, I don't know of anything
    |>other than if you find a security advisory, you have to have the src
    |>tree and patch that portion and recompile whatever had the
    |>vulnerability, following the advisory instructions. I'm thinking that
    |>since most daemons/applications are from ports, keeping your ports tree
    |>updated should limit most remote exploits...I would be interested in
    |>knowing of a way to check whether the installation of the OS is up to
    |>date, though.

    ********** Reply Separator **********
    Monday, March 08, 2004 3:24:31 PM

    I use what many might consider a rather contorted mix of programs to
    update my system.

    First, I log in as root. I could use 'sudo' but I have found that at
    times portupgrade does not work correctly with it. Even when I add the
    '-s' switch. In any case, I run them in the following order as
    specified.

    1) cvsup
    2) pkgdb -aFfuv
    3) portsdb -Uu
    4) portupgrade -aDDPrRvy
    5) periodic weekly

    I am not sure if this is the absolute correct way to do things; however,
    so far I have not experienced any problems doing it this way. You could
    skip step five if your system is on 24/7 or at least when the cron job
    is scheduled to run.

    You might want to throw a 'portsclean -CDDLPP' into the mix also prior
    to step five.

    I am sure that others will have far better suggestions.

    Gerard Seibert
    gerard-seibert@rcn.com

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Frank Knobbe: "Re: portsdb issues"

    Relevant Pages

    • Re: gettext/GPLv4 virus infects FreeBSD
      ... remember that the FreeBSD ports tree is not branched. ... You might find it easier jpd, by cutting down the time spent calling ... We don't play the blame game here. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: FreeBSD or OpenBSD
      ... > Should I make the switch from FreeBSD to OpenBSD for my servers? ... OpenBSD has proactively rabid security. ... negates the advantage of FreeBSD's larger ports tree for a server. ... Source upgrades (OpenBSD offers no official support for the ...
      (freebsd-questions)
    • Xorg 7.3 Works Fine Now - But .. A Few More Questions
      ... no longer being in he ports tree. ... Current Operating System: FreeBSD ozzie.tundraware.com 6.2-STABLE FreeBSD ... Module "ramdac" already built-in ...
      (freebsd-questions)
    • Re: FreeBSD Security Advisory FreeBSD-SA-02:21.tcpip
      ... started using freebsd and set up my first server. ... i personally do not trust binary package systems (although i am ... nor do i blindly trust the ports tree. ... a Changelog file, containing the history of major fixes/enhancements to ...
      (FreeBSD-Security)
    • How do YOU stay up to date?
      ... I'm finally getting my arms around FreeBSD and the updating processes ... I now understand how to use cvsup to keep my src and ports tree current. ... I know how to use pkg_add -r to install new sotware, ...
      (freebsd-questions)