You are not logged in.

#1 2021-12-17 17:24:18

notanothermoth
Member
Registered: 2021-02-23
Posts: 5

How to overwrite file conflicts when installing AUR packages with Yay

How do you overwrite file conflicts when installing AUR packages with Yay

Offline

#2 2021-12-17 17:56:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,048

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

Offline

#3 2024-03-23 09:31:13

filipcve
Member
Registered: 2024-03-23
Posts: 1

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

As mentioned in this reddit thread, you can pass

--overwrite 'filename'

to yay.
You should probably be careful with which files are going to be overwritten though.

Offline

#4 2024-03-23 11:09:26

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,379
Website

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

Only one package should 'own' any individual file or directory on your system. Using overwrite to bypass that rule will read to problems. If you have been using e.g. pip to install non-pacman packages system-wide will also lead to problems.

Post the full output and we will be able to provide more specific advice. Do not just blindly use overwrite.

Mod note: moving to AUR Issues.

EDIT: Whoops, didn't notice the date. filipcve, please refrain from necrobumping.

Closing.

Last edited by WorMzy (2024-03-23 13:08:10)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB