如何安装特定版本的 ClearLinux 捆绑包?

如何安装特定版本的 ClearLinux 捆绑包?

据我了解,Clear Linux 的要点之一是他们希望能够轻松地重现特定版本的操作系统。

如果这是正确的,那么我如何安装特定版本的捆绑包?

例如,如果我安装ruby-basic捆绑包,如下所示,我会获得捆绑包 ID,但swupd不能将其作为参数。

# swupd bundle-add ruby-basic
swupd-client bundle adder 3.10.0
   Copyright (C) 2012-2016 Intel Corporation

Attempting to download version string to memory
Downloading packs...
Extracting ruby-basic pack for version 16880
Installing bundle(s) files...
Calling post-update helper scripts.
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Bundle(s) installation done.
# swupd 
Usage:
    swupd [OPTION...]
 or swupd [OPTION...] SUBCOMMAND [OPTION...]

Help Options:
   -h, --help              Show help options
   -v, --version           Output version information and exit

Subcommands:
   autoupdate              Enable/disable automatic system updates
   bundle-add              Install a new bundle          
   bundle-remove           Uninstall a bundle            
   bundle-list             List installed bundles        
   hashdump                Dumps the HMAC hash of a file 
   update                  Update to latest OS version   
   verify                  Verify content for OS version 
   check-update            Checks if a new OS version is available
   search                  Search Clear Linux for a binary or library

To view subcommand options, run `swupd SUBCOMMAND --help'

顺便提一句。这篇文章应该有一个clearlinux标签,但我没有声誉......

答案1

如果您指的是 16880,则该数字指的是整个操作系统的版本。

顺便说一句,Clear 18080 的当前版本包含 ruby​​ 2.4.0

相关内容