You are not logged in.
Hi!
so i am not a archlinux user yet, well ive tried it a little.
But before i throw it in on any of my boxes, i wanna know something...
how does Pacman handle config files upon a packages upgrade?
say, you have a package which contains a /etc/foo.conf which you have edited alot.
what happens to it when you upgrade your package?
is it the debian-approach, merge best way possible, or is it gentoo approach, edit it yourself?
tnx in advance!
Last edited by smurfd (2007-06-07 09:39:12)
Offline
if foo.conf belongs to package foo, use pacman -Qii foo to check if foo.conf is in Backup files.
If it isn't in backup files, foo.conf will be overwritten. (To prevent this, add NoUpgrade = etc/foo.conf in pacman.conf)
If it is in backup, the new config file will be extracted as /etc/foo.conf.pacnew , and you'll have to merge it yourself.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline