Installed a program deb file using debtap, didn't know it was in aur, now can't update from there

I installed Motivewave using Debtap, then I removed it successfully with pacman, as I am trying to reinstall from the aur so that I can get updates, so I get:

“error: failed to commit transaction (conflicting files)
motivewave: /usr/bin/motivewave exists in filesystem
Errors occurred, no packages were upgraded.”

Do I just go in and delete this directory so that this program can be reinstalled, or is there more to it?

Couldn’t you just uninstall first motivewave that you installed with:

sudo pacman -R motivewave ## or the actual name of the package

?

Also:

1 Like

I actually did this: pacman -Rns motivewave, and I’m stuck. It did say removed sucessfully, but it looks like the file structure is different or something when you install it the way I did, and it doesn’t like it, but I’m not sure.

That means it removed the package and left behind some files which give you

?

In that case look into the post I linked to above.

I can’t find the files that are in the way. A search turns up nothing, and it won’t let me delete the offending directory.

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [--------------------------------] 100%
(1/1) checking package integrity [--------------------------------] 100%
(1/1) loading package files [--------------------------------] 100%
(1/1) checking for file conflicts [--------------------------------] 100%
error: failed to commit transaction (conflicting files)
motivewave: /usr/bin/motivewave exists in filesystem
Errors occurred, no packages were upgraded.
[mark@mark-optiplex9020 ~]$ pacman -Qo /usr/bin/motivewave
error: No package owns /usr/bin/motivewave
[mark@mark-optiplex9020 ~]$ pacman -Qo /usr/bin/motivewave
error: No package owns /usr/bin/motivewave
[mark@mark-optiplex9020 ~]$ rm /usr/bin/motivewave
rm: cannot remove ‘/usr/bin/motivewave’: Permission denied
[mark@mark-optiplex9020 ~]$

It says in your link pacman has an override function, since this is in the aur, I will have to use paru or yay. Same syntax would work?

You need to be root to remove that file:

sudo rm /usr/bin/motivewave

You could also build it locally yourself with makepkg command line and use pacman with --overwrite option to install it.

1 Like

I should have known that, duh. Thanks for helping me out.

1 Like

No problem! Glad I could help!

:enos_flag: :wave:t5:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.