|
|
|
Title: Sub page of Smart Commands
Smart Config
Usage: smart config [options]
This command allows changing the internal configuration
representation arbitrarily. This is supposed to be used
by advanced users only, and is generally not needed.
Options:
-h, --help Show this help message and exit
--set Set given key=value options
--show Show given options
--remove Remove given options
--force Ignore problems
Examples:
smart config --set someoption.suboption=10
smart config --remove someoption
smart config --show someoption
smart config --show
Config options
General
| Options |
Value |
Description |
| log-level |
ERROR, WARNING, INFO, DEBUG |
how verbose smart messages should be |
| psyco |
True, False |
whether to use the Python optimizer or not |
| default-gui |
gtk, qt |
Set the default GUI (QT not yet implimented) |
| explain-changesets |
True, False |
force --explain on all operations |
| last-update |
|
shows the time of the last successfull update |
| text-hide-version |
True, False |
show if the changeset has less than 40 actions. If the changeset has more than 40 actions (install/remove), it's false, if it's less, it's true. |
| prefer-removable |
True. False |
Smart will use removable channels (e.g. CDROM) rather than fetching from a remote location, if both options are available |
Directories
| Options |
Value |
Description |
| data-dir |
directory |
root of Smart control directories |
| user-data-dir |
directory |
user-specific control directory |
| default-localmedia |
directory |
Set the directory where your media is |
Cache
| Options |
Value |
Description |
| disk-cache |
True, False |
whether to enable smart's metadata cache on disk |
| remove-packages |
True, False |
whether to remove downloaded packages after a sucessfull transaction |
Network
| Options |
Value |
Description |
| http-proxy |
url |
use given proxy on HTTP downloads |
| ftp-proxy |
url |
use given proxy on FTP downloads |
| socket-timeout |
seconds |
timeout for download operations |
| keyserver |
server |
some server (e.g. wwwkeys.uk.pgp.net) |
For a list of keyserver see here∞
Channel
| Options |
Value |
Description |
| detectlocalchannels-maxdepth |
some numeric value |
max directory recursion level when adding local directory channels |
| force-channels |
channel(s) |
Channels that should always be considered as enabled, even when marked disabled |
| detect-sys-channels |
True, False |
Whether to detect local system channels when starting Smart |
| channel-sync-dir |
directory |
By default it's /etc/smart/channels (not distro specific), import channel information from files on that directory (the files are read only once, either upon creation or changing) |
| force-channel-sync |
True, False |
force channel sync from channel-sync-dir on every Smart initialization |
RPM
| Options |
Value |
Description |
| rpm-root |
directory |
what root directory to use to install the packages (rpm's --root option∞) |
| rpm-check-signatures∞ |
True, False |
whether RPM package signatures should be verified before installing |
| rpm-justdb |
True, False |
only install RPM package information into the RPM database but don't install the package files (see rpm's --justdb option) |
| rpm-noconfigs |
True, False |
don't install files marked as configuration files |
| rpm-nodocs∞ |
True, False |
don't install files marked as documentation files |
| rpm-excludedocs∞ |
True, False |
same as rpm-nodocs |
| rpm-nomd5 |
True, False |
don't verify the RPM integrity using its MD5 hash sum |
| rpm-noscripts∞ |
True, False |
don't execute post-installation scripts that are in the RPM package |
| rpm-notriggers |
True, False |
don't execute trigger scripts that are in the RPM package |
| rpm-test |
True, False |
don't perform the package installation for real, just test if it would work (rpm's --test option∞) |
| rpm-force∞ |
True, False |
Install anyway |
| rpm-repackage |
True, False |
Re-package the files before erasing. The previously installed package will be named according to the macro %_repackage_name_fmt and will be created in the directory named by the macro %_repackage_dir (default value is /var/spool/repackage) |
| rpm-log-level |
emerg, alert, crit, err, warning, notice, info, debug |
Set how much detail you want |
| rpm-allfiles |
True, False |
Installs or upgrades all the missingok (missingok indicates that the file need not exist on the installed machine.) files in the package |
| rpm-order |
True, False |
Reorder the packages for an install. The list of packages would normally be reordered to satisfy dependancies. (by default smart is set for true) |
Debian
| Options |
Value |
Description |
| deb-root |
directory |
What root directory to use to install the packages |
| deb-arch |
pentium, i386, sparc64, sparc, powerpc, mipseb, mips, shel, sh, x86_64, amd64 |
Set architecture |
| deb-admindir∞ |
directory |
Change default directories |
| deb-instdir∞ |
directory |
Change default directories |
Slackware
| Options |
Value |
Description |
| slack-root |
directory |
What root directory to use to install the packages |
| slack-packages-dir |
directory |
What directory to use to install the packages |
Examples:
smart config --set ftp-proxy=<username@someurl.com:port>
smart config --set http-proxy=<username@someurl.com:port>
smart config --set force-channelsync=true
Back to Smart Commands
Credits
linux_learner (Jonathan Rocker)
|
There are no comments on this page. [Add comment]