Welcome to the Tiny Core Linux Wiki at tinycorelinux.net!

dCore sce-update Command

The sce-update command is used to check and update all or individual SCE(s) including any dependency SCE(s), view DEBINX (Debian index) diff and available updates if desired. This will update SCEs from both the dCore pre-built repository and respective Debian and Ubuntu repositories.

Called with the SCE name, sce-update downloads updated DEBINX (Debian package index), checks the repositories for available updates, downloads any updated files (*.deb, *.deb2sce and *.tar.gz) and re-imports the respective packages, merging them into an updated extension. Technically speaking, it works like sce-import, essentially an updated re-import.

If the SCE being updated was already loaded, the updated version will be placed in /etc/sysconfig/tcedir/sce/update and a system reboot is necessary to utilize the updated SCE. If the SCE was not already loaded, then the old version SCE in /etc/sysconfig/tcedir/sce will immediately be replaced and the updated SCE can be used without reboot via sce-load or sce-ondemand.

Note sce-update works at the extension level, as opposed to packages. As SCEs consists of several packages, or may even be composed from a list of extensions, all packages in that SCE will be update checked.

As SCEs are self-contained, the same package or dependency may be included in more than one system SCE. For system stability and security, running sce-update -a (update all) followed by a reboot is the only way to ensure no older or conflicting dependencies are still being used by the system.

The update check process creates a /tmp/updateavailable file, which logs the results of the update check.

The command works faster if grep and gawk packages are installed

Usage options from the sce-update --help command:

sce-update - Check and update all or individual SCE(s) including any dependency
             SCE(s). View DEBINX (Debian index) diff and available updates if
             desired. May use some option combinations.

Usage:

sce-update         Menu prompt, choose SCE(s) to check, update if required.
sce-update SCE     Check a specific SCE for update, update if required.
sce-update -n SCE  Non-interactive mode, check a specific SCE for updates,
                   update if required.
sce-update -a      Check all system SCEs for updates, view DEBINX diff and
                   available updates if desired, update SCEs if required.
sce-update -na     Non-interactive mode, check all SCEs for updates,
                   update if required.
sce-update -b      Check sceboot.lst SCEs for updates, update if required.
sce-update -c      Menu prompt, check selected SCE(s) for updates only,
                   no actual updates performed.
sce-update -r      Unpack files in RAM during an SCE update re-import.
sce-update -s      Estimate package, HD and RAM space during an SCE update
                   re-import, warn as needed.
sce-update -z      Ignore /etc/sysconfig/sceconfig preferences, use only
                   current command line options.
sce-update -f      Full check mode, all packages and data contained in the
                   SCE will be checked for updates.  Default is the SCE is
                   flagged for need of update on the first found item in
                   need of update and checking mode for that SCE then exits.
                   

> Return to the dCore Wiki Welcome page

Print/export
QR Code
QR Code dcore:sce-update_command (generated for current page)