umberd / eBot-install-script

Ebot-CSGO install Script
MIT License
13 stars 17 forks source link

Node installation failed (packages cannot be authenticated) #7

Closed rmobis closed 2 months ago

rmobis commented 6 years ago

While running the script on a fresh Debian 8.11 VM, I got the following error:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libc-ares2 libv8-3.14.5
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  rlwrap
The following NEW packages will be installed:
  rlwrap
The following packages will be upgraded:
  nodejs
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,399 kB of archives.
After this operation, 32.5 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  nodejs
E: There are problems and -y was used without --force-yes
(LINE 232) There is an error. Are you running apt application somewhere?
Can you check your debian source list?
ABORT

Cloudn't figure out the exact cause of the issue (apart from the somewhat cryptic The following packages cannot be authenticated! message), but running it with --force-yes solved the problem. I'm not sure if that's the best solution though.