pkgdb problem

Kent Stewart kstewart at owt.com
Sat Feb 28 07:35:43 PST 2004


On Saturday 28 February 2004 02:27 am, DanGer wrote:
> i have just upgraded ruby 1.8 and i wanted to run pkgdb and i get
> this:
>
> ===>   Registering installation for ruby-1.8.1_2
> ===> SECURITY REPORT:
>       This port has installed the following files which may act as
> network servers and may therefore pose a remote security risk to the
> system. /usr/local/lib/ruby/1.8/i386-freebsd5/socket.so
>
>       This port has installed the following world-writable
> files/directories. /usr/local/lib/libruby18.so
>
>       If there are vulnerabilities in these programs there may be a
> security risk to the system. FreeBSD makes no guarantee about the
> security of ports included in the Ports Collection. Please type 'make
> deinstall' to deinstall the port if this is a concern.
>
>       For more information, and contact details about the security
>       status of this software, see the following webpage:
> http://www.ruby-lang.org/en/
> danger# rehash
> danger# pkgdb -F
> /usr/local/sbin/pkgdb:35:in `require': No such file to load --
> pkgtools (LoadError)
>         from /usr/local/sbin/pkgdb:35

You have to rebuild portupgrade and all of its new dependancies. It is 
easier to start by deleting portupgrade and ruby* and then, rebuild 
portupgrade.

Kent

-- 
Kent Stewart
Richland, WA

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


More information about the freebsd-questions mailing list