remove deletes packages matching package query
from local repo
$ aptly repo remove <name> <package-query> ...
namepackages would be removed from this local repository
package-querylist of package queries
-dry-run: don’t remove, just show what would be removed
When packages are removed from local repository, only references to those packages are removed. If packages are part of any snapshot, this action won’t remove them from snapshot. If there are no references to the packages, package files and metadata could be cleaned up by running command aptly db cleanup.
$ aptly repo remove stable percona-server-client-5.5 Loading packages... [-] percona-server-client-5.5_5.5.35-rel33.0-611.squeeze_i386 removed [-] percona-server-client-5.5_5.5.35-rel33.0-611.squeeze_amd64 removed