Professional Web Applications Themes

Rebuild rpm database (RH9) - Linux Setup, Configuration & Administration

Hi, I was trying to upgrade my rpm version, and I accidentally hosed the packages database. Is it possible to rebuild it from Basenames, or should I re-install every package? thanks -rw-r--r-- 1 37 37 5365760 Oct 18 21:19 Basenames -rw-r--r-- 1 37 37 12288 Oct 18 21:19 Conflictname -rw-r--r-- 1 root root 16384 Oct 18 22:38 conflictsindex.rpm -rw-r--r-- 1 37 37 782336 Oct 18 21:19 Dirnames -rw-r--r-- 1 root root 16384 Oct 18 22:38 fileindex.rpm -rw-r--r-- 1 37 37 5271552 Oct 18 21:19 Filemd5s -rw-r--r-- 1 37 37 12288 Oct 18 21:19 Group -rw-r--r-- 1 root root 16384 Oct ...

  1. #1

    Default Rebuild rpm database (RH9)

    Hi,
    I was trying to upgrade my rpm version, and I accidentally
    hosed the packages database. Is it possible to rebuild it
    from Basenames, or should I re-install every package?


    thanks



    -rw-r--r-- 1 37 37 5365760 Oct 18 21:19 Basenames
    -rw-r--r-- 1 37 37 12288 Oct 18 21:19 Conflictname
    -rw-r--r-- 1 root root 16384 Oct 18 22:38 conflictsindex.rpm
    -rw-r--r-- 1 37 37 782336 Oct 18 21:19 Dirnames
    -rw-r--r-- 1 root root 16384 Oct 18 22:38 fileindex.rpm
    -rw-r--r-- 1 37 37 5271552 Oct 18 21:19 Filemd5s
    -rw-r--r-- 1 37 37 12288 Oct 18 21:19 Group
    -rw-r--r-- 1 root root 16384 Oct 18 22:38 groupindex.rpm
    -rw-r--r-- 1 37 37 16384 Oct 18 21:19 Installtid
    -rw-r--r-- 1 37 37 40960 Oct 18 21:19 Name
    -rw-r--r-- 1 root root 16384 Oct 18 22:38 nameindex.rpm
    -rw-r--r-- 1 root root 12288 Oct 18 21:34 Packages
    -rw-r--r-- 1 root root 8 Oct 18 22:38 packages.rpm
    -rw-r--r-- 1 37 37 172032 Oct 18 21:19 Providename
    -rw-r--r-- 1 root root 16384 Oct 18 22:38 providesindex.rpm
    -rw-r--r-- 1 37 37 69632 Oct 18 21:19 Provideversion
    -rw-r--r-- 1 37 37 12288 Oct 18 21:19 Pubkeys
    -rw-r--r-- 1 root root 16384 Oct 18 22:38 requiredby.rpm
    -rw-r--r-- 1 37 37 192512 Oct 18 21:19 Requirename
    -rw-r--r-- 1 37 37 110592 Oct 18 21:19 Requireversion
    -rw-r--r-- 1 37 37 90112 Oct 18 21:19 Sha1header
    -rw-r--r-- 1 37 37 45056 Oct 18 21:19 Sigmd5
    -rw-r--r-- 1 root root 16384 Oct 18 21:46 triggerindex.rpm
    -rw-r--r-- 1 37 37 12288 Oct 18 21:19 Triggername

    Daniel Guest

  2. #2

    Default Re: Rebuild rpm database (RH9)

    Daniel wrote: 

    Tried
    rpm --rebuilddb
    yet?

    Allen Guest

  3. #3

    Default Re: Rebuild rpm database (RH9)

    Allen Kistler wrote: 
    >
    >
    > Tried
    > rpm --rebuilddb
    > yet?
    >[/ref]

    first thing I did, but didn't work.


    Daniel Guest

  4. #4

    Default Re: Rebuild rpm database (RH9)

    On Sat, 18 Oct 2003 23:13:45 -0400, Daniel typed:
     

    http://www.rpm.org/hintskinks/repairdb-2003-06/


    --
    SCO + RICO Act = Justice

    Hi! I'm a .sig virus! Copy me to your .sig!

    Lenard Guest

Similar Threads

  1. Entourage: Rebuild Database script
    By Gnarlodious in forum Mac Portable
    Replies: 1
    Last Post: August 24th, 11:39 PM
  2. Can not rebuild RPMs
    By Christian Wolff in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: August 10th, 07:14 PM
  3. Web site rebuild
    By DavidF in forum Web Design
    Replies: 3
    Last Post: July 14th, 03:19 AM
  4. Rebuild a table
    By Vishal Parkar in forum Microsoft SQL / MS SQL Server
    Replies: 4
    Last Post: July 3rd, 05:33 PM
  5. Rebuild a database from a backup set
    By Sybrand Bakker in forum Oracle Server
    Replies: 1
    Last Post: December 6th, 12:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139