delpkg
[ -r
root ]
package
delpkg
removes an installed package from the system.
The removal sequence is:
1. Read package metadata from var/lib/pkg/meta/<n> 2. Disable runit services (remove /service/<n> symlinks) 3. Remove package files (deepest first) 4. Remove groups and users no longer needed 5. Update package database 6. Run ldconfig and triggersFiles owned by another installed package are not removed. Directories shared with other packages are not removed. Groups and users are only removed when no other installed package declares them.
-r root0
on success,
1
on error.