vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
421 stars 38 forks source link

I am getting the famous `exists in filesystem` error #177

Closed refaelsh closed 2 years ago

refaelsh commented 2 years ago

Hi all,

I am getting the famous exists in filesystem error when doing this: rua install postman-bin. Usually, the solution would be to read this part of the Arch Linux wiki: https://wiki.archlinux.org/title/Pacman#.22Failed_to_commit_transaction_.28conflicting_files.29.22_error. But, the wiki instructs to pass certain parameters to pacman. How can I do this when using rua?

Thanks all.

vn971 commented 2 years ago

Hey @refaelsh, what is the exact parameter you thought of adding, at which step? Do you mean the installation step, one that happens after already successfully building a package?

refaelsh commented 2 years ago

According to the wiki mentioned in the original post, I am supposed to pass the following parameters to pacman: pacman -S --overwrite glob package.

vn971 commented 2 years ago

@refaelsh Understood. I'm assuming you mean the pacman -U thing that rua does (otherwise -S would mean core, non-AUR packages). Would it work for you to just not use the built-in easy sudo installation, but manually type (or copy if you work from a graphical terminal) the installation commad?

E.g. rua should print something like that when it installs things:

[E]=list executable files, [L]=list all files, [T]=run shell to inspect, [O]=ok, proceed. o

Packages need to be installed:

    pacman -U '/home/myuser/.local/share/rua/checked_tars/mypackage/mypackage-2.8.3-1-x86_64.pkg.tar.zst'

Enter S to `sudo` install it, or install manually and press M when done. 

At this step, you can also install the package manually, and "press M when done".

Would that be an good-enough solution, what do you think?

refaelsh commented 2 years ago

Thank you very much @vn971. I've never really noticed the M option. Just tried it, and it worked perfectly. I am closing this issue.

vn971 commented 2 years ago

@refaelsh Thanks! I want to get to the other issues/MRs as well, but there's a lot, I'm only moving slowly.. Mainly just telling that I still have it in my TODO.

refaelsh commented 2 years ago

@vn971 That is perfectly ok, no problem. Thank you for your great Open Source project :-)