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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dcore:sce-update_command [2016/05/13 14:34]
nitram
dcore:sce-update_command [2016/09/10 23:57] (current)
nitram
Line 1: Line 1:
 ===== dCore sce-update Command ===== ===== 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.+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.
  
-Process: +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.
-  *Updating imported extensions is triggered by sce-update. +
-  *Called with the SCE name, it checks the repositories for available updates and re-imports the respective packages, merging them into an updated extension. Technically speaking, it works just like sce-import+
-  *Noted it works on the level of extensions as opposed to packages. Thus if an extension consists of several packages (or may even be composed from a list of extensions) then all packages in that extension will be tested for updates. +
-  *On the other hand, one and the same package may be part of several extensions. Thus there is no guarantee that all extensions will use the same version of a package if they are not all updated at the same time.+
  
-Usage options from the 'sce-update –help' command:+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. 
 + 
 +Usage options from the ''sce-update –help'' command:
  
   sce-update - Check and update all or individual SCE(s) including any dependency   sce-update - Check and update all or individual SCE(s) including any dependency
-               SCE(s), view DEBINX (Debian index) diff and available updates if +               SCE(s). View DEBINX (Debian index) diff and available updates if 
-               desired, may use some option combinations.+               desired. May use some option combinations. 
 +  
   Usage:   Usage:
 +  
   sce-update         Menu prompt, choose SCE(s) to check, update if required.   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 SCE     Check a specific SCE for update, update if required.
-  sce-update -a      Check all system SCEs for updates, view old/new DEBINX diff 
-                     and available updates if desired, update SCEs if required. 
   sce-update -n SCE  Non-interactive mode, check a specific SCE for updates,   sce-update -n SCE  Non-interactive mode, check a specific SCE for updates,
                      update if required.                      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,   sce-update -na     Non-interactive mode, check all SCEs for updates,
                      update if required.                      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,   sce-update -c      Menu prompt, check selected SCE(s) for updates only,
                      no actual updates performed.                      no actual updates performed.
Line 30: Line 37:
   sce-update -z      Ignore /etc/sysconfig/sceconfig preferences, use only   sce-update -z      Ignore /etc/sysconfig/sceconfig preferences, use only
                      current command line options.                      current command line options.
- 
  
 **[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]** **[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]**
Print/export