FS#14971 - asking to overwrite existing files

Attached to Project: Pacman
Opened by Laszlo Papp (djszapi) - Saturday, 06 June 2009, 13:47 GMT
Last edited by Xavier (shining) - Saturday, 18 July 2009, 09:24 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To No-one
Architecture i686
Severity Low
Priority Normal
Reported Version 3.2.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello!

Could you do that, if my filesystem contains a file that pacman procedure want to place on my fs, pacman can ask me a yes/no question to continue, like in gentoo, or other distribution?! And in gentoo it has a switch in /etc/make.conf, so in the config file too, to to overwrite automatically the existing files. (of course with backup)

Now, it stops the build/install procedure, but it's not good in every situation, e.g. i build a package with more build time, and while installing this failure occurs.

sincerelly,
djszapi
This task depends upon

Closed by  Xavier (shining)
Saturday, 18 July 2009, 09:24 GMT
Reason for closing:  Won't implement
Additional comments about closing:  just fix your packages to avoid file conflicts, this is the only proper way (e.g. for keeping file ownership)
Comment by Allan McRae (Allan) - Saturday, 06 June 2009, 14:18 GMT
I don't get your point. You build a package then it fails to automatically install so all your build time is wasted? Surely you built package is still sitting in your build directory.

I will leave it to someone else to close, but I am sure this is a "Won't Fix". I doubt pacman will ever automatically move conflicting files on a users system.
Comment by Dan McGee (toofishes) - Saturday, 06 June 2009, 15:08 GMT
I'm so confused here what your actual request is.

Pacman handles backup files and conflicts rather well, please read "man pacman" and the "HANDLING CONFIG FILES" section.
Comment by Xavier (shining) - Sunday, 07 June 2009, 21:42 GMT
"e.g. i build a package with more build time, and while installing this failure occurs."

What does it mean to build a package with more build time??

Anyway, building a package in a different way shouldn't automatically cause file conflicts.

Loading...