You are not logged in.

#1 2026-11-27 13:51:32

owroifwqj
Member
Registered: 2026-11-27
Posts: 3

How to overwrite file conflicts when installing AUR packages with Yay

Is '--overwrite' possible for all files of a package?
I need no patronizing. I know what I'm doing. Thank you.

Last edited by owroifwqj (2026-11-27 13:54:41)

Offline

#2 2026-11-27 14:21:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,201

Re: How to overwrite file conflicts when installing AUR packages with Yay

I need no patronizing. I know what I'm doing. Thank you.

So why did you open this thread? What's your inquiry?

Offline

#3 2026-11-27 14:43:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,572
Website

Re: How to overwrite file conflicts when installing AUR packages with Yay

owroifwqj wrote:

Is '--overwrite' possible for all files of a package?

Possible?  Yes.  There's your answer.  Please mark your thread as solved as you clearly don't want anyone to actually help you make wise choices because you know what you are doing and you just needed a direct answer to a specific question: yes, it's possible, like many other things that would be ill-advised.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2026-11-27 14:51:56

owroifwqj
Member
Registered: 2026-11-27
Posts: 3

Re: How to overwrite file conflicts when installing AUR packages with Yay

I don't want to make "wise choices".
Next question: If it is possible, how? How am I supposed to know if the "--overwrite" option is neither in the man page nor in the --help text?

Offline

#5 2026-11-27 15:00:17

owroifwqj
Member
Registered: 2026-11-27
Posts: 3

Re: How to overwrite file conflicts when installing AUR packages with Yay

Thank you. I just asked because the previous thread with the same title was closed without an answer.

Offline

#6 2026-11-27 15:00:36

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,201

Re: How to overwrite file conflicts when installing AUR packages with Yay

How am I supposed to know if the "--overwrite" option is neither in the man page nor in the --help text?

I know what I'm doing. Thank you.

https://man.archlinux.org/man/pacman.8# … -S_AND_-U)
https://wiki.archlinux.org/title/Pacman … )%22_error
https://en.wikipedia.org/wiki/Dunning%E … ger_effect

I'll postulate that in fact you've no idea what you're doing and you probably wanted to sanitize the databases (--dbonly) before updating the packages instead?

Offline

#7 2026-11-28 10:40:06

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,617

Re: How to overwrite file conflicts when installing AUR packages with Yay

owroifwqj wrote:

I don't want to make "wise choices".
Next question: If it is possible, how? How am I supposed to know if the "--overwrite" option is neither in the man page nor in the --help text?

Read the whole manpage instead of checking if a specific option is mentioned on it ?

https://jguer.github.io/yay/man.html wrote:

DESCRIPTION

Yay is a Pacman wrapper with AUR support. It passes options to Makepkg and Pacman after resolving packages to install/upgrade.

This manpage only covers options unique to Yay. For other options see pacman(8).


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2026-11-28 13:34:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,572
Website

Re: How to overwrite file conflicts when installing AUR packages with Yay

owroifwqj wrote:

I don't want to make "wise choices".

We know: you're using yay.  I'd wager that that is the origin of whatever problem you are now trying to solve but in fact you'll just make it worse.

FWIW, I'm sure you feel you have received a less than warm welcome here.  But this is a direct reflection of your approach to this forum.  You are trying to use this like a chatbot: demanding just the answer you think you want but rejecting engagement in actual productive troubleshooting.  This is disrespectful to those who would be willing to help you, and we know from experience it is not in anyone's best interest.  It will only result in you being unhappy with any results and you'll come back to these forums with a bigger problem that is harder to solve - or you will go elsewhere and blame this community for your missteps.

This is not a healthy or productive way to engage with these forums.  If you are open to it (perhaps a long shot) I suspect you'll find that members here rarely hold grudges, and / or have a very short memory; more appropriate attempts to seek help should be met with a more receptive replies.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB