Read the statement by Michael Teeuw here.
Unable to install dependencies
-
When I try to use
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"The install takes maybe 2 seconds but it says install is complete, however I did not include the first $. If I do include this, it says that it doesn’t understand it. The MagicMirror folder is no where on my raspberrypi. As a result I tried to use
$ sudo apt install python3 python3-pip -y && \ git clone https://github.com/Bee-Mar/mmpm.git && \ cd mmpm && \ make && \ echo "export PATH=$PATH:$HOME/.local/bin" >> $HOME/.bashrc && \ source ~/.bashrcAnd afterwards do
mmpm -MBy using this method of installing it actually takes some time for MagicMirror to install, which seems a bit more reasonable. However, at the end of the installation it tells me that it is unable to install dependencies. It also says this is not a problem with npm, but rather that nodejs is out of date. It seems to actually be out of date because by doing
nodejs -vIt tells me that the version is v10.15.2 . So then I decided ill try to update nodejs by doing
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -The result of this is
## Installing the NodeSource Node.js 13.x repo... ## Populating apt-get cache... + apt-get update Get:1 http://archive.raspberrypi.org/debian buster InRelease [25.1 kB] Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Reading package lists... Done E: Release file for http://archive.raspberrypi.org/debian/dists/buster/InRelease is not valid yet (invalid for another 7d 17h 8min 13s). Updates for this repository will not be applied. E: Release file for http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease is not valid yet (invalid for another 10d 2h 29min 48s). Updates for this repository will not be applied. Error executing command, exitingAs a result I cannot update nodejs to the proper version. I have tried deleting the MagicMirror folder and redoing all of this with no success and the same results. I don’t know if this is would be a contributing factor but I have been doing this through VNC. I don’t have my own USB keyboard so I borrowed a friends to setup VNC and now I just control everything through my laptop.
-
@nathan-joslin I forgot to mention that I am using a 64gb micro sd on a Pi3. Before writing the image I reformatted the sd to FAT32. I read about other issues and some people say that their issues have been solved by using a different sd, could this be similar?
-
@nathan-joslin I don’t know. Can u show me the ~/install.log
-
install starting - Thu Feb 13 15:20:04 EST 2020 installing on armv7l processor system the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster [96mUpdating packages ...[90m Get:1 http://archive.raspberrypi.org/debian buster InRelease [25.1 kB] Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Reading package lists... E: Release file for http://archive.raspberrypi.org/debian/dists/buster/InRelease is not valid yet (invalid for another 7d 17h 12min 50s). Updates for this repository will not be applied. E: Release file for http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease is not valid yet (invalid for another 10d 2h 34min 25s). Updates for this repository will not be applied. apt-get update completed ok apt upgrade result =rc=0 Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [96mInstalling helper tools ...[90m [96mCheck current Node installation ...[0m [0mNode currently installed. Checking version number. [0mMinimum Node version: [1mv10.1.0[0m [0mInstalled Node version: [1mv10.15.2[0m [92mNo Node.js upgrade necessary.[0m [96mCheck current NPM installation ...[0m [0mNPM currently installed. Checking version number. [0mMinimum npm version: [1mV6.0.0[0m [0mInstalled npm version: [1mV5.8.0[0m [96mnpm should be upgraded.[0m [96mInstalling npm ...[90m Reading package lists... Building dependency tree... Reading state information... npm is already the newest version (5.8.0+ds6-4). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. upgrading npm to latest [92mnpm installation Done! version=V5.8.0[0m [96mCloning MagicMirror ...[90m [92mCloning MagicMirror Done