portupgrade problem

Kent Stewart kstewart at owt.com
Tue Nov 16 12:31:09 PST 2004


On Tuesday 16 November 2004 11:50 am, Brian W. wrote:
>   I've been having this problem for about a week now.  I've already
> deinstalled and reinstalled the ruby, rubybdb and portupgrade ports, what
> else can I look at?  The below process takes at least an hour, its a
> k62-450. The no such user problem doesn't occur until a lot of time has
> gone by.
>
> # portupgrade -aP
> Updating the ports index ... Generating INDEX.tmp - please wait..id: www:
> no such user
> "Makefile", line 21: warning: "/usr/bin/id -u www" returned non-zero status
>   Done.
> done
> [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11959 port
> entries found
> .........1000.........2000.........3000.........4000.........5000......../u
>sr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Segmentation fault
> ruby 1.8.2 (2004-07-29) [i386-freebsd4]
>
> Abort (core dumped)
>

There is a bug in the hashing routine. It was fixed in the active branches, 
i.e., RELENG_5 and not RELEMG_5_2. For a machine of that speed, I would 
probably do a "make fetchindex". The last I read, it was bzip2'ed and is a 
600KB file. You would have to fetch it after every cvsup of ports-all. If it 
is bzip2'ed, you will have to uncompress it.

This has been anwered 100's of times. Other solutions can be found in the 
archives.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


More information about the freebsd-questions mailing list