Both sides previous revisionPrevious revisionNext revision | Previous revision |
dcore:sce-debpurge_command [2016/07/17 02:05] – nitram | dcore:sce-debpurge_command [2016/08/27 05:43] (current) – nitram |
---|
===== dCore sce-debpurge Command ===== | ===== 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. | 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). | Note running ''sce-debpurge -a'' (purge all) will require many of these purged files to be re-downloaded to rebuild SCEs during updates or re-imports. From a practical perspective the purge all command is, therefore, only useful for systems with limited drive space or if no additional imports or update checks are planned. For most systems the ''sce-debpurge'' (remove deprecated only) and ''sce-debpurge -n'' (remove files no longer needed by existing SCEs) commands are more useful. |
| |
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. | Running ''sce-debpurge'' creates the temporary files /tmp/.debpurged and /tmp/.debpurgedsize. Although typically of minimal importance, the /tmp/.debpurged file remains available afterward should the user later wish to review the list of removed files. |
| |
Usage options from the 'sce-debpurge --help' command: | Usage options from the 'sce-debpurge --help' command: |
sce-debpurge - Purge deprecated, unneeded or all DEB (Debian package files) | sce-debpurge - Purge deprecated, unneeded or all DEB (Debian package files) |
and *.tar.gz files from /etc/sysconfig/tcedir/import/debs. | and *.tar.gz files from /etc/sysconfig/tcedir/import/debs. |
| |
Usage: | Usage: |
| |
sce-debpurge Update DEBINX files (Debian Index files located in /etc/ | sce-debpurge Update DEBINX files (Debian Index files located in /etc/ |
sysconfig/tcedir/import/debinx), purge deprecated DEBs. | sysconfig/tcedir/import/debinx), purge deprecated DEBs. |