repo-remove

Remove packages from Arch Linux repository

TLDR

Remove a package from a local repository
$ repo-remove [path/to/database.db.tar.gz] [package_name]
Remove quietly (suppress output)
$ repo-remove -q [path/to/database.db.tar.gz] [package_name]
Remove and sign the database file with GnuPG
$ repo-remove -s [path/to/database.db.tar.gz] [package_name]

SYNOPSIS

repo-remove [options] database package [package ...]

DESCRIPTION

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.

PARAMETERS

-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.

INSTALL

sudo apt install pacman-package-manager
sudo dnf install pacman
sudo pacman -S pacman
sudo apk add pacman
nix profile install nixpkgs#pacman

CAVEATS

Only removes the database entry; does not delete the actual package file from disk. Manual cleanup of package files may be required.

HISTORY

Part of pacman package management tools for Arch Linux. Complements repo-add for repository maintenance.

SEE ALSO

repo-add(1), pacman(8)