Ä¿ÇǴнº, ½Ã½ºÅÛ ¿£Áö´Ï¾îÀÇ ½°ÅÍ Ä¿ÇÇÇâÀÌ ³ª´Â *NIX
Ä¿ÇǴнº
½Ã½ºÅÛ/³×Æ®¿÷/º¸¾ÈÀ» ´Ù·ç´Â °÷
* HanIRCÀÇ #coffeenix ¹æ
[ Àåºñ ¹× ȸ¼± ÈÄ¿ø ]
HOME > ½Ã½ºÅÛ °ü¸® / ¼­¹ö¿î¿µ > ÆÐÅ°Áö °ü¸® / ÆÐÄ¡ / rpm µµ¿ò¸»
°Ë»ö : »çÀÌÆ® WHOIS À¥¼­¹ö Á¾·ù


  yum update½Ã ¿¡·¯¸Þ½ÃÁöµé ÀÛ¼ºÀÏ : 2005/10/09 01:42
 
  • ±Û¾´ÀÌ : ÁÁÀºÁøÈ£ ( http://coffeenix.net/ )
  • Á¶È¸¼ö : 10489
          [ ÀÌÀüÈ­¸é / ¼öÁ¤ ]   ºñ¹Ð¹øÈ£ :     Àμâ¿ë È­¸é
      Á¦  ¸ñ : yum update½Ã ¿¡·¯¸Þ½ÃÁöµé
    ÀÛ¼ºÀÚ : ÁÁÀºÁøÈ£(truefeel, http://coffeenix.net/ )
    ÀÛ¼ºÀÏ : 2005.10.7(±Ý)

    1. cannot open Packages database in /var/lib/rpm ¿¡·¯

     
    # yum update
    rpmdb: Program version 4.2 doesn't match environment version
    error: db4 error(22) from dbenv->open: ºÎÀûÀýÇÑ Àμö
    error: cannot open Packages index using db3 - ºÎÀûÀýÇÑ Àμö (22)
    error: cannot open Packages database in /var/lib/rpm
    Traceback (most recent call last):
      File "/usr/bin/yum", line 30, in ?
        yummain.main(sys.argv[1:])
      File "/usr/share/yum/yummain.py", line 163, in main
        (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args)
      File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs
        conf=yumconf(configfile=yumconffile)
      File "/usr/share/yum/config.py", line 155, in __init__
        self.yumvar['releasever'] = self._getsysver()
      File "/usr/share/yum/config.py", line 285, in _getsysver
        idx = ts.dbMatch('provides', self.distroverpkg)
    TypeError: rpmdb open failed
     


    * ÇØ°á : rpm DB ÆÄÀÏÀÌ Àß ¸øµÇ¾úÀ¸´Ï À缺¼ºÇÑ ÈÄ ½ÇÇàÇÑ´Ù.

     
    # rm -f /var/lib/rpm/__db*
    # rpm --rebuilddb
     


    * Âü°í : http://www.webhostingtalk.com/archive/thread/417391-1.html

    2. You may also check that you have the correct GPG keys installed ¿¡·¯

     
    ... »ý·« ...
    Getting cups-1.1.17-13.3.31.i386.rpm
    cups-1.1.17-13.3.31.i386. 100% |=========================| 2.3 MB    00:14
    warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b
    Error: Could not find the GPG Key necessary to validate pkg
    /var/cache/yum/update/packages/cups-1.1.17-13.3.31.i386.rpm
    Error: You may want to run yum clean or remove the file:
    /var/cache/yum/update/packages/cups-1.1.17-13.3.31.i386.rpm
    Error: You may also check that you have the correct GPG keys installed
     


    * ÇØ°á : GPG °ø°³Å°°¡ ¼³Ä¡µÇÁö ¾Ê¾Æ¼­´Ù. ¾Æ·¡ »çÀÌÆ®À» Âü°íÇÏ¿© ¹èÆ÷ÆÇ¿¡ µû¶ó ¼³Ä¡ÇÑ´Ù.

    1) CentOS 3.x : rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-3
    2) Fedora Core : rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora
    3) Redhat 7.x¿¡¼­ Fedora Legacy's yum »ç¿ë½Ã
       gpg --import /usr/share/doc/yum-1.0.3/*GPG-KEY
    4) Redhat 9¿¡¼­ Fedora Legacy's yum »ç¿ë½Ã
       rpm --import http://www.fedoralegacy.org/FEDORA-LEGACY-GPG-KEY
       rpm --import http://www.redhat.com/security/db42a60e.txt

    * Âü°í :
      http://www.centos.org/modules/smartfaq/faq.php?faqid=17 (CentOS)
      http://www.centos.org/modules/smartfaq/faq.php?faqid=29 (CentOS)
      http://fedora.redhat.com/docs/yum/sn-using-repositories.html (Fedora Core)
      http://www.fedoralegacy.org/docs/yum-rh7x.php (Redhat 7.x¿¡¼­ Fedora Legacy's yum)
      http://www.fedoralegacy.org/docs/yum-rh9.php (Redhat 9¿¡¼­ Fedora Legacy's yum)
      Ä¿ÇǴнº Ä«Æä ÃÖ±Ù ±Û
    [03/24] Youtube òÁ&#2
    [03/20] Re: ¿Â¶óÀΰÔÀÓÀÇ Á¾ÁÖ±¹ ´ëÇѹα¹
    [03/20] ½ÇÁ¦&#4
    [03/18] ±¹°¡&#5
    [10/20] Cross Compiler ±ò
    [07/14] SSL ¬¡¬°
    [04/26] Re: µµ½ºÈ­¸é ¿ø°ÝÁ¶Á¾ ¿©ºÎ
    [04/25] µµ½ºÈ­¸é ¿ø°ÝÁ¶Á¾ ¿©ºÎ
    [10/30] Cshell¿¡¼­ ³­¼ö ¼³Á¤
    [10/23] °øÇ×öµµÁÖ½Äȸ»ç SE ±¸ÀÎ Ëì
    [01/26] Re: wgetÀ¸·Î ´Ù¸¥¼­¹ö¿¡ÀÖ´Â µð·ºÅ丮¸¦ °¡Á®¿À·Á°íÇÕ´Ï´Ù.
    [01/25] wgetÀ¸·Î ´Ù¸¥¼­¹ö¿¡ÀÖ´Â µð·ºÅ丮¸¦ °¡Á®¿À·Á°íÇÕ´Ï´Ù.
    [01/11] ƯÁ¤ ¾Èµå·ÎÀ̵å WebView ¹öÀü¿¡¼­ SSL ¹®Á¦ (WebView ¹ö±×)
    [08/01] DNS forwarder (Àü´ÞÀÚ) ¼­¹ö¸¦ ÅëÇؼ­ Äõ¸®ÇÏ¸é ¿ª¹æÇâÀ» ¹Þ¾Æ¿ÀÁú ¸øÇÕ´Ï´Ù.
    [05/16] (ÁÖ)ÈÄÀÌÁî ½Ã½ºÅÛ¿£Áö´Ï¾î (°æ·ÂÀÚ) ¸ðÁý
      New!   ÃÖ±Ù¿¡ µî·ÏÇÑ ÆäÀÌÁö
      KiCad EDA Suite project (Free/Libre/Open-Source EDA Suite) (CAD)
      ¿ÀÇÂij½ºÄÉÀ̵å ijµå (OpenCASCADE CAD)
      QCad for Windows --- GNU GPL (Free Software)
      The Hello World Collection
      IPMI¸¦ È°¿ëÇÑ ¸®´ª½º ¼­¹ö°ü¸®
      DNS ¼³Á¤ °Ë»ç
      nagiosgraph ¼³Ä¡ ¹æ¹ý
      Slony-I ¼³Ä¡ ¹æ¹ý (postgresql replication tool)
      Qmail±â¹ÝÀÇ Anti spam ½Ã½ºÅÛ ±¸ÃàÇϱâ
      clusterssh

    [ ÇÔ²²ÇÏ´Â »çÀÌÆ® ]




    ¿î¿µÁø : ÁÁÀºÁøÈ£(truefeel), ¾ß¼ö(yasu), ¹ü³ÃÀÌ, sCag
    2003³â 8¿ù 4ÀÏ~