Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2007 15:12:41 -0600
From:      Chad Perrin <perrin@apotheon.com>
To:        Michael Grant <mg-fbsd3@grant.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: keeping all things up to date
Message-ID:  <20070417211241.GB48816@demeter.hydra>
In-Reply-To: <62b856460704170558i59cbe4c9m2b222af0e72af4ce@mail.gmail.com>
References:  <62b856460704170112x7bae258dm5aede163b203a85b@mail.gmail.com> <20070417091026.GA17020@demeter.hydra> <14989d6e0704170249v486f3ad9vc5c8df53378229ca@mail.gmail.com> <62b856460704170558i59cbe4c9m2b222af0e72af4ce@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 17, 2007 at 02:58:34PM +0200, Michael Grant wrote:
> >Just as an example that just came up recently: gettext was updated in
> >the ports tree, which required a rebuild of all ports that depend on
> >it. I missed reading /usr/ports/UPDATING before, so I didn't notice
> >this fact. I did an update on my girlfriends laptop which resulted in
> >several applications not being usable anymore. Imagine my face as I
> >had to explain to her why she was unable to use her machine for one
> >and a half day.
> >Another lesson learned...
> >
> >That's why I agree to Chad: Doing automatic updates isn't advisable.
> >They might even come at the wrong time, e.g. when you need your system
> >resources. I'm thinking about monsters like OpenOffice, GNOME or KDE.
> 
> Wait, before this gets out of hand, yes, I've been bitten with gettext
> more than once over the years.  Mostly I'm worried about bug fixes in
> the OS and in the ports I've installed.  I'm not talking about massive
> upgrade from one version of the OS to another.
> 
> What would be nice to see is some script that would sort out
> dependencies and update things sanely.
> 
> I think we're all guilty at some point of not having read UPDATING and
> updating something.    It would be nice if there was something could
> watch out for certain conditions and then print out the relevant
> section from UPDATING on the screen.
> 
> Those are just some obvious ideas.  However, there are unix systems,
> for example Ubuntu, which has a sort of package manager that handles
> automated updates that sorts out dependencies.  I was just wondering
> if anyone had done anything like that for FreeBSD?

Ubuntu just uses Debian's APT.  Most of the time it works like a charm.
Sometimes, it produces frustrating failures -- like updating gettext
without reading UPDATING, except you don't have UPDATING and sometimes
don't have any warning at all.

I prefer what I've encountered of FreeBSD's approach.  If someone can
point me at software that will do something similar to APT but without
the occasional bit of failure to which that sort of "do everything for
me" system is prone, I'd be happy to have it -- but I'm not sure it
exists, or would even be easy enough to create that we'll see it any
time soon.

If you have specific ideas about what parts of the updating process are
"safe", you might try writing a few shell or Perl scripts that automate
those steps -- then share them with the rest of the world.  You might
also, if writing such scripts is too far outside your expertise, simply
put together a carefully crafted list of steps you think should be taken
so you can pass it on to others like myself who might be more likely to
write the code (at which point I/he/she can give it back to you for your
own use).

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"Real ugliness is not harsh-looking syntax, but having to
build programs out of the wrong concepts." - Paul Graham



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