Ошибка cannot find the fakeroot binary

Manjaro Linux Forum

Loading

I want to install yay for downloading package from AUR ArchLinux,
I don’t know what to do?!
Thanks for your helping.

When I use git clone and then use the makepkg -si command , it gives me this error:

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Error text:

==> ERROR: Cannot find the fakeroot binary.
==> ERROR: Cannot find the strip binary required for object file stripping.

asked Feb 27, 2020 at 13:28

Arian Hosseini's user avatar

Arian HosseiniArian Hosseini

1381 gold badge1 silver badge11 bronze badges

You’re missing the libraries to compile the package. To install them:

sudo pacman -S binutils make gcc pkg-config fakeroot

or, to install basic tools for compiling code:

sudo pacman -S base-devel

Also instead of installing and compiling yay (which also requires you to install all the GO libraries) why not installing the precompiled yay-bin? It’s the same package.

git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si

answered Mar 13, 2020 at 16:35

La faguette's user avatar

La faguetteLa faguette

5414 silver badges11 bronze badges

try with that:

sudo pacman -S binutils make gcc pkg-config fakeroot

then again try to makepkg.

answered Mar 2, 2020 at 12:17

Muata's user avatar

MuataMuata

313 bronze badges

What do you need help with?

trying to use the arch linux installation guide as that is what steamos is based off of, and I didnt use the AUR helper.
first line works properly but when i type in the second line (cd opentabletdriver && makepkg -si) it gives me the error:
==> ERROR: Cannot find the fakeroot binary.

What have you tried?

have not tried much, dont know where to go from here

Diagnostic Information

no diagnostics, error before full installation

Acknowledgements

  • I have installed OpenTabletDriver by following its official installation instructions.
  • I have checked the OpenTabletDriver Wiki and respective FAQ pages, and my issue was not covered or actually fixed.
  • I have searched the existing issues and this new issue is not a duplicate of any.
  • I have written a concise and meaningful title.

As you may already be aware, my blog is primarily a chronicle of the issues I’ve
faced and how I’ve went about solving them. Switching back to Arch Linux from
Debian recently, and left me with no shortage of new gotchas to document.
Nothing that’s left me thinking moving back to Arch was a bad idea, but enough
to keep the ol’ blog moving.

One of the first things I do after setting up and booting into an Arch Linux
install for the first time, is to install a package manager that supports the
Arch User Repository (AUR).

The AUR is one of my favorite things about Arch, but to use it in a tenable way,
you need to install a package manager wrapper than that can properly talk to it.

For me, that package manager wrapper is yay. I’ve been using it for quite a
while now, since yaourt was abandoned, or whatever the heck happened there.

To install a package from the AUR without having a helper application, you need
to download the PKGBUILD file, and make the package manually. It’s not a hard
process, but if I had to do that for every application I installed from the AUR,
I’d probably be shopping for a new Linux distro.

So the “new to me” error this go around, while trying to install yay was
receiving this error:

/tmp/yay
% makepkg -si
==> ERROR: Cannot find the fakeroot binary.

As mentioned, this was new to me, as I don’t ever remember running into this
before. The reason for that, is because in previous adventures, I installed the
base-devel package earlier in the process and failed to do so this time.

So to get things moving, simply install base-devel:

Or, if so desired, you can install the specific packages necessary, instead of
base-devel:

% sudo pacman -S binutils make gcc pkg-config fakeroot

Good stuff? Want more?

Weekly emails about technology, development, and sometimes sauerkraut.

100% Fresh, Grade A Content, Never Spam.

Я хочу установить yay для загрузки пакета из Aur ArchLinux Я не знаю, что делать, спасибо за руководство

Когда я использую клон git и использую команду makepkg -si, она выдает эту ошибку

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Текст ошибки:

==> ERROR: Cannot find the fakeroot binary.
==> ERROR: Cannot find the strip binary required for object file stripping.

2 ответа

Вам не хватает библиотек для компиляции пакета. Чтобы установить их:

sudo pacman -S binutils make gcc pkg-config fakeroot

Или, чтобы установить основные инструменты для компиляции кода:

sudo pacman -S base-devel

Кроме того, вместо установки и компиляции yay (что также требует установки всех библиотек GO), почему бы не установить предварительно скомпилированный yay-bin? Это тот же пакет.

git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si


0

La faguette
13 Мар 2020 в 16:35

Попробуйте с этим:

sudo pacman -S binutils make gcc pkg-config fakeroot

Затем снова попробуйте сделать pkgg.


0

Muata
2 Мар 2020 в 12:17

Понравилась статья? Поделить с друзьями:
  • Ошибка cannot find required map name
  • Ошибка cannot find module express
  • Ошибка c994 пежо 408
  • Ошибка cannot find lgl qt
  • Ошибка can сообщения dm1spn2 камаз