Hubert,
I removed all route admin file and following manual steps.
I run the following command and I get the following error (Err:5 Index of /deb/ all InRelease
The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com). Also, I found this link Apt update - invalid signatures - fresh system reinstall. First command is $ su root. and it appears from second comment that it should be “sudo su root” not “su root”. Works.
$ husarion@husarion:~/husarion_ws/src$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
Installing the NodeSource Node.js 12.x repo…
Populating apt-get cache…
- apt-get update
Get:1 http://packages.ros.org/ros/ubuntu bionic InRelease [4683 B]
Get:2 Index of /node_12.x/ bionic InRelease [4584 B]
Hit:3 Index of /ubuntu-ports bionic InRelease
Get:4 Index of /ubuntu-ports bionic-security InRelease [88.7 kB]
Get:5 Index of /deb/ all InRelease [14.2 kB]
Get:6 http://packages.ros.org/ros/ubuntu bionic/main armhf Packages [698 kB]
Get:7 Index of /ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:8 Index of /node_12.x/ bionic/main armhf Packages [774 B]
Err:5 Index of /deb/ all InRelease
The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com
Get:9 Index of /ubuntu-ports bionic-security/universe Sources [276 kB]
Get:10 Index of /ubuntu-ports bionic-security/main Sources [247 kB]
Get:11 Index of /ubuntu-ports bionic-security/restricted Sources [14.9 kB]
Get:12 Index of /ubuntu-ports bionic-security/main armhf Packages [786 kB]
Get:13 Index of /ubuntu-ports bionic-security/main Translation-en [302 kB]
Get:14 Index of /ubuntu-ports bionic-security/universe armhf Packages [882 kB]
Get:15 Index of /ubuntu-ports bionic-security/universe Translation-en [249 kB]
Get:16 Index of /ubuntu-ports bionic-security/multiverse armhf Packages [3296 B]
Get:17 Index of /ubuntu-ports bionic-security/multiverse Translation-en [5452 B]
Get:18 Index of /ubuntu-ports bionic-security/restricted armhf Packages [6500 B]
Get:19 Index of /ubuntu-ports bionic-security/restricted Translation-en [30.7 kB]
Get:20 Index of /ubuntu-ports bionic-updates/restricted Sources [17.8 kB]
Get:21 Index of /ubuntu-ports bionic-updates/universe Sources [446 kB]
Get:22 Index of /ubuntu-ports bionic-updates/main Sources [505 kB]
Get:23 Index of /ubuntu-ports bionic-updates/main armhf Packages [1077 kB]
Get:24 Index of /ubuntu-ports bionic-updates/main Translation-en [394 kB]
Get:25 Index of /ubuntu-ports bionic-updates/universe armhf Packages [1416 kB]
Get:26 Index of /ubuntu-ports bionic-updates/universe Translation-en [363 kB]
Get:27 Index of /ubuntu-ports bionic-updates/multiverse armhf Packages [6736 B]
Get:28 Index of /ubuntu-ports bionic-updates/multiverse Translation-en [7468 B]
Get:29 Index of /ubuntu-ports bionic-updates/restricted armhf Packages [10.4 kB]
Get:30 Index of /ubuntu-ports bionic-updates/restricted Translation-en [34.3 kB]
Fetched 7978 kB in 11s (755 kB/s)
Reading package lists… Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: Index of /deb/ all InRelease: The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com
W: Failed to fetch https://install.husarnet.com/deb/dists/all/InRelease The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com
W: Some index files failed to download. They have been ignored, or old ones used instead.
Confirming “bionic” is supported…
- curl -sLf -o /dev/null ‘https://deb.nodesource.com/node_12.x/dists/bionic/Release’
Adding the NodeSource signing key to your keyring…
- curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
Creating apt sources list file for the NodeSource Node.js 12.x repo…
- echo ‘deb Index of /node_12.x/ bionic main’ > /etc/apt/sources.list.d/nodesource.list
- echo ‘deb-src Index of /node_12.x/ bionic main’ >> /etc/apt/sources.list.d/nodesource.list
Running apt-get update
for you…
- apt-get update
Hit:1 http://packages.ros.org/ros/ubuntu bionic InRelease
Hit:2 Index of /node_12.x/ bionic InRelease
Hit:3 Index of /ubuntu-ports bionic InRelease
Hit:4 Index of /ubuntu-ports bionic-security InRelease
Hit:5 Index of /ubuntu-ports bionic-updates InRelease
Get:6 Index of /deb/ all InRelease [14.2 kB]
Err:6 Index of /deb/ all InRelease
The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com
Reading package lists… Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: Index of /deb/ all InRelease: The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com
W: Failed to fetch https://install.husarnet.com/deb/dists/all/InRelease The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com
W: Some index files failed to download. They have been ignored, or old ones used instead.
Run sudo apt-get install -y nodejs
to install Node.js 12.x and npm
You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
husarion@husarion:~/husarion_ws/src$ su root
Password:
su: Authentication failure
husarion@husarion:~/husarion_ws/src$ su root
Password:
su: Authentication failure
husarion@husarion:~/husarion_ws/src$ cd …
husarion@husarion:~/husarion_ws$ dir
build devel src
husarion@husarion:~/husarion_ws$ cd …
husarion@husarion:~$ dir
Desktop Downloads Pictures Templates flash_firmware.sh husarion_ws rosbot-2.0-fw-v0.10.1.bin
Documents Music Public Videos gpio_lib_python ros_workspace stm32loader
husarion@husarion:~$ su root
Password:
su: Authentication failure
husarion@husarion:~$ sudo apt-get install gcc g++ make
Reading package lists… Done
Building dependency tree
Reading state information… Done
make is already the newest version (4.1-9.1ubuntu1).
make set to manually installed.
g++ is already the newest version (4:7.4.0-1ubuntu2.3).
g++ set to manually installed.
gcc is already the newest version (4:7.4.0-1ubuntu2.3).
gcc set to manually installed.
The following packages were automatically installed and are no longer required:
python-rosdep ros-melodic-ros-type-introspection
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 444 not upgraded.
husarion@husarion:~$ curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
OK
husarion@husarion:~$
husarion@husarion:~$ echo “deb https://dl.yarnpkg.com/debian/ stable main” | sudo tee /etc/apt/sources.list.d/yarn.list
deb https://dl.yarnpkg.com/debian/ stable main
husarion@husarion:~$ sudo apt-get update && sudo apt-get install yarn
Get:1 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Hit:2 Index of /node_12.x/ bionic InRelease
Hit:3 Index of /ubuntu-ports bionic InRelease
Hit:4 Index of /ubuntu-ports bionic-security InRelease
Hit:5 Index of /ubuntu-ports bionic-updates InRelease
Hit:6 http://packages.ros.org/ros/ubuntu bionic InRelease
Get:7 https://dl.yarnpkg.com/debian stable/main all Packages [10.1 kB]
Get:8 Index of /deb/ all InRelease [14.2 kB]
Get:9 https://dl.yarnpkg.com/debian stable/main armhf Packages [10.1 kB]
Err:8 Index of /deb/ all InRelease
The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com
Fetched 51.4 kB in 2s (21.7 kB/s)
Reading package lists… Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: Index of /deb/ all InRelease: The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com
W: Failed to fetch https://install.husarnet.com/deb/dists/all/InRelease The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
python-rosdep ros-melodic-ros-type-introspection
Use ‘sudo apt autoremove’ to remove them.
The following NEW packages will be installed:
yarn
0 upgraded, 1 newly installed, 0 to remove and 444 not upgraded.
Need to get 891 kB of archives.
After this operation, 5407 kB of additional disk space will be used.
Get:1 https://dl.yarnpkg.com/debian stable/main armhf yarn all 1.22.5-1 [891 kB]
Fetched 891 kB in 0s (2404 kB/s)
Selecting previously unselected package yarn.
(Reading database … 150128 files and directories currently installed.)
Preparing to unpack …/archives/yarn_1.22.5-1_all.deb …
Unpacking yarn (1.22.5-1) …
Setting up yarn (1.22.5-1) …
husarion@husarion:~$
Thanks
Vineet