From owner-freebsd-questions@FreeBSD.ORG Mon May 9 08:26:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 205BC1065676 for ; Mon, 9 May 2011 08:26:05 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id CE6118FC13 for ; Mon, 9 May 2011 08:26:04 +0000 (UTC) Received: by vxc34 with SMTP id 34so7454640vxc.13 for ; Mon, 09 May 2011 01:26:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=tTKv6SVsjN8+2wEuega4E+HWoXZuHxMCT4yn0ph7aI0=; b=D8iD8AvDPpO4DiAcfpyGsThEpLIiQLPw3TqxOlOcB1aCdzLtnJ0wleNOxOs6/Dfs0T kKiNQYDXowp+t79cabjgqDxuBht22Z0G+ylhxL/SrI4kgVlWw1HT5ufvXh0xpLft9n6y By7f9LUQ4YNKRxxZk+YeVqroX1dTD6j9T1EWY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=egLyLKKSjgeu1qohQbSESLuL8wG+1sq/znGGcuX/WO5bABL/Q5z2XWl+f3hVASq3Wc wrpkk0wEMHHwqNpgv0Y0WXpwjkB7Qj5M5MOguVa+mnhWmFh2aDp88M+OMcygAu9k6Azk kKVFFHnCkntynhAyw5126RMl6DVV7PgrsWy88= MIME-Version: 1.0 Received: by 10.52.178.165 with SMTP id cz5mr191058vdc.310.1304925533423; Mon, 09 May 2011 00:18:53 -0700 (PDT) Received: by 10.52.186.66 with HTTP; Mon, 9 May 2011 00:18:53 -0700 (PDT) Date: Mon, 9 May 2011 09:18:53 +0200 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: MOVED file format error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2011 08:26:05 -0000 It seems the /usr/ports/MOVED file is corrupt ... after portsnap fetch; portsnap update # pkgdb -F replies: MOVED file format error the file is -rw-r--r-- 1 root wheel 176311 May 9 07:28 /usr/ports/MOVED On a system where I haven't done a portsnap fetch; portsnap update since last week the /usr/ports/MOVED is from May 2 and # pkgdb -F doesn't complain. If I do a portupgrade with the corrupted /usr/ports/MOVED file, I get /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:119:in `fill': MOVED file format er ror (PortsDB::MOVEDError) from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `each' from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `fill' from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `open' from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `fill' from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:107:in `initialize' from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `new' from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `setup' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:256:in `init_pkgtools _global' from /usr/local/sbin/portupgrade:523:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize' from /usr/local/sbin/portupgrade:231:in `new' from /usr/local/sbin/portupgrade:231:in `main' from /usr/local/sbin/portupgrade:2219 # and nothing is updated.. How to get a good /usr/ports/MOVED file ?