Mmv package not available?

I’d like to use mmv but it seems that the package isn’t available for manjaro.
*sudo pacman -S mmv > error: can’t find the target

Hi @bilem,

mmvv is an AUR package:

$ pamac search mmv
[...]
mmv  1.01b.orig-4                                                                                                                                                                                                                                         AUR
multiple move files (version with debian patches)

… and pacman cannot install AUR packages. So I think you meant:

pamac build mmv

More information:

1 Like

Thank you Mirdarthos for your answer. I am not esperimented in manjaro.
If I type in pamac search mmv I do not see the mmv package.
Nevertheless, I tried sudo pamac build mmv but at a point, I have an error:

==> lauching prepare()…
/var/cache/private/pamac/mmv/PKGBUILD: line 32: patch : command not found
==> ERROR: An error occured in prepare().
Abandon…
Finished with result: exit-code
Main processes terminated with: code=exited/status=4
Service runtime: 5.898s
CPU time consumed: 4.320s
What does that mean?

I might be wrong, but I suspect you need the base-devel package as well as the kernel headers:

pamac install base-devel

This will install base-devel.

This will install headers for the currently installed kernels:

pamac install $(pamac list --installed --quiet | grep "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ')

And after a reboot, which I don’t know if it’s strictly necessary (I doubt it), you can try installing mmv again:

pamac build mmv
2 Likes

Wonderful! After having applied these two command lines, I was able to get mmv. Thanks a lot, Mirdarthos, for your input.
Best regards. Bilem

2 Likes

Just a reminder, do not use sudo pamac

Pamac will ask you for the password when it needs it.

3 Likes

Thank you for the advice ydar!

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