From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 18:54:47 2005 Return-Path: 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 3637E16A4CE for ; Sun, 13 Mar 2005 18:54:47 +0000 (GMT) Received: from lakermmtao05.cox.net (lakermmtao05.cox.net [68.230.240.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CA0B43D2D for ; Sun, 13 Mar 2005 18:54:46 +0000 (GMT) (envelope-from jlh@cox.net) Received: from [192.168.2.103] (really [68.13.124.67]) by lakermmtao05.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050313185446.GODE3789.lakermmtao05.cox.net@[192.168.2.103]>; Sun, 13 Mar 2005 13:54:46 -0500 Message-ID: <42348C9D.40200@cox.net> Date: Sun, 13 Mar 2005 12:55:25 -0600 From: Jeff Hinrichs User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fafa Diliha Romanova References: <20050313170924.3D1504BE6D@ws1-1.us4.outblaze.com> In-Reply-To: <20050313170924.3D1504BE6D@ws1-1.us4.outblaze.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: portsdb -uU error (I also need some tips) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2005 18:54:47 -0000 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