Can't build balena-etcher because nodejs conflicts with nodejs-lts-fermium

log

$ pamac build balena-etcher
Preparing...
Checking balena-etcher dependencies...
Checking electron12 dependencies...
cp: cannot create regular file '/var/tmp/pamac/dbs/sync/community.files': Permission denied
cp: cannot create regular file '/var/tmp/pamac/dbs/sync/core.files': Permission denied
cp: cannot create regular file '/var/tmp/pamac/dbs/sync/extra.files': Permission denied
Choose a provider for nodejs<17:
1:  nodejs-lts-fermium  14.20.0-1  community
2:  nodejs-lts-gallium  16.16.0-1  community

Enter a number (default=1): 

Resolving dependencies...
Checking inter-conflicts...

To install (5):
  nodejs-lts-fermium  14.20.0-1          (Required By: balena-etcher)          community  8.0 MB
  python-httplib2     0.20.4-1           (Required By: electron12)             community  118.0 kB
  gn-m87              0.1831.e002e68a-1  (Required By: electron12)             extra      816.3 kB
  lld                 14.0.6-1           (Required By: electron12)             extra      2.9 MB
  jq                  1.6-4              (Required By: balena-etcher)          community  231.8 kB
To build (2):
  electron12          12.2.3-4                                                 AUR
  balena-etcher       2:1.7.9-1                                                AUR
To remove (1):
  nodejs              18.7.0-1           (Conflicts With: nodejs-lts-fermium)  community

Total download size: 12.1 MB
Total installed size: 53.4 MB
Total removed size: 40.0 MB

Edit build files : [e] 
Apply transaction ? [e/y/N] N

Transaction cancelled.

Build in a clean chroot with manjaro-chrootbuild:

sudo pacman -Syu --needed base-devel git manjaro-chrootbuild
git clone https://aur.archlinux.org/balena-etcher.git
sudo chrootbuild -p balena-etcher -c
sudo pacman -U balena-etcher-2:1.7.9-1-x86_64.pkg.tar.zst

Fails. Full log: balena etcher chroot build - 1a21fa31

In the meantime balenaEtcher-1.7.9-x64.AppImage works perfect.

I’d like to plug
ventoy
here

Easy to install, versatile, reliable.
and the USB device can be used as storage as usual - minus the size of the .iso images you copy to it to choose to boot from

==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> electron12

You’ll need to install electron12-bin from the AUR into the chroot to build. Example:

sudo chrootbuild -p balena-etcher -c -i /path/to/<pkg.tar.zst>

Then use that.

@Nachlese it’s great, now I’m using ventoy

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