DEBTAGS(1) | User Commands | DEBTAGS(1) |
debtags - Debian Package Tags support tools
usage: debtags [-h] [--version] [--verbose] [--debug]
Command line interface to access and manipulate Debian Package Tags
debtags can be used to perform basic queries on the Debtags system: the vocabulary can be queried with the tagshow and tagsearch commands; a package tag database can be checked against the vocabulary with the check command; the whole collection can be copied to standard output to be processed with tagcoll or other tools by the cat command; packages can be searched by tags using the grep command. Finally, tags can be listed with tag ls, edited with the tag add and tag rm, and submitted to the Debtags database with submit.
The update command can be used to download extra tags as listed in /etc/debtags/sources.list: see the contents of that file for more information.
Here are some example invocations of debtags:
# Update the package tag database
debtags update
# Show apt-cache information about the mutt package,
# adding tag information
debtags show mutt
# Search the tag vocabulary for mail-related tags
debtags tagsearch mail
# Output a list of all packages which can edit raster images, excluding
# shared libraries and dummy packages
debtags search "use::editing && works-with::image:raster && \
! (role::shared-lib || role::dummy)"
# Show all mail clients
debtags search 'works-with::mail && network::client'
# Output the collection of all mail clients, ready to be reprocessed via
# tagcoll
debtags grep 'works-with::mail && network::client'
# Produce an easily navigable hierarchy with the collection data
debtags cat | tagcoll hierarchy
# Produce a local tag patch
debtags cat > work-tags
...edit work-tags...
debtags diff work-tags > my-tagpatch
# Submit the patch
debtags submit my-tagpatch
# Edit the tags of a package (the patch will be stored in ~/.debtags/patch)
# then send your changes
debtags tag add debtags implemented-in::c++ interface::commandline
debtags tag rm debtags devel::buildtools
debtags submit
tagcoll(1), axi-cache(1),
http://wiki.debian.org/Debtags
http://debtags.debian.net
January 2018 | debtags 2.1 |