[aur-general] How to manually add or remove packages from the repos
pierre at archlinux.de
Mon Nov 22 14:48:01 CET 2010
Hi Devs and TUs.
in same rare cases it is needed to manually add or remove packages from
our repositories regardless what is in SVN. ATM theses cases are due to
e.g. svn crashing and leaving us with an inconsitent state or when some
split packages have been removed from a new version of the pkgbuild.
However, using repo-add or repo-remove on the dbfiles is a bad idea as
they don't lock the db files and don't set the correct permissions. In
short, just don't even think about doing that. :-)
I have added some simple wrapper which are /arch/db-repo-add and
/arch/db-repo-remove. Usage is:
* db-repo-add <pkgfile> <repo> <arch>
* db-repo-remove <pkgname> <repo> <arch>
with pkgname being a single package name (not pkgbase) and pkgfile the
full path to a single package. arch is one of i686, x86_64 or any.
Pierre Schmitz, https://users.archlinux.de/~pierre
More information about the aur-general