Thanks much! sdetweil…
was able to get MM2 up and running.
Cheers from Toronto Ontario Canada
Thanks much! sdetweil…
was able to get MM2 up and running.
Cheers from Toronto Ontario Canada
@sdetweil - ran your script with new flash , kicked out line 375
pi@raspberrypi:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”
$$\ $$\ $$\ $$\ $$\ $$\ $$$$$$
$$$\ $$$ | _| $$$\ $$$ |_| $$ $$
$$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ _/ $$ |
$$$$$$ $$ | _$$\ $$ $$\ $$ |$$ |$$$$$$ $$ |$$ |$$ $$\ $$ $$\ $$ $$\ $$ $$\ $$$$$$ |
$$ $$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ $$$ $$ |$$ |$$ | _|$$ | _|$$ / $$ |$$ | _|$$ /
$$ |$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ |
$$ | _/ $$ |$$$$$$$ |$$$$$$$ |$$ |$$$$$$$\ $$ | _/ $$ |$$ |$$ | $$ | $$$$$$ |$$ | $$$$$$$$
_| _| _| _$$ |_| _|_| _|_|_| __| _/ _| _______|
$$\ $$ |
$$$$$$ |
_____/
install log being saved to /home/pi/install.log
Installing helper tools …
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1376 (packagekitd)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Updating packages …
bash: line 144: pv: command not found
Check current Node installation …
Node.js is not installed.
Installing Node.js …
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1376 (packagekitd)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1376 (packagekitd)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1376 (packagekitd)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
bash: line 262: node: command not found
Node.js installation Done! version=
Check current NPM installation …
npm is not installed.
Installing npm …
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1376 (packagekitd)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
sudo: npm: command not found
bash: line 310: npm: command not found
npm installation Done! version=V
Cloning MagicMirror …
Cloning into ‘MagicMirror’…
remote: Enumerating objects: 330, done.
remote: Counting objects: 100% (330/330), done.
remote: Compressing objects: 100% (289/289), done.
remote: Total 330 (delta 51), reused 148 (delta 29), pack-reused 0
Receiving objects: 100% (330/330), 448.62 KiB | 172.00 KiB/s, done.
Resolving deltas: 100% (51/51), done.
Cloning MagicMirror Done!
Installing dependencies …
bash: line 375: npm: command not found
Unable to install dependencies!
During installation of MM2 and I am getting an error when trying to unpack nodejs in the first step of the manual installation…
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt install -y nodejs
The error is:
Preparing to unpack …/nodejs_16.13.2-deb-1nodesource1_armhf.deb …
Unpacking nodejs (16.13.2-deb-1nodesource1) over (12.22.5~dfsg-2~11u1) …
dpkg: error processing archive /var/cache/apt/archives/nodejs_16.13.2-deb-1nodesource1_armhf.deb (–unpack)
:
trying to overwrite ‘/usr/share/doc/nodejs/api/fs.html’, which is also in package nodejs-doc 12.22.5~dfsg-
2~11u1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nodejs_16.13.2-deb-1nodesource1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have started from scratch and reloaded RP OS 3X and get the same error at the same point each time.
Using a Raspberry Pi 4 with 4 GB and a 64 GB microSD card.
RP functions perfectly just cannot get past this error.
Thanks advance for any assistance.