You are not logged in.

#1 2011-01-18 20:05:57

Mad Fish
Member
Registered: 2009-09-22
Posts: 295

[SOLVED] How to prevent pacman from overwriting some file?

Every time when udisks is updated, my modified configuration in "/usr/share/polkit-1/actions/org.freedesktop.udisks.policy" (to mount internal drives without entering a password) get lost.
How can I prevent pacman from overwriting it (like it does with configuration files in "/etc")?

Last edited by Mad Fish (2011-01-18 20:19:54)

Offline

#2 2011-01-18 20:09:05

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] How to prevent pacman from overwriting some file?

don't do that.  you can create custom rules that overwrite the default ones.

look here for an example: https://aur.archlinux.org/packages.php?ID=42669

but to answer this question, pacman.conf NoUpgrade, without the leading slash.

man pacman.conf


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-01-18 20:19:41

Mad Fish
Member
Registered: 2009-09-22
Posts: 295

Re: [SOLVED] How to prevent pacman from overwriting some file?

Thanks for hint! Didn't know about that.
No need to mess with pacman.conf now. smile

Offline

Board footer

Powered by FluxBB