LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2318|回复: 14

xiaoniao9312兄来,问个ruby问题

[复制链接]
发表于 2003-10-17 21:44:37 | 显示全部楼层 |阅读模式
我看到你在cnfug的贴子,原贴这里:
http://forum.cnfug.org/index.php?showtopic=853
我现在也遇到同样的ruby的问题了,解决不了。老兄是如何解决的?
我原来是在另一个网站上发的贴子,现在转过来。
我机器的症状:
muge# pkgdb -F
---> Checking the package registry database
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 228 packages found (-2 +8) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:469: [BUG] Segmentation fault
ruby 1.6.8 (2003-03-26) [i386-freebsd5]

/: write failed, filesystem is full
Abort
 楼主| 发表于 2003-10-17 21:45:40 | 显示全部楼层
muge# ls -l ruby.core
-rw------- 1 root wheel 50704384 10 17 18:05 ruby.core
muge# locate .core
/usr/X11R6/lib/mozilla-gtk2/mozilla-bin.core
/usr/local/etc/zhcon.core
/usr/ports/devel/libglade2/expr.core
/usr/ports/java/eclipse/files/patch-update.core:lugin.properties
/usr/ports/lang/python/ruby.core
/usr/ports/net/py-bittorrent/ruby.core
/usr/ports/sysutils/portupgrade/ruby.core
/var/log/tail.core
muge#
 楼主| 发表于 2003-10-17 21:46:32 | 显示全部楼层
muge# portupgrade -r tiff
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 228 packages found (-2 +8) (...)[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 228 packages found (-2 +8) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:241:in `origin': Invalid argument: Cannot update the pkgdb!] (PkgDB:BError)
        from /usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:178:in `origin'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:915:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in `sort_build'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935:in `sort_build!'
        from /usr/local/sbin/portupgrade:674:in `main'
        from /usr/local/sbin/portupgrade:207:in `initialize'
        from /usr/local/sbin/portupgrade:207:in `new'
        from /usr/local/sbin/portupgrade:207:in `main'
        from /usr/local/sbin/portupgrade:1846
muge#
 楼主| 发表于 2003-10-17 21:48:02 | 显示全部楼层
muge# pkg_version | grep '<' | grep ruby
muge# pkg_version | grep '>' | grep ruby
muge# pkg_info | grep ruby
ruby-1.6.8.2003.04.19 An object-oriented interpreted scripting language
ruby-bdb1-0.2.1 Ruby interface to Berkeley DB revision 1.8x with full featuruby-rdoc-0.9.0 Documentation from Ruby source files
ruby-shim-ruby18-1.8.0.p2.2003.04.19_1 A set of Ruby modules to provide Ruby 1.8 functionalities
muge#
 楼主| 发表于 2003-10-17 21:54:00 | 显示全部楼层
原来一直没弄明白是ruby的问题还是pkgdb的问题,看了你在 cnfug的贴子,感觉是应该是ruby的问题。
后来在ports下重装了ruby1.6和portupgrade工具,还是没解决,还是同样的问题.后来又装了ruby1.8毫无效果,现在是几乎不能用portupgrade了。
用portupgrade就会有同样的错误提示,
muge# portupgrade -r tiff
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 228 packages found (-2 +8) (...)[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 228 packages found (-2 +8) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:241:in `origin': Invalid argument: Cannot update the pkgdb!] (PkgDB:BError)
 楼主| 发表于 2003-10-17 21:55:45 | 显示全部楼层
xiaoniao9312兄的ruby问题是如何解决的?
明示一下吧 ,想不出办法了。
发表于 2003-10-17 23:28:11 | 显示全部楼层
今天一天都没上网不好意思,

我按那个cnfug兄的方法的,
pkg_info
发现其中有个软件安装有错误,然后用ports强制安装上那个软件就好了,你试试看拉,
 楼主| 发表于 2003-10-17 23:38:44 | 显示全部楼层
muge# pkg_info
Hermes-1.3.3        Fast pixel formats conversion library
Mesa-3.4.2_2        A graphics library similar to SGI's OpenGL
ORBit-0.5.17_1      High-performance CORBA ORB with support for the C language
ORBit2-2.8.1        High-performance CORBA ORB with support for the C language
XFree86-4.3.0,1     X11/XFree86 core distribution (complete, using mini/meta-po
XFree86-FontServer-4.3.0_2 XFree86-4 font server
XFree86-Server-4.3.0_11 XFree86-4 X server and related programs
XFree86-clients-4.3.0_3 XFree86-4 client programs and related files
XFree86-documents-4.3.0 XFree86-4 documentation
XFree86-font100dpi-4.3.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.3.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.3.0 XFree86-4 Cyrillic fonts
XFree86-fontDefaultBitmaps-4.3.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.3.0 XFree86-4 font encoding files
XFree86-fontScalable-4.3.0 XFree86-4 scalable fonts
XFree86-libraries-4.3.0_6 XFree86-4 libraries and headers
Xft-2.1.2           A client-sided font API for X applications
aalib-1.4.r5_1      An ascii art library
acme-2.4.0          Tool to make multimedia keys work on laptops
acroread-5.08       View, distribute and print PDF documents
acroread5-commfont-2002.5 Asian Font Packs for Acrobat Reader 5.0 (for common files)
arts-1.1.4,1        Audio system for the KDE integrated X11 desktop
aspell-0.50.4       Spelling checker with better suggestion logic than ispell
at-spi-1.3.7        An Assistive Technology Service Provider Interface
atk-1.4.0           A GNOME accessibility toolkit (ATK)
autoconf-2.13.000227_5 Automatically configure source code on many Un*x platforms
autoconf-2.53_1     Automatically configure source code on many Un*x platforms
automake-1.4.5_9    GNU Standards-compliant Makefile generator (legacy version
automake-1.5,1      GNU Standards-compliant Makefile generator
bison-1.75_1        A parser generator from FSF, (mostly) compatible with Yacc
bitstream-vera-1.10 Bitstream Vera TrueType font collection
bugbuddy2-2.4.0     A bug reporting tool for GNOME 2
cdrtools-2.0.3      Cdrecord, mkisofs and several other programs to record CD-R
compat4x-i386-5.0.20030328 A convenience package to install the compat4x libraries
cups-base-1.1.19.0  The Common UNIX Printing System: headers, libs, & daemons
cups-pstoraster-7.07 GNU Postscript interpreter for CUPS printing to non-PS prin
cvsup-mirror-1.2_1  A kit for easily setting up a FreeBSD mirror site using CVS
cvsup-without-gui-16.1h General network file distribution system optimized for CVS
docbook-sk-4.1.2    XML version of the DocBook DTD version controlled for Scrol
docbook-xml-4.2_1   XML version of the DocBook DTD
docbook-xsl-1.62.3  XSL DocBook stylesheets
downloader-2.4.1_2  Program for downloading via ftp or http with GUI
eel2-2.4.0          Generally useful classes and extensions to GNOME
eog2-2.4.0          The Eye Of Gnome image viewer
epiphany-1.0.1      An extremely lightweight and simple web browser for GNOME 2
esound-0.2.32_1     A sound library for enlightenment package
expat-1.95.6_1      XML 1.0 parser written in C
ezm3-1.1            Easier, more portable Modula-3 distribution for building CV
fam-2.6.9_3         A file alteration monitor
fileroller-2.4.0.1,1 An archive manager for zip files, tar, etc
firebird-0.6.1_1    Mozilla Firebird is the next generation browser from the mo
fontconfig-2.2.90_3 An XML-based font configuration API for X Windows
freetype-1.3.1_2    A free and portable TrueType font rendering engine
freetype2-2.1.5_1   A free and portable TrueType font rendering engine
gail-1.4.0          An implementation of the ATK interfaces for GTK+ widgets
gaim-0.71_4         Gtk+-2.0 open-source 'clone' of AOL's Instant Messenger cli
gconf-editor-2.4.0,1 A gconf database editor for the GNOME 2 environment
gconf2-2.4.0.1      A configuration database system for GNOME
gdk-pixbuf-0.22.0   A graphic library for GTK+
gdm2-2.4.4.3_1      GNOME 2 version of xdm display manager
gedit2-2.4.0        A small but powerful text editor for Gnome 2 Desktop Enviro
gettext-0.12.1      GNU gettext package
ggv2-2.4.0.2        GNOME 2 ghostscript viewer
ghostscript-gnu-7.07_3 GNU Postscript interpreter
gimp-1.2.5,1        The GNU Image Manipulation Program
gimp-print-4.2.5_1  GIMP Print Printer Driver
gkrellm-2.1.21      A GTK based system monitor
gle-3.0.3           A GL Tubing and Extrusion Library
glib-1.2.10_10      Some useful routines of C programming (previous stable vers
glib-2.2.3          Some useful routines of C programming (current stable versi
gmake-3.80_1        GNU version of 'make' utility
gnome-icon-theme-1.0.9 A collection of icons for the GNOME 2 desktop
gnome-pkgview-1.0.2 Displays the version of GNOME components installed
gnome-themes-2.4.0  A collection of themes and icons for GNOME 2 designed for a
gnome2-2.4.0        The "meta-port" for the GNOME 2 integrated X11 desktop
gnomeapplets2-2.4.1_1 Applets components for the Gnome 2 Desktop Environment
gnomeaudio2-2.0.0   Sound files for use with GNOME 2
gnomecanvas-0.22.0  A graphics library for GNOME
gnomecontrolcenter2-2.4.0 Control center for GNOME 2 project
gnomedesktop-2.4.0  Additional UI API for GNOME 2
gnomegames2-2.4.0   The game applications package for the Gnome 2 Desktop Envir
gnomehier-1.0_8     An utility port, installing hierarchy of common GNOME direc
gnomelibs-1.4.2_1   Libraries for GNOME, a GNU desktop environment
gnomemag-0.10.3     GNOME screen magnifier
gnomemedia2-2.4.0_1 Multimedia applications for the GNOME 2 desktop
gnomemeeting-0.98.5 GNOME H323 Video Conferencing program, similar to NetMeetin
gnomemimedata-2.4.0 A MIME and Application database for GNOME
gnomepanel-2.4.0_2  Panel component for the GNOME 2 Desktop
gnomeprint-0.37     Gnome print support library
gnomesession-2.4.1  Session component for the GNOME 2 desktop
gnomespeech-0.2.7   GNOME text-to-speech API
gnomesystemmonitor-2.4.0 GNOME 2 system monitor program
gnometerminal-2.4.0.1 Terminal component for the GNOME 2 Desktop
gnomeuserdocs2-2.4.0 GNOME 2 users guide
gnomeutils2-2.4.0,1 GNOME 2 support utilities
gnomevfs2-2.4.1     GNOME Virtual File System
gnopernicus-0.7.1   Collection of accessibility apps for GNOME 2
gok-0.8.3           GNOME On-Screen Keyboard (GOK)
gpdf-0.111          GNOME version of xpdf
gstreamer-0.6.3     Development framework for creating media applications
gstreamer-plugins-0.6.3_1 GStreamer written collection of plugins handling several me
gtk-1.2.10_10       Gimp Toolkit for X11 GUI (previous stable version)
gtk-2.2.4_1         Gimp Toolkit for X11 GUI (current stable version)
gtk-engines2-2.2.0  Theme engine for the gtk+-2.0 toolkit
gtksourceview-0.6.0 A text widget that adds syntax highlighting to the GtkTextV
gtkspell2-2.0.4     A GTK+ 2 spell checking component
gucharmap-gnome-1.0.0 A Unicode/ISO10646 character map and font viewer
guile-1.6.4_2       GNU Ubiquitous Intelligent Language for Extension
help2man-1.29       Automatically generating simple manual pages from program o
imake-4.3.0_1       Imake and other utilities from XFree86
imlib-1.9.14_1      A graphic library for enlightenment package
intltool-0.27.2     Xml internationalization support for GNOME, and others
jpeg-6b_1           IJG's jpeg compression utilities
lame-3.93.1         ISO code based fast MP3 encoder kit
lcms-1.09,1         Light Color Management System -- a color management library
lha-1.14i_2         Archive files using LZSS and Huffman compression (.lzh file
libIDL-0.8.2        A library for creating trees of CORBA Interface Definition
libao-esound-0.8.4_1 Portable audio output library
libart_lgpl2-2.3.16 Library for high-performance 2D graphics
libaudiofile-0.2.4  A sound library for SGI audio file
libbonobo-2.4.0     A component and compound document system for GNOME2
libbonoboui-2.4.0   GUI frontend to the libbonobo component of GNOME 2
libchk-1.8          A tool to check shared library links
libgail-gnome-1.0.2_2 An implementation of the ATK interfaces for GNOME widgets
libglade2-2.0.1_1   GNOME glade library
libgnome-2.4.0      Libraries for GNOME, a GNU desktop environment
libgnomecanvas-2.4.0 A graphics library for GNOME
libgnomeprint-2.4.0 Gnome print support library
libgnomeprintui-2.4.0 Gnome print support library
libgnomeui-2.4.0.1_1 Libraries for the GNOME GUI, a GNU desktop environment
libgsf-1.8.2        An extensible i/o abstraction for dealing with structured f
libgtkhtml-2.4.1    Lightweight HTML rendering/printing/editing engine
libgtop2-2.0.5      GNOME 2 top library
libiconv-1.9.1_1    A character set conversion library
libijs-0.34         C library that supports plugin printer driver for Ghostscri
libltdl-1.5         System independent dlopen wrapper
libmikmod-esound-3.1.10_1 MikMod Sound Library
libmng-1.0.5_1      Multiple-image Network Graphics (MNG) reference library
libogg-1.0_1,3      Ogg bitstream library
librsvg2-2.4.0      Library for parsing and rendering SVG vector-graphic files
libtool-1.3.5_1     Generic shared library support script
libtool-1.4.3_2     Generic shared library support script
libungif-4.1.0b1_1  Tools and library routines for working with GIF images
libvorbis-1.0_1,3   Audio compression codec library
libwnck-2.4.0.1     Library used for writing pagers and taskslists
libxml-1.8.17_1     Xml parser library for GNOME
libxml2-2.5.11      Xml parser library for GNOME
libxslt-1.0.33      The XSLT C library for GNOME
libzvt-2.0.1_6      Library components for Zed's Virtual Terminal
linc-1.0.3          A library for writing networked servers & clients
links-2.1.p11,1     Lynx-like text WWW browser
linux-esound-0.2.22_1 RPM of esound
linux-libaudiofile-0.1.11_2 RPM of audiofile
linux-realplayer-8.cs2_4 Linux RealPlayer 8.0 from RealNetworks
linux_base-7.1_5    The base set of packages needed in Linux mode
lsof-4.68.2         Lists information about open files (similar to fstat(1))
lzo-1.08_1          Portable speedy, lossless data compression library
lzop-1.01           Fast file compressor similar to gzip, using the LZO library
m4-1.4_1            GNU m4
metacity-2.6.2      A window manager for the adult in you
mkisofs-2.0.3       Create iso9660/Rock Ridge/Joliet filesystems
mozilla-gtk2-1.4    The open source, standards compliant web browser
mozilla-headers-1.4,2 Header files for mozilla communicator web-surfboard
mplayer-fonts-0.50  A font pack for the mplayer OSD and SUB
mplayer-gtk-esound-0.92.0_2 High performance media player/encoder supporting many forma
mplayer-skins-1.0.5_2 Skins for MPlayer's Graphical User Interface (GUI)
nasm-0.98.35,1      General-purpose multi-platform x86 assembler
nautilus-cd-burner-0.5.3_3 CD burner view for Nautilus
nautilus-media-0.3.3.1 GStreamer-based multimedia views for Nautilus
nautilus2-2.4.0_2   GNOME file manager and graphical shell developed by Eazel
nmap-3.48_1         Port scanning utility for large networks
nspr-4.3_2          A platform-neutral API for system level and libc like funct
nss-3.8             A set of libraries to support development of security-enabl
oaf-0.6.10_1        Object Activation Framework for GNOME
open-motif-2.2.2_1  Motif X11 Toolkit (industry standard GUI (IEEE 1295))
openldap-client-2.0.27 Open source LDAP client implementation
opera-7.21.20031013 A blazingly fast, full-featured, standards-compliant browse
pango-1.2.5         An open-source framework for the layout and rendering of i1
pcre-4.4            Perl Compatible Regular Expressions library
perl-5.6.1_13       Practical Extraction and Report Language
pkgconfig-0.15.0    A utility used to retrieve information about installed libr
png-1.2.5_2         Library for manipulating PNG images
popt-1.6.4_1        A getopt(3) like library with a number of enhancements, fro
portupgrade-20030723 FreeBSD ports/packages administration and management tool s
py23-BitTorrent-3.3 A peer-to-peer tool for distributing files written in Pytho
py23-expat-2.3_2    Python interface to the Expat XML parser
py23-imaging-1.1.4  The Python Imaging Library
py23-numeric-23.0   The Numeric Extension to Python
py23-tkinter-2.3_1  Python bindings to the Tk widget set
py23-wxPython-2.4.1.2 Python bindings for the wxWindows/GTK GUI toolkit
python-2.3_1        An interpreted object-oriented programming language
qt-3.2.1            A C++ X GUI toolkit
rar-3.20,1          File archiver (binary port)
rc_subr-1.16        Common startup and shutdown subroutines used by scripts
rpm-3.0.6_8         The Red Hat Package Manager
rpm2cpio-1.1.20020306 Convert .rpm files for extraction with /usr/bin/cpio, needs
ruby-1.6.8.2003.04.19 An object-oriented interpreted scripting language
ruby-1.8.0.2003.09.09 An object-oriented interpreted scripting language
ruby-bdb1-0.2.1     Ruby interface to Berkeley DB revision 1.8x with full featu
ruby-rdoc-0.9.0     Documentation from Ruby source files
ruby-shim-ruby18-1.8.0.p2.2003.04.19_1 A set of Ruby modules to provide Ruby 1.8 functionalities
scrollkeeper-0.3.12_2,1 An Open Document Cataloging Project
sdocbook-xml-4.1.2.5_1 "Simplified" DocBook XML DTD
sox-12.17.4         SOund eXchange - universal sound sample translator
startup-notification-0.5_1 Library that supports startup notification spec from freede
swig-1.1p5_9        Simplified Wrapper and Interface Generator
tcl-8.4.4,1         Tool Command Language
tiff-3.6.0          Tools and library routines for working with TIFF images
tk-8.4.4,1          Graphical toolkit for TCL
unzip-5.50_2        List, test and extract compressed files in a ZIP archive
vte-0.11.10_1       Terminal widget with improved accessibility and I18N suppor
wget-1.8.2_4        Retrieve files from the Net via HTTP and FTP
win32-codecs-2.0.90,1 Huge compilation of Win32 binary codecs, including MPEG-4(D
wrapper-1.0_3       Wrapper for XFree86-4 server
wxgtk-2.4.2_1       The wxWindows GUI toolkit with GTK+ bindings (unstable vers
xmlcatmgr-0.2_1     SGML/XML catalog manager
xmms-esound-1.2.8_1 X Multimedia System --- An audio player with a Winamp GUI
xscreensaver-gnome-4.13 Save your screen while you entertain your cat (for GNOME us
xtail-2.1           Watches the growth of files or directories
yelp-2.4.0          A help browser for the GNOME 2 desktop
zenity-1.6          Display GNOME dialogs from the command line
zh-acroread5-chsfont-2002.5 /usr/ports/chinese/acroread5-chsfont/pkg-comment
zh-acroread5-chtfont-2002.5 /usr/ports/chinese/acroread5-chtfont/pkg-comment
zh-fcitx-1.8.4      A simple and fast GBK Chinese XIM server
zh-gbfs-1.4         Reads GB2312 filenames on Joliet and VFAT filesystems
zh-stardict-1.3     English-Chinese dictionary
zh-zhcon-0.2.3_1    A fast Console Chinese System which supports framebuffer de
zip-2.3_1           Create/update ZIP files compatible with pkzip
zoo-2.10.1          Manipulate archives of files in compressed form
muge#
 楼主| 发表于 2003-10-17 23:42:53 | 显示全部楼层
我把输出前后看了数遍也没找出哪里有问题。唉。
muge# pkg_info |grep find
muge#
要命了,真想不出怎么会出这种问题的?
难到是我一个星期没用freebsd系统,它生气了?
 楼主| 发表于 2003-10-17 23:45:20 | 显示全部楼层
看来是只有重装了。
:confused:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表