Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2011 10:48:51 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        n dhert <ndhertbsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: MOVED file format error
Message-ID:  <alpine.BSF.2.00.1105091046250.42458@mail.fig.ol.no>
In-Reply-To: <BANLkTinNWpb6fhoxYJyi53DHC1jeFtj-dw@mail.gmail.com>
References:  <BANLkTinNWpb6fhoxYJyi53DHC1jeFtj-dw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--2055831798-339881179-1304930931=:42458
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

On Mon, 9 May 2011 09:18+0200, n dhert wrote:

> 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 ?

Re-cvsup, a new MOVED file was just committed, or try this patch:

=== snip ===
--- MOVED.orig  2011-05-09 08:23:35.000000000 +0200
+++ MOVED       2011-05-09 08:52:49.000000000 +0200
@@ -2169,8 +2169,8 @@
 devel/lhs2TeX|textproc/hs-lhs2tex|2011-05-08|Renamed: It has become a Cabal transcript.
 devel/bnfc|devel/hs-BNFC|2011-05-08|Renamed: It has become a Cabal transcript.
 graphics/hs-hgl||2011-05-08|deleted: overriden by graphics/hs-HGL
-x11-toolkits/hs-GLURaw|2011-05-08|Removed: It has become obsoleted by Haskell Platform.
-x11-toolkits/hs-OpenGLRaw|2011-05-08|Removed: It has become obsoleted by Haskell Platform.
-net/hs-network-bytestring|2011-05-08|Removed: It is deprecated by net/hs-network.
-devel/hs-uvector|2011-05-08|Removed: It is deprecated by devel/hs-vector.
-devel/hs-uvector-algorithms|2011-05-08|Removed: It is deprecated by devel/hs-vector-algorithms.
+x11-toolkits/hs-GLURaw||2011-05-08|Removed: It has become obsoleted by Haskell Platform.
+x11-toolkits/hs-OpenGLRaw||2011-05-08|Removed: It has become obsoleted by Haskell Platform.
+net/hs-network-bytestring||2011-05-08|Removed: It is deprecated by net/hs-network.
+devel/hs-uvector||2011-05-08|Removed: It is deprecated by devel/hs-vector.
+devel/hs-uvector-algorithms||2011-05-08|Removed: It is deprecated by devel/hs-vector-algorithms.
=== snip ===


Trond.

-- 
----------------------------------------------------------------------
Trond Endrestøl                  | Trond.Endrestol@fagskolen.gjovik.no
ACM, NAS, NUUG, SAGE, USENIX     |    FreeBSD 8.2-STABLE & Alpine 2.00
--2055831798-339881179-1304930931=:42458--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1105091046250.42458>