This is an old revision of the document!
dCore sce-debpurge Command
The sce-debpurge command is a system maintenance command used to purge deprecated, unneeded or all DEB (Debian package files) and *.tar.gz files from /etc/sysconfig/tcedir/import/debs. The primary purpose is to free disk space. Purging these files will not break functionality of any existing SCE extensions.
Note running 'sce-debpurge -a' (purge all) will require many of the purged files to be re-downloaded to rebuild SCEs during updates or re-imports. From a practical perspective, this command would, therefore, only be useful if running a system with severely limited drive space. For most users, the most useful commands would likely be 'sce-debpurge' (remove deprecated only) or 'sce-debpurge -n' (remove files no longer needed by existing SCEs).
Running sce-debpurge
creates the temporary files /tmp/.debpurged and /tmp/.debpurgedsize. Although typically of minimal importance, the /tmp/.debpurged file remains available after running sce-debpurge
and closing the terminal, should the user later wish to review the list of removed files.
Usage options from the 'sce-debpurge –help' command:
sce-debpurge - Purge deprecated, unneeded or all DEB (Debian package files) and *.tar.gz files from /etc/sysconfig/tcedir/import/debs. Usage: sce-debpurge Update DEBINX files (Debian Index files located in /etc/ sysconfig/tcedir/import/debinx), purge deprecated DEBs. sce-debpurge -p Preserve local DEBINX files, purge deprecated DEBs based on current index. sce-debpurge -a Purge all files from /etc/sysconfig/tcedir/import/debs, including *.deb and *.tar.gz, note purged files will need to be re-downloaded to rebuild SCEs during updates or re-imports. sce-debpurge -n Purge files in /etc/sysconfig/tcedir/import/debs not needed to update or re-import any existing system SCEs.