From owner-freebsd-ports@FreeBSD.ORG Mon Jun 5 14:16:00 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92DED16B51F for ; Mon, 5 Jun 2006 14:16:00 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (host2.dynacom.ondsl.gr [62.103.35.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5DD643D5A for ; Mon, 5 Jun 2006 14:15:55 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id k55ERXew032607 for ; Mon, 5 Jun 2006 17:27:33 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id k55ERXjo032603 for ; Mon, 5 Jun 2006 17:27:33 +0300 Date: Mon, 5 Jun 2006 17:27:33 +0300 (EEST) From: Achilleus Mantzios To: freebsd-ports@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Subject: Re: package corrupt/whats the "official" way of dealing with? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 14:16:18 -0000 O Jack Raats έγραψε στις Jun 5, 2006 : > The below commands will look at your packages files and compare the > checksums to find a corrupted file. > It also will clean the ports/package directories from crap. > It will NOT destroy any installed packages or port unless it's corrupted. > It's very safe to use these commands. > > You'll need to have root priveleges to run these commands of course These commands have nothing to do with my problem. -C cleans work dirs -D(D) distfiles -P(P) package tarballs ./distclean.sh cleans distfiles too Any one else has any ideas? > > JAck > > > ----- Original Message ----- > From: "Achilleus Mantzios" > To: "Jack Raats" > Sent: Monday, June 05, 2006 10:48 AM > Subject: Re: package corrupt/whats the "official" way of dealing with? > > > O Jack Raats έγραψε στις Jun 5, 2006 : > > > I once had a simular problem. > > I solved it using the following commands after each other > > > > portsclean -C > > portsclean -D > > portsclean -DD > > portsclean -P > > portsclean -PP > > cd /usr/ports/Tools/scripts > > ./distclean.sh -f > > > > SUccess! > > My problem post probably lies in the erroneous absence > of +CONTENTS file in the problematic /var/db/pkg// > dirs. > > Does any of the above commands you used affects/rebuilds those +CONTENTS > files? > > > > > Jack Raats > > > > > > > > ----- Original Message ----- > > From: "Achilleus Mantzios" > > To: > > Sent: Monday, June 05, 2006 10:20 AM > > Subject: package corrupt/whats the "official" way of dealing with? > > > > > > > > > > Hi, > > > > > > during a 6.0-BETA1 to 6.1-RELEASE-p1 upgrade cycle > > > and a subsequent > > > portupgrade -PRr '*', > > > (and most probably while doing the nvidia port), > > > my system crashed and it left the /var/db/pkg system > > > in a corrupted condition: > > > > > > pkg_info: the package info for package 'apache-ant-1.6.5' is corrupt > > > pkg_info: the package info for package 'arts-1.4.2,1' is corrupt > > > pkg_info: the package info for package 'at-spi-1.6.4' is corrupt > > > pkg_info: the package info for package 'bitstream-vera-1.10_1' is > > > corrupt > > > pkg_info: the package info for package 'bugbuddy-2.10.0_1' is corrupt > > > pkg_info: the package info for package 'cairo-0.4.0' is corrupt > > > pkg_info: the package info for package 'cvsup-16.1h_2' is corrupt > > > pkg_info: the package info for package 'dasher-3.2.15' is corrupt > > > pkg_info: the package info for package 'dri-6.2.1,2' is corrupt > > > pkg_info: the package info for package 'eclipse-3.1' is corrupt > > > pkg_info: the package info for package 'eel-2.10.1_1' is corrupt > > > pkg_info: the package info for package 'el-kde-i18n-3.4.2' is corrupt > > > pkg_info: the package info for package 'el-openoffice-1.1.5.rc2' is > > > corrupt > > > pkg_info: the package info for package 'eog-2.10.2' is corrupt > > > > > > None of the popular -f -u etc... pkgdb switches seem to remedy the > > > problem. > > > > > > What should i do? > > > > > > I am thinking of deleting the above dirs and installing those packages > > > again. > > > > > > -- > > > -Achilleus > > > > > > > > > > > > _______________________________________________ > > > freebsd-ports@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > > > > > > > > -- -Achilleus