You are not logged in.
I've tried the following
user@arch:/$ find /etc/ -name "*.pac*"
find: `/etc/polkit-1/localauthority': Permission denied
find: `/etc/sudoers.d': Permission denied
user@arch:/$ sudo find /etc/ -name "*.pac*"
user@arch:/$ locate *.pac*
with no luck.
user@arch:/$ uname -a:
Linux arch 3.3.4-2-ARCH #1 SMP PREEMPT Wed May 2 18:28:42 CEST 2012 x86_64 Intel(R) Core(TM)2 CPU T5300 @ 1.73GHz GenuineIntel GNU/Linux
user@arch:/$ pacman -V
.--. Pacman v4.0.3 - libalpm v7.0.3
/ _.-' .-. .-. .-. Copyright (C) 2006-2012 Pacman Development Team
\ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet
'--'
This program may be freely redistributed under
the terms of the GNU General Public License.
In other words pacman over writes my config files instead of saving a copy of the new ones.
How do I make it save a copy instead of overwriting the files?
cheers,
Offline
Both of these work for me
locate pacsave
locate *.pac*Are you sure the database is up to date? Try running updatedb as root to regenerate the database.
Check /var/log/pacman.log to see if any pacnew/pacsave files have actually been created.
Last edited by skunktrader (2012-05-08 04:43:45)
Offline
Are there particular files you're expecting to get backed up? They're only going to be saved if they're in the backup array for a package or listed in pacman.conf. There's also files that will get overwritten in certain cases.
Take a a look at the wiki and the NoUpgrade option in the pacman.conf man page
Offline
tried that.No luck
I am looking for in particular the laptop-mode.conf files...
Offline
The laptop-mode PKGBUILD saves all the conf files. Did your changes get over-written? Check the behaviour in man pacman for conf files to see if the behaviour you're seeing is at odds with that (in that case, bug report time).
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Yes, changes got overwritten.
On my other computers\laptops there is no problem... I couldn't find anything on man pacman that indicates this. could it be my pacman config is wrong somehow on this laptop? As far as I know I didn't do anything differently.
Could I be calling --nosave somehow on pacman by default?
The orginal=X, current=Y, new=Z (from man pacman) option in pacman doesn't seem to work properly.
This is for all package upgrades not only laptop-mode.conf.
I upgrade with yaourt -Syu
Offline
I upgrade with yaourt -Syu
You should write a bug report for pacman, but first try pacman -Syu rather than yaourt. No idea what yaourt does when calling pacman.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline