Date: Sun, 13 Mar 2005 12:15:26 -0800 From: "Michael C. Shultz" <ringworm01@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: portsdb -uU error (I also need some tips) Message-ID: <200503131215.27255.ringworm01@gmail.com> In-Reply-To: <20050313195905.A8C364BE6D@ws1-1.us4.outblaze.com> References: <20050313195905.A8C364BE6D@ws1-1.us4.outblaze.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 13 March 2005 11:59 am, Fafa Diliha Romanova wrote: > Hey! > > I haven't tried fetchindex or portmanager. > I'll try them now. > > As for the make.PORTS, I run them inside screen, so incase > I need to answer something, it won't continue untill I do. > > But do you guys have a suggestion to how a more efficient > make.PORTS could look like? Now I'll include > > cd /usr/ports && make fetchindex > > into it but how about the order and amount of instances of > each command etc? > > Thanks. portmanager doesn't need fetchindex, but if you want to make the readme.html's or do things like make search= in /usr/ports then make fetchindex is a good idea. You are going to loose the index every time you cvsup so here is how I would set up a script to automate things as much as possible: cd /usr/ports make update (this assumes you have /etc/make.conf setup for cvsup) make fetchindex portmanager -u > > ----- Original Message ----- > From: "Jeff Hinrichs" <jlh@cox.net> > To: "Fafa Diliha Romanova" <fteg@london.com> > Subject: Re: portsdb -uU error (I also need some tips) > Date: Sun, 13 Mar 2005 12:55:25 -0600 > > > Fafa Diliha Romanova wrote: > > > Hello! > > > > > > There's been a lot of mess in my ports lately. > > > I want to get rid of this: > > > > > > pkg_delete: package bsdpan-libwww-perl-5.800 has no origin > > > recorded pkg_delete: package bsdpan-libwww-perl-5.800 has no > > > origin recorded > > > > > > Which pops up every time I install/deinstall a port or package. > > > I have done a 'pkgdb -F' which seemed to work. > > > > > > Upon 'portsdb -uU' I get: > > > > > > ######################### > > > > > > Updating the ports index ... Generating INDEX.tmp - please > > > wait..cannot create /tmp/index.UHO8TTKq/INDEX.tmp.desc.german: No > > > such file or directory > > > *** Error code 2 > > > 1 error > > > > > > ***************************************************************** > > >*** Before reporting this error, verify that you are running a > > > supported version of FreeBSD (see http://www.FreeBSD.org/ports/) > > > and that you have a complete and up-to-date ports collection. > > > (INDEX builds are not supported with partial or out-of-date ports > > > collections -- in particular, if you are using cvsup, you must > > > cvsup the "ports-all" collection, and have no "refuse" files.) > > > If that is the case, then report the failure to ports@FreeBSD.org > > > together with relevant details of your ports configuration > > > (including FreeBSD version, your architecture, your environment, > > > and your /etc/make.conf settings, especially compiler flags and > > > WITH/WITHOUT settings). > > > > > > Note: the latest pre-generated version of INDEX may be fetched > > > automatically with "make fetchindex". > > > ***************************************************************** > > >*** > > > > > > *** Error code 1 > > > > > > Stop in /usr/ports. > > > *** Error code 1 > > > > > > Stop in /usr/ports. > > > No such file or directory - /tmp/INDEX8274.0 > > > portsdb: index chmod error > > > > > > ######################### > > > > > > So what is this? > > > > > > Also, can anybody tell me if these commands are all I need to > > > do a full cleanup and upgrade of my ports? > > > > > > This is my /root/make.PORTS: > > > > > > ######################### > > > > > > cvsup -g -L 2 /etc/cvsupfile && pkgdb -F && portupgrade -ra && > > > portsdb -uU && portupgrade -ra && pkgdb -F > > > > > > ######################### > > > > > > Thank you all so much! > > > > > > All the best, > > > -- Fafa > > > > This may not fix all of your problems, but doing a > > cd /usr/ports > > make fetchindex > > is much faster and less problematic than > > portsdb -uU
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503131215.27255.ringworm01>