From owner-freebsd-ports@FreeBSD.ORG Tue Apr 2 21:02:44 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E233FC17 for ; Tue, 2 Apr 2013 21:02:44 +0000 (UTC) (envelope-from jlaffaye.freebsd@gmail.com) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 7C1ADA47 for ; Tue, 2 Apr 2013 21:02:44 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id hr17so2995921wib.5 for ; Tue, 02 Apr 2013 14:02:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=k2G8ndbK2dpMWEbEJ89YruQ/bsifrZ2Jo5kYZn3oRVg=; b=ApgbCGK2DmKqKIHyg8wRYqyE1JJMY8GhQa0DqkOj7/hbqe/htl4pHPtN220UGze4Xr Xd6m/3Z7XV0enkiHsgJlb/BlFfw0wBtHmpcGe4BUPD2WqCrRgvMntQMTEHlPqk0wRaCE nSaRD+CWguOReLpHA2DYIlMeoPblcCocxyLQLhCIUZdiPMH0gnOCRcanKQBZCh9SayrB Jn1XYyXte1yo6ucNA18iRUb98cbtVCd7ZWZAVisy8IZFoPuAi1A2D0EEWuCTM4htihyA CujiVIR8PWKv/Aqwo4n0p7TJGkFmITa89miAj0IYVsKCd9P1xvzB38XWhERwuYgGehBk 9KcA== X-Received: by 10.194.63.109 with SMTP id f13mr24862488wjs.11.1364936563538; Tue, 02 Apr 2013 14:02:43 -0700 (PDT) Received: from [192.168.1.66] (lantea.jlaffaye.net. [109.190.125.169]) by mx.google.com with ESMTPS id q13sm22128416wie.0.2013.04.02.14.02.41 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Apr 2013 14:02:42 -0700 (PDT) Sender: Julien Laffaye Message-ID: <515B4773.2020908@freebsd.org> Date: Tue, 02 Apr 2013 23:02:43 +0200 From: Julien Laffaye User-Agent: Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-ports Subject: Re: pkg_version: the package info for package '...' is corrupt References: <23068.1364934649@server1.tristatelogic.com> In-Reply-To: <23068.1364934649@server1.tristatelogic.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2013 21:02:44 -0000 On 4/2/2013 10:30 PM, Ronald F. Guilmette wrote: > > Ok, first, my apologies to Leslie Jensen about the e-mail bounce. It is > nothing personal, believe me. I just have a personal policy of locally > blacklisting any and all domains that send me spam. (Apparently, at one > time or another, I received some spam from bjare.net.) I believe that > if _everybody_... or even just 10% of everybody... did as I do, then > ISPs would finally take seriously their spam outflow problems. (Most > of them don't at present, and that explains why there is so much spam.) > > Now, as regards to "pkg_version" versus "pkg version" I have never even > seen the latter, so I don't know a damn thing about that. Furthermore, > although there does appear to be an executable named /usr/sbin/pkg > present on my system, whatever the heck it is, it does not seem to have > any associated man page. :-( > > So anyway, I have never used it, I don't know what it even does, and I > would still not know how to use it, even if you held a gun to my head. > > Regarding Julien Laffaye comment(s) relating to "pkgng", I have also > never even heard of that before now. What is it and where do I get it? > And if it is so wonderful... and if what I am using is considered "old"... > then why isn't this new "pkgng" thing the default in/on 9.1-RELEASE? > (I also apparently have no man page for anything called "pkgng" on my > system.) https://wiki.freebsd.org/pkgng /usr/bin/pkg is the binary that will bootrap pkgng, installing the real binary and manpages. > > Anyway, athough I do thank both Leslie Jensen and Julien Laffaye for > their comments and attempts to help, I still am in DIRE need of an answer > to my original question. I have, apparently, over 50 of my installed > ports that pkg_version is now telling me are in some *unspecified way* > "corrupt" and I still need (and am desperately begging for) someone to > tell me how to resolve that problem, exactly. > > As I have said, I _do_ have a recent full system backup, but that doesn't > help me unless and until someone tells me which file or files from that, > exactly, I should be restoring in order to eliminate this problem. > > Could someone kindly do that, please? You can try ports-mgmt/portmaster, which has some options to try to repair the /var/db/pkg database. If the backup is fresh and you did not install new packages since, you can just copy the /var/db/pkg from the backup to the system (backup-ing the broken one, we never know, you might need it...) > > > Regards, > rfg > > > P.S. I do most seriously wonder if whoever engineered the FreeBSD ports > system ever realized how dramatically UNhelpful a message like the following > actually is: > > pkg_version: the package info for package 'evince-2.32.0_9' is corrupt > > I do not intend to offend anyone, but to be frank, this is the kind of a > message I would expect out of a Windows system, i.e. a message that some- > thing is broken, but providing -zero- details regarding what exactly is > broken, where it is located, or, most importantly, how to begin to fix the > problem. > > When I am using Windows, I _expect_ to be treated like a luser... i.e. > one who cannot be trusted with too much information. > > When I am using any kind of *NIX system however, I tend to expect the exact > opposite, and am rather unhappy when critical information is hidden from > me. > _______________________________________________ > 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"