From owner-freebsd-stable Sun Jan 12 7:14:22 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7995D37B401 for ; Sun, 12 Jan 2003 07:14:19 -0800 (PST) Received: from paloma17.e0k.nbg-hannover.de (paloma17.e0k.nbg-hannover.de [62.181.130.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 1258543EB2 for ; Sun, 12 Jan 2003 07:14:18 -0800 (PST) (envelope-from marcus@hamburg.de) Received: (qmail 21266 invoked from network); 12 Jan 2003 15:14:15 -0000 Received: from unknown (HELO mhntwks) ([213.39.132.13]) (envelope-sender ) by paloma17.e0k.nbg-hannover.de (qmail-ldap-1.03) with SMTP for ; 12 Jan 2003 15:14:15 -0000 From: "Marcus Henschel" To: Cc: Subject: WG: Portversion - Portupgrade Date: Sun, 12 Jan 2003 16:14:27 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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