← 返回命令列表

Linux command

repo-remove 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Remove

repo-remove [path/to/database.db.tar.gz] [package_name]

Remove

repo-remove -q [path/to/database.db.tar.gz] [package_name]

Remove

repo-remove -s [path/to/database.db.tar.gz] [package_name]

说明

repo-remove removes packages from a local pacman repository database. It updates the database file to no longer include the specified package entries. This is the counterpart to repo-add for maintaining local Arch Linux repositories. Multiple package names may be supplied in a single invocation.

参数

-q, --quiet
Suppress output messages.
-s, --sign
Sign the database file using GnuPG after the update.
-k _KEY_, --key _KEY_
Use the specified key to sign the database.
-v, --verify
Verify the database signature before reading.

FAQ

What is the repo-remove command used for?

repo-remove removes packages from a local pacman repository database. It updates the database file to no longer include the specified package entries. This is the counterpart to repo-add for maintaining local Arch Linux repositories. Multiple package names may be supplied in a single invocation.

How do I run a basic repo-remove example?

Run `repo-remove [path/to/database.db.tar.gz] [package_name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -q, --quiet do in repo-remove?

Suppress output messages.