From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 18:52:13 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 5B6AF16A4CE for ; Sun, 13 Mar 2005 18:52:13 +0000 (GMT) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2DE343D53 for ; Sun, 13 Mar 2005 18:52:12 +0000 (GMT) (envelope-from jason@ec.rr.com) Received: from BARTON (cpe-065-184-201-054.ec.rr.com [65.184.201.54]) j2DIq9kc007268; Sun, 13 Mar 2005 13:52:09 -0500 (EST) Date: Sun, 13 Mar 2005 19:01:03 +0000 From: Jason Henson To: Fafa Diliha Romanova References: <20050313170924.3D1504BE6D@ws1-1.us4.outblaze.com> In-Reply-To: <20050313170924.3D1504BE6D@ws1-1.us4.outblaze.com> (from fteg@london.com on Sun Mar 13 12:09:24 2005) X-Mailer: Balsa 2.2.6 Message-Id: <1110740463l.16115l.1l@BARTON> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine 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:52:13 -0000 On 03/13/05 12:09:24, Fafa Diliha Romanova wrote: >=20 > Hello! >=20 > There's been a lot of mess in my ports lately. > I want to get rid of this: >=20 > pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded > pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded >=20 > Which pops up every time I install/deinstall a port or package. > I have done a 'pkgdb -F' which seemed to work. >=20 > Upon 'portsdb -uU' I get: It looks like a problem with /var/db/pkg. You have time to wipe /var/db/pkg and remove all ports? Try portmanager before you wipe your =20 ports and db. Have you cd /usr/ports && mkae fetchindex? >=20 > Stop in /usr/ports. > No such file or directory - /tmp/INDEX8274.0 > portsdb: index chmod error > chmod error? Are you root or what? > ######################### >=20 > So what is this? >=20 > Also, can anybody tell me if these commands are all I need to > do a full cleanup and upgrade of my ports? >=20 > This is my /root/make.PORTS: >=20 > ######################### >=20 > cvsup -g -L 2 /etc/cvsupfile && pkgdb -F && portupgrade -ra && =20 > portsdb > -uU && portupgrade -ra && pkgdb -F > Don't do pkgdb unattended, you may need to answer questions. You could =20 skip all this index stuff if you use portmanager. But you need /var/db/pkg in good condition to use pormanager, I think? > ######################### >=20 > Thank you all so much! >=20 > All the best, > -- Fafa >=20 >=20