# rpmdb

初始化和重建RPM数据库

## 补充说明

**rpmdb命令** 用于初始化和重建rpm数据库。

### 语法

```
rpmdb(选项)
```

### 选项

```
--initdb：初始化RPM数据库；
--rebuilddb：从已安装的包头文件，反向重建RPM数据库。
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hezhiqiang.gitbook.io/linux/ming-ling/rpmdb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
