Differences

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

Link to this comparison view

Next revision
Previous revision
dcore:sce-update_command [2016/05/13 17:29] – created nitramdcore:sce-update_command [2019/01/27 06:21] (current) – added grep and gawk notes jls_legalize
Line 1: Line 1:
 ===== dCore sce-update Command ===== ===== dCore sce-update Command =====
  
-Process: +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.
-Updating imported extensions is triggered by sce-update. Called with the name of an extensionit checks the repositories for available updates and re-imports the respective packages, merging them anew into the extension. Technically speaking, it works just like sce-import.+
  
-It should be noted that it works on the level of extensions as opposed to packages. Thus if an extension consists of several packages (or it may even be composed from a list of extensionsthen all packages in that extension will be tested for updates. - On the other handone and the same package may be part of several extensionsThus 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.+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''.
  
-Usage options from the 'sce-update help' command:+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-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 28: Line 39:
   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.
- +  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. 
 +                     
 **[[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
QR Code
QR Code dcore:sce-update_command (generated for current page)