Re: ruby core dump, portupgrade, portindex

From: John R (google_at_servangle.net)
Date: 09/17/04


Date: 17 Sep 2004 12:43:23 -0700

talon@lpthe.jussieu.fr (Michel Talon) wrote in message news:<cie94v$1igl$1@asmodee.lpthe.jussieu.fr>...
> Dan Swartzendruber <dswartz@druber.com> wrote:
> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=66222
> >
> > that's odd, are you sure it's in your environment? worked for me...
> > see the post earlier. you can get a package of portindex and it works
> > fine. beats me why he wanted to kill this, it's 10X faster than
> > portsdb?
> >
>
> Maybe he has been flamed by some freebsd developer, i cannot imagine
> another reason. Indeed the tools portindex portreadmes etc. that come
> with the packages are ways better than the official tools, moreover
> the scripts are very readable. As already said one can install the
> "precompiled" package without any problem.

Here is some more background on the problem: (copied from another
post)

1.) Install the databases/ruby-bdb port.

2.) Set an environment variable PORTS_DBDRIVER to bdb-btree (or
bdb_hash)
This will change the portsdb's database backend from the libc-builtin
bdb1 to a later berkeley db (you can set which one via the
WITH_BDB_VER switch in the ruby-bdb port). You can also change the
driver for pkgdb by setting PKG_DBDRIVER in
/usr/local/etc/pkgtools.conf
ENV['PORTS_DBDRIVER'] = 'bdb_btree'
ENV['PKG_DBDRIVER'] = 'bdb_btree'

3) portsdb -uU

-John R.
servAngle



Relevant Pages

  • Re: portsdb output and portaudit question
    ... vulnerabilities, i did run cvsup and portsdb -Uu before portupgrade, at ... i run cvsup then portsdb -Uu and i have the ... No package 'gtk+-2.0' found ... You also might try installing 'portmanager' and running like this: ...
    (freebsd-questions)
  • Re: ruby core dump, portupgrade, portindex
    ... beats me why he wanted to kill this, ... I did manage to find a portindex package. ... Then again this is Open Source so I guess ...
    (comp.unix.bsd.freebsd.misc)
  • portsdb output and portaudit question
    ... vulnerabilities, i did run cvsup and portsdb -Uu before portupgrade, at ... first i couldn't upgrade ruby coz portupgrade is complaining maybe coz ... i run cvsup then portsdb -Uu and i have the ... No package 'gtk+-2.0' found ...
    (freebsd-questions)
  • Re: crontab question involving cvsup
    ... >> working is because portindex indicates that the ports tree has been ... > script, it is very simple and google will return many tutorials. ... portindex doesn't update the database. ... The command portsdb -U ...
    (freebsd-questions)
  • Re: portupgrade ruby package
    ... portaudit reperoted a vulnerability on the ruby package, ... i was able to upgrade the ruby package with the tip you provided but i ... i have to run cvsup and portsdb -Uu again to update the database? ...
    (freebsd-questions)