Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2003 16:14:27 +0100
From:      "Marcus Henschel" <marcus@hamburg.de>
To:        <pbrossin@swissgeeks.com>
Cc:        <freebsd-stable@freebsd.org>
Subject:   WG: Portversion - Portupgrade
Message-ID:  <PHEGILPJPDADBEBDLMCPAEMLCBAA.marcus@hamburg.de>

next in thread | raw e-mail | index | archive | help
Patrick:

to upgrade MySql with portupgrade do the following:

    1. mysqldump your databases
    2. /usr/local/etc/rc.d/mysql-server.sh stop
    3. portupgrade mysql-client
    4. portupgrade -riv -m 'SKIP_INSTALL_DB=yes' mysql-server
    5. /usr/local/etc/rc.d/mysql-server.sh start

And have a look here: -> http://www.myfreebsd.org/qmail/qmail7.html


 Best regards,

Marcus
--
::name:  marcus henschel                ::
::mail:  mh@myfreebsd.org               ::
::web:   http://www.myfreebsd.org       ::
::home:  hamburg                        ::
>
>
> Running 4.7 and having problems to upgrade my system.
> I saw in portversion (after updating my port tree) that there were
> new versions of some ports (XFree86-Server,-libraries, ....)
> So I decided to 'portupgrade -a'.
>
> Did it but my system doesnt get updated. I get errors when it tries
> to upgrade XFree86.. Same with MySQL and finally no package is updated.
> What are the errors ? There are almost 14 ports to upgrade and no one
> work.. so I can't write 'em all :)
>
> But for example XFree86-libraries-4.2.1_5 ends up with :
>
> [..]
> In file included from Imakefile.c:14:
> config/cf/Imake.tmpl:1814: LessTif.rules: No such files or directory
> In file included from Imakefile.c:14:
> config/cf/Imake.tmpl:1827: LessTif.tmpl: No such files or directory
> ./config/imake/imake: Exit code 1.
>    Stop.
> *** Error code 1
>
> Stop in /usr/ports/x11/XFree86-4-libraries/work/xc.
> *** Error code 1
>
>
> MySQL ends up with:
>
> [..]
> --> Backing up the old version
> --> Uninstalling the old version
> --> Deinstalling 'mysql-server-3.23.53_4'
> Updating pkgdb...
> --> Installing new version via ports
> [..]
> If you understand the consequences of this upgrade, please re-build this
> port with the environment variable OVERWRITE_DB defined.
> ***Error code 1
> [..]
>
> I do not see why I should specify any variable .. portupgrade should do
> it no ?
>
> Any idea of what to do ?
>
> Thanx
>
> --
> Pierrick Brossin
> IT Employee
> 15, Ch. du Château, 1422 Grandson, Switzerland
> Tel Prof: +41-327201423 Mobile Priv: +41-794137145
> Mail Prof: pbrossin@quark.ch Mail Priv: admin@swissgeeks.com
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PHEGILPJPDADBEBDLMCPAEMLCBAA.marcus>