From owner-freebsd-questions Sat Jul 27 7:15:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92FF837B400 for ; Sat, 27 Jul 2002 07:15:36 -0700 (PDT) Received: from c007.snv.cp.net (h013.c007.snv.cp.net [209.228.33.241]) by mx1.FreeBSD.org (Postfix) with SMTP id 2C23F43E4A for ; Sat, 27 Jul 2002 07:15:36 -0700 (PDT) (envelope-from backdoc@crotchett.com) Received: (cpmta 20989 invoked from network); 27 Jul 2002 07:15:35 -0700 Received: from 65.187.59.153 (HELO localhost.localdomain) by smtp.directvinternet.com (209.228.33.241) with SMTP; 27 Jul 2002 07:15:35 -0700 X-Sent: 27 Jul 2002 14:15:35 GMT Content-Type: text/plain; charset="iso-8859-1" From: Darren Crotchett To: Bauer Subject: Re: portupgrade aftermath Date: Sat, 27 Jul 2002 09:15:29 -0500 User-Agent: KMail/1.4.1 Cc: freebsd-questions@FreeBSD.ORG References: <200207260833.10965.backdoc@crotchett.com> <20020726192644.51794926.timewax@web.de> In-Reply-To: <20020726192644.51794926.timewax@web.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200207270915.29971.backdoc@crotchett.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks all, OK. I've run portsdb -Uu. Now, I have a few new errors to report. But,= =20 first, assuming the errors are not critical, where do I re-enter the proc= ess=20 I started? Just try portupgrade -r ? Would portugrade -ra no= t=20 skip everything except what still needs updating? Here's the new errors from portsdb -Uu. Updating the ports index ...=20 p5-Unicode-MapUTF8-1.09:"/usr/ports/japanese/p5-Unicode-String-2.06"=20 non-existent -- dependency list incomplete p5-Jcode: malformed entry: p5-Jcode| gthumb-0.13:"" non-existent -- dependency list incomplete gthumb-0.13:"/usr/ports/devgtksee-0.5.0_2" non-existent -- dependency lis= t=20 incomplete el/libglade: malformed entry: el/libglade| =20 /usr/X11R6/share/gnome/.keep_me:/usr/ports/misc/gnomehier =20 /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc:/usr/ports/misc/gnome= mimedata =20 | make_index: no entry for: /usr/ports/converters/p5-Unicode-String make_index: no entry for: /usr/ports/converters/p5-Unicode-String make_index: no entry for: /usr/ports/converters/p5-Unicode-String make_index: no entry for: /usr/ports/converters/p5-Unicode-String make_index: no entry for: /usr/ports/converters/p5-Unicode-String make_index: no entry for: /usr/ports/converters/p5-Unicode-String make_index: no entry for: /usr/ports/converters/p5-Unicode-String make_index: no entry for: /usr/ports/converters/p5-Unicode-String make_index: no entry for: /usr/ports/converters/p5-Unicode-String make_index: no entry for: /usr/ports/converters/p5-Unicode-String make_index: no entry for: /usr/local make_index: no entry for: /usr/local make_index: no entry for: /usr/ports/converters/p5-Unicode-String Thanks again, Darren On Friday 26 July 2002 12:26 pm, Bauer wrote: > Hi, > > On Fri, 26 Jul 2002 08:33:10 -0500 > > Darren Crotchett wrote: > > Quick background: > > I'm trying to transition from complete newbie to newbie-admin. In > > other words, I can handle most of the basics of getting a system up > > and going. Now I want to learn how properly admin a FreeBSD box. I'= m > > running 4.6-RELEASE. Due to the recent security issues involving php= , > > apache and openssh, I thought that I would try to upgrade all of my > > installed ports/packages. Things went OK but, not great. I have a > > couple of questions. Here's how I did what I did: > > > > cvsup -g -L 2 /path/to/ports-supfile > > You should always run portsdb -uU after you updated your ports to rebui= ld > the INDEX > > > After running portupgrade, I was greeted with the following message: > > > > ** The following packages were not installed or upgraded (*:skipped > > /!:failed) > > =09! databases/mysql323-server (mysql-server-3.23.49) (install > > =09error)! devel/ruby-fnmatch (ruby-fnmatch-1.1b_1) (port > > =09directory error)* sysutils/portupgrade (portupgrade-20020429) > > > > The first question I have is what to do about those messages? > > mysql-server 3.23.51is the version I have in /usr/ports. I wonder wh= y > > portupgrade had trouble installing? Should I try manually installing > > it? What command line options should I use with portupgrade for that= ? > > I don't know if this is the best way, but I always try a portupgrade -r > port and look at the exact error make gives. > > > I don't know how important ruby-fnmatch is. But, I don't know of any > > specific reason why I need it. So, I'm not too worried about it. > > But, I don't care to have loose ends. So, I do want to deal with it > > properly. What should I do with it? > > Try to run portsdb -uU and then upgrade this port again. > > > Finally, this last part is more a comment than a question. After > > upgrading, phpBB and mailman quit working. I discovered that mysql > > was no longer set to start on boot (which is why phpBB wouldn't work)= =2E > > And, mailman is back to > > giving me UID/GID problems (I always have to edit my Makefile and > > recompile it). I think I can take care of both of these problems. > > But, why would portupgrade leave my services unusable? It seems like > > if it had problems, it would be smart enough to back out and give you > > a message. > > Run make options in mail/mailman. You can set some options at build tim= e > including UID/GID . Also look at the -M option with > portinstall/portupgrade. Then have a look at man make.conf . You can se= t > permanent variables for ports there to make sure they are always used o= n > your upgrades. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message