You are not logged in.
While updating Arch today, I got the following error:
error: failed to commit transaction (conflicting files)
intel-media-sdk: /opt exists in filesystem
I've been using the system for a several months and haven't had any trouble with it (except for a couple known issues documented in the home page). A month ago, I installed the "yay" package manager to install and maintain FreeCAD, but I get the error with the usual "sudo pacman -Syu" as well.
When I checked the /opt folder, I saw folders for containerd, dotnet, and maven, all of which were installed from the standard repositories (not AUR).
Does anyone have any advice how I can diagnose this issue? I'll be glad to provide fragments of log files or other information if that will help.
Thanks,
Andrew
Last edited by apholden (2020-01-15 13:18:28)
Offline
What is the output of
file /opt
pacman -Qo /opt
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
file /opt
/opt: symbolic link to /usr/local/opt
pacman -Qo /opt
error: No package owns /opt
Offline
I forgot about the symlink. I guess the package expected /opt to be a real directory.
Do you think the following would solve my issue (with migration to fstab if it works), or would I open myself up to more trouble?
rm /opt
mkdir /opt
mount --bind /usr/local/opt /opt
Last edited by apholden (2020-01-15 11:04:42)
Offline
Yes, bind mounts are the correct way to handle this.
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
That fixed it. Thanks for the help. Also thanks for the article about the change to pacman. That was an excellent explanation about the behavior.
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline