From owner-freebsd-questions Wed May 16 20:31:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.urx.com (mail.urx.com [63.170.19.36]) by hub.freebsd.org (Postfix) with ESMTP id 3660F37B423 for ; Wed, 16 May 2001 20:31:11 -0700 (PDT) (envelope-from kstewart@urx.com) Received: from urx.com [206.159.132.160] by mail.urx.com with ESMTP (SMTPD32-6.06) id A5FADA0280; Wed, 16 May 2001 20:31:06 -0700 Message-ID: <3B0345F9.504F56D0@urx.com> Date: Wed, 16 May 2001 20:31:05 -0700 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: BSD Blood Cc: freebsd-questions@freebsd.org Subject: Re: ports not installing after updating sources References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG BSD Blood wrote: > > I did as I was told and my ports collection are now good. I'm just > wondering:- > 1. What's the file /usr/ports/.cvsignore for? > 2. Is it OK for me to do a 'rm -rf /usr/ports', in which case > /usr/ports/.cvsignore also gets deleted and then resync my ports tree? Is it > a must do leave the /usr/ports/.cvsignore file there? I don't really know. My .cvsignore has two lines containing distfiles and packages. You really don't want cvsup to compare those directories but I don't know when that file was added. You could always save it and move it back. You could also move the distfiles/ and packages/ out and then move them back in after you clean /usr/ports/*. There were some scripts that went through and cleaned up /usr/ports but some people still had sporatic problems when they got through. The rm -rf /usr/ports/* was the easiest, complete solution. It was also the equivalent of using an elephant gun to solve a mouse sized problem. One thing was for sure and that was when cvsup created the new layout, you didn't have problems doing a make. In my case, I was cvsup'ing right through when they made the drastic changes and never had a layout problem. I also have some directories that don't exist such as one for spanish where I have some translation and spell check programs stored and I wouldn't want to delete them right now. Kent > > >From: Kent Stewart > >Reply-To: kstewart@urx.com > >To: BSD Blood > >CC: freebsd-questions@freebsd.org > >Subject: Re: ports not installing after updating sources > >Date: Wed, 16 May 2001 02:43:00 -0700 > > > > > > > >BSD Blood wrote: > > > > > > I've just updated from FreeBSD 4.1 RELEASE to 4.3 STABLE. Here's how my > >1st > > > cvsupfile look like:- > > > *default host=cvsup6.FreeBSD.org > > > *default base=/usr > > > *default prefix=/usr > > > *default release=cvs > > > *default delete use-rel-suffix compress > > > > > > src-all tag=RELENG_4_1_0_RELEASE list=cvs:RELENG_4 > > > ports-all tag=. > > > doc-all tag=. > > > > > > After 'updating' my sources with the 1st cvsupfile, I immediately > >updated > > > again using the 2nd cvsupfile:- > > > *default host=cvsup6.FreeBSD.org > > > *default base=/usr > > > *default prefix=/usr > > > *default release=cvs > > > *default delete use-rel-suffix compress > > > > > > src-all tag=RELENG_4 > > > ports-all tag=. > > > doc-all tag=. > > > > > > I recompile and install my new kernel. The kernel loaded successfully. > >When > > > I want to install some packages using the ports collection, this is the > > > error I get:- > > > Error: your port uses an old layout. Please update it to match this > > > bsd.port.mk. If you have updated your ports collection via cvsup and > >are > > > still getting this error, see Q12 and Q13 in the cvsup FAQ on > > > http://www.polstra.com for further information. > > > *** Error code 1 > > > > > > Stop in /usr/ports/irc/xchat. > > > *** Error code 1 > > > > > > Stop in /usr/ports/irc/xchat. > > > *** Error code 1 > > > > > > Stop in /usr/ports/irc/xchat. > > > *** Error code 1 > > > > > > Stop in /usr/ports/irc/xchat. > > > *** Error code 1 > > > > > > Stop in /usr/ports/irc/xchat. > > > > > > At first, I used only the 2nd cvsupfile to update my sources and I got > >the > > > error when I want to install a package using the ports collection. > >Realizing > > > my mistake, I did a FRESH INSTALLATION and I followed the FAQ's Q12 and > >Q13 > > > method (using 2 cvsupfiles); I got the same error. What did I do wrong? > > > >You didn't understand what they were telling you. Your /usr/ports is using > >the old structure and the error message has nothing to do with cvsup. You > >will find that you have more tree structure in the port than > >.../irc/xchat/files. If you rm the port causing the problem and re-cvsup, > >your problem will go away. The reality is, however, that you need to rm -rv > >/usr/ports/* and then recvsup. That would take your distfiles at the same > >time and would be disruptive. > > > >Kent > > > > > > > > > >_________________________________________________________________________ > > > Get Your Private, Free E-mail from MSN Hotmail at > >http://www.hotmail.com. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > >-- > >Kent Stewart > >Richland, WA > > > >mailto:kbstew99@hotmail.com > >http://kstewart.urx.com/kstewart/index.html > >FreeBSD News http://daily.daemonnews.org/ > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message