You are not logged in.

#1 2024-02-21 09:47:57

kapkar2
Member
Registered: 2024-02-21
Posts: 3

[SOLVED] Problem installing Electron20 with yay

I'm trying to install Electron20 so I can install Hyper terminal
But when I try to install it:

yay -S electron20

it returns an error:

  File "/home/hangy/.cache/yay/electron20/src/depot_tools/gclient_scm.py", line 590, in wrapper
    return_val = f(*args)
                 ^^^^^^^^
  File "/home/hangy/.cache/yay/electron20/src/depot_tools/gclient_scm.py", line 718, in update
    self._DeleteOrMove(options.force)
  File "/home/hangy/.cache/yay/electron20/src/depot_tools/gclient_scm.py", line 205, in _DeleteOrMove
    shutil.move(self.checkout_path, dest_path)
  File "/usr/lib/python3.11/shutil.py", line 845, in move
    copy_function(src, real_dst)
  File "/usr/lib/python3.11/shutil.py", line 436, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.11/shutil.py", line 256, in copyfile
    with open(src, 'rb') as fsrc:
         ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/hangy/.cache/yay/electron20/src/src/third_party/electron_node'

==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: electron20-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
electron20 - exit status 4

Does anyone know how to solve this? Any help would be much appreciated.

Last edited by kapkar2 (2024-02-21 14:54:11)

Offline

#2 2024-02-21 11:38:33

loqs
Member
Registered: 2014-03-06
Posts: 17,439

Re: [SOLVED] Problem installing Electron20 with yay

Offline

#3 2024-02-21 14:51:13

kapkar2
Member
Registered: 2024-02-21
Posts: 3

Re: [SOLVED] Problem installing Electron20 with yay

Thank you, I followed the instructions and have successfully installed Hyper terminal
For anyone who's trying to install it and relatively new to Arch, I highly recommend to read this.

Last edited by kapkar2 (2024-02-21 14:55:09)

Offline

#4 2024-02-21 15:03:42

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,900
Website

Re: [SOLVED] Problem installing Electron20 with yay

Maybe stop using yay.

Mod note: moving to AUR Issues.


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

#5 2024-02-21 16:20:54

kapkar2
Member
Registered: 2024-02-21
Posts: 3

Re: [SOLVED] Problem installing Electron20 with yay

Hmmm why not?

Offline

#6 2024-02-22 10:17:57

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,964

Re: [SOLVED] Problem installing Electron20 with yay

Aur helpers obscure what happens, they should only be used by people users who understand the package building process and can do basic troubleshooting.

Use the manual makepkg/pacman method until
- you feel you know how it works
- you understand how to solve common situations (like having to rebuild an aur package when one of its repo depes changes  sonames ).

Once you have reached that point consider if your workflow could be improved by simple methods like a few custom scripts or whether an aur helper matches your workflow better.
Don't choose an aur helper because "everyone says it is the best" , make your own judgment based on your needs.

https://wiki.archlinux.org/title/AUR_helpers

Last edited by Lone_Wolf (2024-02-22 10:18:52)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB