[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
port/package update procedure
- To: misc@openbsd.org
- Subject: port/package update procedure
- From: "Sancho2k.net Lists" <lists@sancho2k.net>
- Date: Tue, 30 Sep 2003 10:21:31 -0600 (MDT)
- User-Agent: SquirrelMail/1.4.0
Greetz,
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?
Also I see that mysql-client is a dependency for the php4-mysql package
that I have installed. What is the proper way to handle the update, given
package dependencies? Does this require removing php4-mysql, installing
the new mysql-client package, and building and installing a new php4-mysql
package that is linked against the new version of mysql-client?
TIA,
DS