From owner-freebsd-ports@FreeBSD.ORG Tue Jun 6 04:46:26 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 45FFB16AD26 for ; Tue, 6 Jun 2006 04:17:44 +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 68A8843D45 for ; Tue, 6 Jun 2006 04:17:43 +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 k564TOew002267; Tue, 6 Jun 2006 07:29:24 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id k564TMPl002263; Tue, 6 Jun 2006 07:29:23 +0300 Date: Tue, 6 Jun 2006 07:29:22 +0300 (EEST) From: Achilleus Mantzios To: Jack Raats In-Reply-To: <001701c688ad$f3109db0$4001a8c0@jarasoft.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: freebsd-ports@freebsd.org 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: Tue, 06 Jun 2006 04:46:27 -0000 O Jack Raats έγραψε στις Jun 5, 2006 : > Did you actually try these commands? > You wrote that it went wrong during a portupgrade. > At that moment you are using distfiles and workspace! > > So did you give it a try??? Definately i did, although it was apparent that those commands could not fix the missing +CONTENTS file problem. > > Jack > > > ----- Original Message ----- > From: "Achilleus Mantzios" > To: "Jack Raats" > Sent: Monday, June 05, 2006 4:26 PM > Subject: Re: package corrupt/whats the "official" way of dealing with? > > > 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