*BSD News Article 86370


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!www.nntp.primenet.com!nntp.primenet.com!dciteleport.com!newsfeed.internetmci.com!tezcat!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.sprintlink.net!news-peer.sprintlink.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!usenet
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Why upgrades are not simpler?
Date: 7 Jan 1997 01:42:24 GMT
Organization: Coverform Ltd.
Lines: 24
Message-ID: <5as9m0$hho@awfulhak.demon.co.uk>
References: <5akno1$ras$1@news-s01.ca.us.ibm.net>
NNTP-Posting-Host: awfulhak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33729

In article <5akno1$ras$1@news-s01.ca.us.ibm.net>,
	reyes01@ibm.net writes:
> Why is it that upgrading a FreeBSD system can't be done without the user
> losing configurations or files? Will it always be like this? 
> 
> It would be nice if at least while in the same version number such as 2.1.5 
> to 2.1.6 the upgrades would be more automated. If this is a FAQ please just
> let me know where I can read the answer.

If you're talking about the ports & packages, after installing each one,
do a pkg_info -L ..., looking for any config files that have been installed
and that you're likely to change.  For each file, move it to configfile.mine
and make a symlink for the original (configfile -> configfile.mine).

When it comes to upgrading, you can pkg_delete the old one and install the
new one without losing your configs (you still have to make the symlinks).

The ports are getting there - some install sample configs only and let you
copy and alter them.....

-- 
Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....