您尚未登录。

#1 2018-10-15 11:15:03

hounh
会员
注册时间: 2015-03-15
帖子: 24

pacman如何在重新安装软件包的时候覆盖掉配置文件

各位大佬 ,有些系统级的配置文件改过 , 又忘了都改了哪些,想重新安装一下 base 组,搜索了一圈没有找到 囧

离线

#2 2018-10-15 11:42:54

yw662
大会员
注册时间: 2018-10-10
帖子: 41

Re: pacman如何在重新安装软件包的时候覆盖掉配置文件

:: 软件仓库 core
   1) bash  2) bzip2  3) coreutils  4) cryptsetup  5) device-mapper  6) dhcpcd  7) diffutils  8) e2fsprogs  9) file  10) filesystem  11) findutils  12) gawk  13) gcc-libs  14) gettext
   15) glibc  16) grep  17) gzip  18) inetutils  19) iproute2  20) iputils  21) jfsutils  22) less  23) licenses  24) linux  25) logrotate  26) lvm2  27) man-db  28) man-pages  29) mdadm
   30) nano  31) netctl  32) pacman  33) pciutils  34) perl  35) procps-ng  36) psmisc  37) reiserfsprogs  38) s-nail  39) sed  40) shadow  41) sysfsutils  42) systemd-sysvcompat  43) tar
   44) texinfo  45) usbutils  46) util-linux  47) vi  48) which  49) xfsprogs

bash /etc/bash.bash_logout
bash /etc/bash.bashrc
bash /etc/skel/.bash_logout
bash /etc/skel/.bash_profile
bash /etc/skel/.bashrc
dhcpcd /etc/dhcpcd.conf
e2fsprogs /etc/mke2fs.conf
filesystem /etc/arch-release
filesystem /etc/crypttab
filesystem /etc/fstab
filesystem /etc/group
filesystem /etc/gshadow
filesystem /etc/host.conf
filesystem /etc/hosts
filesystem /etc/issue
filesystem /etc/ld.so.conf
filesystem /etc/ld.so.conf.d/
filesystem /etc/motd
filesystem /etc/mtab
filesystem /etc/nsswitch.conf
filesystem /etc/passwd
filesystem /etc/profile
filesystem /etc/profile.d/
filesystem /etc/profile.d/locale.sh
filesystem /etc/resolv.conf
filesystem /etc/securetty
filesystem /etc/shadow
filesystem /etc/shells
filesystem /etc/skel/
gawk /etc/profile.d/gawk.csh
gawk /etc/profile.d/gawk.sh
glibc /etc/gai.conf
glibc /etc/locale.gen
glibc /etc/nscd.conf
glibc /etc/rpc
inetutils /etc/pam.d/
inetutils /etc/pam.d/rlogin
inetutils /etc/pam.d/rsh
inetutils /etc/xinetd.d/
inetutils /etc/xinetd.d/rlogin
inetutils /etc/xinetd.d/rsh
inetutils /etc/xinetd.d/talk
inetutils /etc/xinetd.d/telnet
iproute2 /etc/iproute2/
iproute2 /etc/iproute2/bpf_pinning
iproute2 /etc/iproute2/ematch_map
iproute2 /etc/iproute2/group
iproute2 /etc/iproute2/nl_protos
iproute2 /etc/iproute2/rt_dsfield
iproute2 /etc/iproute2/rt_protos
iproute2 /etc/iproute2/rt_realms
iproute2 /etc/iproute2/rt_scopes
iproute2 /etc/iproute2/rt_tables
iputils /etc/xinetd.d/
iputils /etc/xinetd.d/tftp
linux /etc/mkinitcpio.d/
linux /etc/mkinitcpio.d/linux.preset
logrotate /etc/logrotate.conf
logrotate /etc/logrotate.d/
lvm2 /etc/lvm/
lvm2 /etc/lvm/archive/
lvm2 /etc/lvm/backup/
lvm2 /etc/lvm/lvm.conf
lvm2 /etc/lvm/lvmlocal.conf
lvm2 /etc/lvm/profile/
lvm2 /etc/lvm/profile/cache-mq.profile
lvm2 /etc/lvm/profile/cache-smq.profile
lvm2 /etc/lvm/profile/command_profile_template.profile
lvm2 /etc/lvm/profile/lvmdbusd.profile
lvm2 /etc/lvm/profile/metadata_profile_template.profile
lvm2 /etc/lvm/profile/thin-generic.profile
lvm2 /etc/lvm/profile/thin-performance.profile
man-db /etc/man_db.conf
mdadm /etc/mdadm.conf
nano /etc/nanorc
netctl /etc/ifplugd/
netctl /etc/ifplugd/netctl.action
netctl /etc/netctl/
netctl /etc/netctl/examples/
netctl /etc/netctl/examples/bonding
netctl /etc/netctl/examples/bridge
netctl /etc/netctl/examples/ethernet-custom
netctl /etc/netctl/examples/ethernet-dhcp
netctl /etc/netctl/examples/ethernet-static
netctl /etc/netctl/examples/macvlan-dhcp
netctl /etc/netctl/examples/macvlan-static
netctl /etc/netctl/examples/mobile_ppp
netctl /etc/netctl/examples/openvswitch
netctl /etc/netctl/examples/pppoe
netctl /etc/netctl/examples/tunnel
netctl /etc/netctl/examples/tuntap
netctl /etc/netctl/examples/vlan-dhcp
netctl /etc/netctl/examples/vlan-static
netctl /etc/netctl/examples/wireless-open
netctl /etc/netctl/examples/wireless-wep
netctl /etc/netctl/examples/wireless-wpa
netctl /etc/netctl/examples/wireless-wpa-config
netctl /etc/netctl/examples/wireless-wpa-configsection
netctl /etc/netctl/examples/wireless-wpa-static
netctl /etc/netctl/hooks/
netctl /etc/netctl/interfaces/
pacman /etc/makepkg.conf
pacman /etc/pacman.conf
perl /etc/profile.d/
perl /etc/profile.d/perlbin.csh
perl /etc/profile.d/perlbin.sh
s-nail /etc/mail.rc
shadow /etc/default/
shadow /etc/default/useradd
shadow /etc/login.defs
shadow /etc/pam.d/
shadow /etc/pam.d/chage
shadow /etc/pam.d/chgpasswd
shadow /etc/pam.d/chpasswd
shadow /etc/pam.d/groupadd
shadow /etc/pam.d/groupdel
shadow /etc/pam.d/groupmems
shadow /etc/pam.d/groupmod
shadow /etc/pam.d/newusers
shadow /etc/pam.d/passwd
shadow /etc/pam.d/shadow
shadow /etc/pam.d/useradd
shadow /etc/pam.d/userdel
shadow /etc/pam.d/usermod
util-linux /etc/pam.d/
util-linux /etc/pam.d/chfn
util-linux /etc/pam.d/chsh
util-linux /etc/pam.d/login
util-linux /etc/pam.d/su
util-linux /etc/pam.d/su-l

* 以上是base组在/etc目录下创建的文件,其中不包括base组的依赖所创建的文件

ps. 为啥archlinuxcn的systemd-sysvcompat-git在base组。。。这个东西好用么

最近编辑记录 yw662 (2018-10-15 11:44:06)


javascript是世界上最好的语言

离线

#3 2018-10-15 15:12:42

依云
a.k.a. 百合仙子
所在地: 一个等待妹纸出现的地方
注册时间: 2011-08-21
帖子: 4,859
个人网站

Re: pacman如何在重新安装软件包的时候覆盖掉配置文件

yw662 说:

ps. 为啥archlinuxcn的systemd-sysvcompat-git在base组。。。这个东西好用么

bug,请到 github 上报告。

离线

页脚