You are not logged in.
Pages: 1
I'm doing an upgrade tonight and I get this warning:
Targets (1): pacman-3.3.1-1
Total Download Size: 0.60 MB
Total Installed Size: 2.10 MB
Proceed with installation? [Y/n]
:: Retrieving packages from core...
pacman-3.3.1-1-x86_64 618.9K 335.8K/s 00:00:02 [#####################] 100%
checking package integrity...
(1/1) checking for file conflicts [#####################] 100%
(1/1) upgrading pacman [#####################] 100%
warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
[root@arch64 davek]#
So what happens to /etc/pacman.conf ?
Will the .pacnew directory take over ?
Last edited by vinoman2 (2009-09-28 11:46:22)
Offline
You should merge any changes you made in /etc/pacman.conf into the /etc/pacman.conf.pacnew file and then replace the old pacman.conf with the .pacnew file.
Offline
You should merge any changes you made in /etc/pacman.conf into the /etc/pacman.conf.pacnew file and then replace the old pacman.conf with the .pacnew file.
once the changes are merged, I rename /etc/pacman.conf.pacnew to /etc/pacman.conf and delete old .conf file... correct?
Offline
Make sure that the .pacnew file is up2date. And afterward replace that file with the .conf file. You could maybe rename the old file to pacman.conf.orig. That is what I do.
Birger ![]()
Offline
Make sure that the .pacnew file is up2date. And afterward replace that file with the .conf file. You could maybe rename the old file to pacman.conf.orig. That is what I do.
Birger
after comparing both files, the only difference is that /etc/pacman.conf ends with:
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
and /etc/pacman.conf.pacnew does not.
why is there a /etc/pacman.conf.pacnew file at all?
Offline
Okay. Here's what happened.
You had a /etc/pacman.conf file. This was part of the Pacman package. You may have made configuration changes to it, etc. So when the new version of Pacman came out (with a new default config!), its new default config was saved to /etc/pacman.conf.pacnew. You could replace /etc/pacman.conf with /etc/pacman.conf.pacnew, and you'd have a fresh, vanilla config. So, what you should do is to apply any changes you have made to /etc/pacman.conf to /etc/pacman.conf.pacnew, and then replace the .conf with the .pacnew. In this way, you'll be using the new defaults ( whether you spotted them or not
) along with any changes you had previously made.
Offline
why is there a /etc/pacman.conf.pacnew file at all?
If you look more closely (e.g.: with `diff -up /etc/pacman.conf{,.pacnew} | less'), you'll notice that an option called NoPassiveFtp was removed from the new pacman.conf. Remove the same line from your /etc/pacman.conf and then delete the .pacnew file.
Offline
vinoman2 wrote:why is there a /etc/pacman.conf.pacnew file at all?
If you look more closely (e.g.: with `diff -up /etc/pacman.conf{,.pacnew} | less'), you'll notice that an option called NoPassiveFtp was removed from the new pacman.conf. Remove the same line from your /etc/pacman.conf and then delete the .pacnew file.
Thanks I removed that line. I still have
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
at the bottom of my pacman.conf. Is that OK to leave that?
Offline
foutrelis wrote:vinoman2 wrote:why is there a /etc/pacman.conf.pacnew file at all?
If you look more closely (e.g.: with `diff -up /etc/pacman.conf{,.pacnew} | less'), you'll notice that an option called NoPassiveFtp was removed from the new pacman.conf. Remove the same line from your /etc/pacman.conf and then delete the .pacnew file.
Thanks I removed that line. I still have
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
at the bottom of my pacman.conf. Is that OK to leave that?
It's just another repository, probably the one you used to install yaourt using pacman. Shouldn't be a problem if you leave it like that.
Offline
vinoman2 wrote:foutrelis wrote:If you look more closely (e.g.: with `diff -up /etc/pacman.conf{,.pacnew} | less'), you'll notice that an option called NoPassiveFtp was removed from the new pacman.conf. Remove the same line from your /etc/pacman.conf and then delete the .pacnew file.
Thanks I removed that line. I still have
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
at the bottom of my pacman.conf. Is that OK to leave that?It's just another repository, probably the one you used to install yaourt using pacman. Shouldn't be a problem if you leave it like that.
Thanks ![]()
Offline
Pages: 1