portdb corrupt?

James Hong freebsd-ml at nightmaestro.com
Fri Nov 5 05:48:59 PST 2004


added
 /usr/local/etc/pkgtools.conf

  ENV['PKG_DBDRIVER'] = "bdb_hash" 
  ENV['PORTS_DBDRIVER'] = "bdb_hash"

and it worked!
Thanks!
James H

 

-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Benjamin Thelen
Sent: Saturday, November 06, 2004 12:18 AM
To: James Hong
Cc: freebsd-questions at freebsd.org
Subject: Re: portdb corrupt?


James Hong wrote:
> Hi i have problem updating the portdb since i cvsup 
> portversion/portupgrade or anything will fail with same or similar msgs.
> Im not certain how I can start
> 
> already tried portsdb -F but didnt make difference....
> 
> any help or comment is welcome
> 
> 
> flute# portsdb -uU
> Updating the ports index ... Generating INDEX.tmp - please wait..Warning:
> Duplicate INDEX entry: freeciv-gtk2-1.14.2
> Warning: Duplicate INDEX entry: fvwm-imlib-2.4.19  Done.
> done
> [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11889 
> port entries found 
> .........1000.........2000.........3000.........4000.........5000.....
> ....60 
> 00.........7000.........8000...../usr/local/lib/ruby/site_ruby/1.8/por
> tsdb.r
> b:587: [BUG] Segmentation fault
> ruby 1.8.2 (2004-07-29) [i386-freebsd4]
> 
> Abort (core dumped)
> 
> 
> 
> James H
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
> 


James,


Kent Stewart explained what to do and how that came on 11/2/04 subject
  "portupgrade core dump fix".



Maybe it should have considered a security problem, as it is such a 
basic and widely used procedure and thus somehow security relevant?

When will 4.11 released? :-) I suppose this bug is fixed in 4.11.


Kind Regards,
Benjamin



_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list