From owner-freebsd-current Mon Nov 4 4:36:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9340C37B401 for ; Mon, 4 Nov 2002 04:36:41 -0800 (PST) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5A3443E88 for ; Mon, 4 Nov 2002 04:36:38 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from localhost (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.4/8.12.3) with ESMTP id gA4CaQbT066140 for ; Mon, 4 Nov 2002 23:06:28 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Ports funkyness From: "Daniel O'Connor" To: freebsd-current@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 04 Nov 2002 23:06:26 +1030 Message-Id: <1036413389.21699.15.camel@chowder.localdomain> Mime-Version: 1.0 X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG OK, so I update my ancient -current box and then realise I have to update all my packages too.. No problem except I get funky stuff like -> [guppy 23:02] /usr/ports/sysutils/portupgrade >sudo portupgrade windowmaker-0.65.1_1 [Updating the pkgdb in /var/db/pkg ... - 98 packages found (-61 +4) (...)(? mkisofs-1.15.a21)(? sysutils/pkg_tarup).... done] anonymous: Not in due form: - Hmm.. OK, lets do some package deletion manually.. [guppy 23:03] /var/db/pkg >sudo pkg_delete mozilla-headers-1.0.rc1_1,1 pkg_delete: package 'mozilla-headers-1.0.rc1_1,1' doesn't have a prefix OK, maybe -f will work [guppy 23:03] /var/db/pkg >sudo pkg_delete -f mozilla-headers-1.0.rc1_1,1 pkg_delete: package 'mozilla-headers-1.0.rc1_1,1' doesn't have a prefix [guppy 23:03] /var/db/pkg >ls -la /var/db/pkg/mozilla-headers-1.0.rc1_1,1 total 7 -rw-r--r-- 1 root wheel 52 May 9 21:56 +COMMENT -rw-r--r-- 1 root wheel 0 Nov 3 15:59 +CONTENTS -rw-r--r-- 1 root wheel 83 May 9 21:56 +DESC drwxr-xr-x 2 root wheel 512 Nov 3 15:59 . drwxr-xr-x 100 root wheel 4096 Nov 4 23:02 .. Guess not. Now what do I do? :) Ahh, hmm.. guess that zero length +CONTENTS might have something to do with it. Yech, wonder how that happened :( Lots of my ports appear to be damaged the same way :( -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message