pkg_upgrade (was Re: pkg_add does not backtrack, does it?)

Joan Picanyol i Puig lists-freebsd at biaix.org
Thu Feb 8 23:39:19 UTC 2007


[moved to ports@ with notice on hackers@]

* Ulrich Spoerlein <uspoerlein at gmail.com> [20070208 22:37]:
> Kip Macy wrote:
> > On Wed, 7 Feb 2007, Joan Picanyol i Puig wrote:
> > 
> > >I know what I'd like: a utility in the base system for binary upgrading
> > >of packages. More flexible logic in how the '-r' option is handled would
> > >be nice (being able to fetch all packages from All/ even if you are
> > >on RELENG). Doesn't
> > >
> > >freebsd-update fetch install && pkg_upgrade -a
> > >
> > >look nice for keeping up to date? The obvious hairy details must be
> > >harder than it seems, I'm sure others have considered it (and would have
> > >done it) before.
> >
> > portupgrade -aPP
> 
> Requires a fully populated /usr/ports together with an up-to-date INDEX.
> 
> Not exactly what we are looking for here. I hacked together an ugly
> shell script, that will use pkg_version (it can grab the INDEX from the
> pkg-site via ftp) and gives you the feature to pkg_delete/pkg_add
> selected packages.

Sounds nice, no matter how ugly it looks. Care to share it?

> It is missing a lot of other stuff, though.

Put it up on the wiki and see what happens...

qvb
--
pica


More information about the freebsd-ports mailing list