LRM(8) LUNAR LRM(8) NAME lrm - removes Lunar software modules SYNOPSIS lrm [options] [module1] ... [module2] ... lrm -h|--help lrm -d|--debug|-k|--keepconfig|-n|--nosustain|-p|--purge|-u|--upgrade| -v|--verbose lrm -D|--downgrade COPYRIGHT lrm(8) is Copyright (C) 2002-2003 Terry Chan with portions copyrighted by previous authors 2001-2002 EXAMPLE To uninstall emacs type: lrm emacs DESCRIPTION lrm is part of the Lunar-Linux source-code package management suite. It is a command-line tool for automatically uninstalling a module and its associ- ated files. OPTIONS -d, --debug enables debug messages, very useful when emailing a bug report -D, --downgrade downgrade is an option for removing the selected module and restor- ing a previously installed version -h, --help outputs short help -k, --keepconfig remove module(s) but keep dependencies and config info -n, --nosustain emoves module(s) even if they are sustained -u, --upgrade perform an upgrade-removal. This skips running of pre/post-removal scripts and implies -n and -k -v, --verbose increases the level of message output -p, --purge remove all modules that require "module" through dependencies FILES /var/lib/lunar/excluded List of files that are excluded during a lin or lrm. /var/lib/lunar/protected Contains a list of files that will not be removed. /var/lib/lunar/solo List of solo modules. /var/lib/lunar/sustained List of modules that are essential to system, and lrm of these mod- ules is not permitted. Installing and upgrading is fine. /var/lib/lunar/functions/*.lunar Contains functions used by lrm ADVANCED USAGE Rolling back to a previous version of a package lrm --downgrade glibc 2.2.3 CATALYST TRIGGERS When a module is removed, lrm fires any CATALYST triggers registered for the on_pre_remove event (before removal) and the on_remove event (after re- moval). Triggers from all removed modules are collected and fired in batch after the removal loop completes, with the exception of pre-remove triggers and rules marked immediate which fire right away. See moonbase(5) for de- tails on the CATALYST file format. CATALYST triggers are skipped during upgrade removals (lrm -u). NOTES Do not include version or section when specifying a package. To get com- plete listing of installed software packages and versions type lvu in- stalled NOTES Downgrade will only rollback to versions that were previously installed. It will not download older versions from the Internet. AUTHOR Kyle Sallee Updated Thomas Stewart 01/15/2002 Converted to Lunar by Terry Chan 03/23/2002 Updated by Auke Kok 09/21/2004 Updated by Stefan Wold 02/19/2026 REPORTING BUGS Report bugs to SEE ALSO lunar(8), lin(8), lvu(1), lget(8), moonbase(5) WARRANTY This is free software with ABSOLUTELY NO WARRANTY Lunar-Linux August 2003 LRM(8)