Clearvanished Reprepro Repository
As you update your conf/distributions
by removing certain distribution from the list, reprepro
will complain that there are unused Codename
(s) and Suite
(s). This section is to guide you how to clean up the database and packages after you removed the distributions.
Clear Vanished Packages and Databases
Clear Vanished Packages and Databases
There are 2 stages for clearvanished
depending on the given argument. clearvanished
will always clear package databases that no longer appeared in the conf/distributions
. However, it does not clear the existing packages. Supply the argument --delete
will clean the repository together. Hence, the command will turn out to be:
reprepro --basedir /path/to/base/directory \
--outdir /path/to/output/directory \
--confdir /path/to/config/directory \
--dbdir /path/to/database/directory \
--logdir /path/to/log/directory \
--delete clearvanished
That's all for clearing reprepro
repository.