Date: Wed, 16 May 2001 20:31:05 -0700 From: Kent Stewart <kstewart@urx.com> To: BSD Blood <bsdblood@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: ports not installing after updating sources Message-ID: <3B0345F9.504F56D0@urx.com> References: <F58NIPukg3nOpj53XaD00006ea0@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <kstewart@urx.com> > >Reply-To: kstewart@urx.com > >To: BSD Blood <bsdblood@hotmail.com> > >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B0345F9.504F56D0>