Contents
Summary
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
Available Options
General
Option
Default
Values
Description
log-level
INFO
ERROR, WARNING, INFO, DEBUG
how verbose smart messages should be
psyco
True
True, False
whether to use the Python optimizer or not (FAQ entry (1) (2))
default-gui
gtk
gtk, qt
Set the default GUI (QT not implemented yet)
explain-changesets
False
True, False
force "--explain" on all operations
last-update
shows the time of the last successfull update
text-hide-version
conditional
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
False
True. False
Smart will use removable channels (e.g. CDROM) rather than fetching from a remote location, if both options are available
Locations
Option
Default
Values
Description
data-dir
/var/lib/smart
(directory)
root of Smart control directories
user-data-dir
~/.smart
(directory)
user-specific control directory
default-localmedia
directory
Set the directory where your media is
Package handling
Network
Option
Default
Values
Description
http-proxy
(none)
(url)
use given proxy on HTTP downloads
ftp-proxy
(none)
(url)
use given proxy on FTP downloads
socket-timeout
120
seconds
timeout for download operations
keyserver
server
some keyserver (e.g. wwwkeys.uk.pgp.net) See here for a list of local keyservers
Channel handling
Option
Default
Values
Description
detectlocalchannels-maxdepth
5
(number)
max directory recursion level when adding local directory channels
force-channels
(none)
(channel(s))
channels that should be always considered as 'enabled' (even if marked as 'disabled')
detect-sys-channels
True
True, False
whether to detect local system channels when starting Smart
channel-sync-dir
/etc/smart/channels
(directory)
import channel information from files on that directory (the files are read only once, either upon creation or changing)
force-channel-sync
False
True, False
force channel sync from channel-sync-dir on every Smart initialization
RPM specific
Option
Default
Values
Description
rpm-root
/
(directory)
what root directory to use to install the packages (see rpm's --root option) (FAQ entry)
False/ as of 0.42 default is True
True, False
whether RPM package signatures should be verified before installing
rpm-justdb
False
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
False
True, False
don't install files marked as configuration files
False
True, False
don't install files marked as documentation files
rpm-excludedocs
False
True, False
same as rpm-nodocs
rpm-nomd5
False
True, False
don't verify the RPM integrity using its MD5 hash sum
False
True, False
don't execute post-installation scripts that are in the RPM package
rpm-notriggers
False
True, False
don't execute trigger scripts that are in the RPM package
rpm-test
False
True, False
don't perform the package installation for real, just test if it would work (see rpm's --test option)
False
True, False
Install anyway
rpm-repackage
False
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
info
emerg, alert, crit, err, warning, notice, info, debug
Set how much detail you want.
rpm-allfiles
False
True, False
Installs or upgrades all the missingok files in the package
rpm-order
True
True, False
Reorder the packages for an install. The list of packages would normally be reordered to satisfy dependancies.
DEB specific
Option
Default
Values
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
/var/lib/dpkg
directory
Change default directories
/
directory
Change default directories
Slack specific
Option
Default
Values
Description
slack-root
/
(directory)
What root directory to use to install the packages
slack-packages-dir
/var/log/packages
directory
Change default directories