Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2003 21:43:24 +0000
From:      none <jimd@siu.edu>
To:        current@freebsd.org
Subject:   Re: 5.1-BETA2 pkg_info wierdness
Message-ID:  <20030529214324.GA7341@freebsd2.localnet10>
In-Reply-To: <20030529055745.GA96501@rot13.obsecurity.org>; from kris@obsecurity.org on Thu, May 29, 2003 at 05:57:45 %2B0000
References:  <20030529000838.A46371@freebsd2.localnet10> <20030529055745.GA96501@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
For anyone with backslashed +COMMENT files in /var/db/pkg, the 
following script can be used to clean them up. You could also wait 
until 5.1-RELEASE comes out, I suppose.

#!/bin/tcsh
cd /var/db/pkg

foreach dir (`/bin/ls|/usr/bin/grep -v pkgdb.db`)
   echo $dir; cd $dir; /bin/ls -l +COMMENT
   /usr/bin/sed 's/\\//g' +COMMENT > pkg-descr
   /bin/mv pkg-descr +COMMENT
   cd /var/db/pkg
end

exit



On 2003.05.29 05:57, Kris Kennaway wrote:
> On Thu, May 29, 2003 at 12:15:20AM +0000, jimd_NOSPAM@siu.edu wrote:
> > Instead of simple text lines, pkg_info is returning what looks like
> > "escaped words" after clean install of 5.1-BETA2:
> 
> Already fixed, thanks.
> 
> Kris
> 



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