红联Linux门户
Linux帮助

dpkg-reconfigure命令笔记

发布时间:2016-02-01 10:52:20来源:linux网站作者:SingcolDeng

1、介绍

重新配制一个已经安装的软件包
当用户需要再次对软件包配置的时候,可以使用dpkg-reconfigure来对指定的软件包进行配置.
位置:/usr/bin/debconf-set-selections


2、使用方法

dpkg-reconfigure [选项] 软件包
root@ubuntu:~# dpkg-reconfigure --help
Usage: dpkg-reconfigure [options] packages
-a,  --all Reconfigure all packages. 重配置所有软件包
-u,  --unseen-only Show only not yet seen questions. 仅显示未提过的问题
--default-priority Use default priority instead of low. 使用默认优先级,而非“低”级。
--force Force reconfiguration of broken packages. 强迫重配置受损软件包。
--no-reload Do not reload templates. (Use with caution.) 不要轻易的重装模板(使用时请慎重考虑)。
-f,  --frontend Specify debconf frontend to use. 指定
debconf
前端界面。
-p,  --priority Specify minimum priority question to show. 指定要显示的问题的最优先级。
--terse Enable terse mode. 开启简要模式。


3、实例

配置语言
sudo dpkg-reconfigure locales


本文永久更新地址:http://www.linuxdiyf.com/linux/17816.html