Subject: Re: pkgsrc and update
To: None <netbsd-users@netbsd.org>
From: Karsten Kruse <tecneeq@gmx.net>
List: netbsd-users
Date: 07/25/2005 07:35:58
Jukka Marin wrote:
> So, HOW do I update installed packages without first removing all packages
> and then installing everything from scratch.
I wrote a script for that:
http://tecneeq.dyndns.org/~karsten/scripte/smartupdate
It creates a list of packages to update with pkg_tarup. Then it creates a
list with packages to delete and rebuild. If nothing failed the
backup-packages are deleted.
If something goes wrong you install the backed up packages.
I use it to jump from pkgsrc-snapshot to pkagsrc-snapshot and it works
well enough.
Karsten
--
Homepage, Mac68k, A/UX-Links und Shorties: www.tecneeq.de
() Linux/NetBSD-Anleitungen, Forum und Chat: www.newbie-net.de
<\/> GPL-guy: "Argh, they used my code! :-/"
_/\_ BSD-guy: "Cool, they used my code! :-)"