Both sides previous revisionPrevious revisionNext revision | Previous revision |
dcore:sce-debpurge_command [2016/05/14 04:50] – 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. Running a command such as 'sce-debpurge -a' will, however, require many of these files to be re-downloaded to rebuild SCEs during updates or re-imports. 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). | 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 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 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. |