From owner-freebsd-questions Sun Jul 28 14:11:57 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 2313A37B400 for ; Sun, 28 Jul 2002 14:11:50 -0700 (PDT) Received: from c007.snv.cp.net (h000.c007.snv.cp.net [209.228.33.228]) by mx1.FreeBSD.org (Postfix) with SMTP id 7326143E31 for ; Sun, 28 Jul 2002 14:11:49 -0700 (PDT) (envelope-from backdoc@crotchett.com) Received: (cpmta 23906 invoked from network); 28 Jul 2002 14:11:48 -0700 Received: from 65.187.59.153 (HELO localhost.localdomain) by smtp.directvinternet.com (209.228.33.228) with SMTP; 28 Jul 2002 14:11:48 -0700 X-Sent: 28 Jul 2002 21:11:48 GMT Content-Type: text/plain; charset="iso-8859-2" From: Darren Crotchett To: "Michael Sharp" Subject: Re: portupgrade aftermath Date: Sun, 28 Jul 2002 16:11:41 -0500 User-Agent: KMail/1.4.1 References: <200207260833.10965.backdoc@crotchett.com> <200207280908.53697.backdoc@crotchett.com> <1305.192.168.1.1.1027866422.squirrel@webmail.probsd.ws> In-Reply-To: <1305.192.168.1.1.1027866422.squirrel@webmail.probsd.ws> Cc: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200207281611.41037.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 How about I try: pkg_deinstall -fr ruby-fnmatch I tried pkg_deinstall ruby-fnmatch and it returned: scsibox# pkg_deinstall ruby-fnmatch ---> Deinstalling 'ruby-fnmatch-1.1b_1' pkg_delete: package 'ruby-fnmatch-1.1b_1' is required by these other pack= ages and may not be deinstalled: portupgrade-20020429 portupgrade-20020429 portupgrade-20020429 ** The following packages were not deinstalled (*:skipped / !:failed) ! ruby-fnmatch-1.1b_1 (pkg_delete failed) Or, would leaving the -r off work better? Aftwards, I could try reinstalling portupgrade. I feel safe that about i= t not=20 deleting anything I need. But, I wonder how good portupgrade would be at= =20 uninstalling itself. Darren On Sunday 28 July 2002 09:27 am, Michael Sharp wrote: > you can de-install ruby-fnmatch. Its obsolete, thus, the error. > > michael > > Darren Crotchett said: > > Sorry to be spamming the list this morning. But, impatience has > > gotten the better of me. I went ahead and took a small risk of > > further mucking things up. But, it worked out good. For the > > benefit of anyone trying to help me and anyone who might read > > this thread in the archives, let me summarize. > > > > I had to use portupgrade -fr mailman to get mailman to reinstall. > > I did add CGI_GID?=3D to the last line of /etc/make.conf. And, all > > of this did work. > > > > I still have a little tidying up to do, though. > > > > After having run portsdb -Uu, I tried to re-run portupgrade -r > > ruby-fnmatch. But, I get an error: > > > > cd: can't cd to /usr/ports/devel/ruby-fnmatch > > ** The port directory for 'devel/ruby-fnmatch' does not exist. > > ---> Skipping 'sysutils/portupgrade' (portupgrade-20020429) > > because 'devel/ruby-fnmatch' (ruby-fnmatch-1.1b_1) failed > > ** The following packages were not installed or upgraded > > (*:skipped / !:failed) > > ! devel/ruby-fnmatch (ruby-fnmatch-1.1b_1) (port > > directory error) * sysutils/portupgrade > > (portupgrade-20020429) > > > > Can someone give me some insight to what these errors are all > > about? > > > > Thanks, > > Darren > > > > On Sunday 28 July 2002 08:50 am, Darren Crotchett wrote: > >> One more question before I reinstall Mailman. Will I need to > >> use portinstall or portupgrade -N since, as far as portupgrade > >> is concerned, it successfully upgraded it already? > >> > >> Darren > >> > >> On Sunday 28 July 2002 08:29 am, Darren Crotchett wrote: > >> > I'm finally getting somewhere. I got mysql server to compile > >> > >> by copying /etc/defaults/make.conf to /etc/make.conf and > >> adding the line > >> > >> > SKIP_INSTALL_DB=3Dyes to the last line. > >> > > >> > Now, I thought I'd try the same thing with Mailman by adding > >> > >> CGI_GID?> > 65533 to my /etc/make.conf. However, before I do, > >> I'd like to know if this might adversely affect other > >> programs. > >> > >> > Thanks, > >> > 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 rebuild 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 error)! 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 why 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). 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 time including UID/GID . Also look at the -M option > >> with > >> > >> > > portinstall/portupgrade. Then have a look at man make.conf . > >> > >> You can set permanent variables for ports there to make sure > >> they are always used on 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 > > > > 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