[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: port/package update procedure



On Tuesday, September 30, 2003, 12:21:31, Sancho2k.net Lists wrote:
> What is the best and safest way to handle updating of installed packages?
> I am running obsd-3.3 and have mysql-server-3.23.55 and
> mysql-client-3.23.55 installed and want to update the packages to 3.23.57
> version. I have updated my ports tree and built the new packages now.

> My inclination would be to just pkg_delete the 3.23.55 versions of the
> packages and pkg_add the new versions. If I do this, will I have to be
> concerned with losing my data, such as /var/mysql?

In  the  few  times  I've  pkg_delete'd something it left the user stuff
alone and just gave a message saying if you want it gone too you'll have
to delete it yourself.

If in doubt, make a backup.

-- 
rodd@polylogics.com     "The avalanche has already started, it is too
Rod Dorman              late for the pebbles to vote." – Ambassador Kosh