How to trust a apt repository : Debian apt-get update error public key is not available: NO_PUBKEY [closed]

I found several posts telling me to run several gpg commands, but they didn’t solve the problem because of two things. First, I was missing the debian-keyring package on my system and second I was using an invalid keyserver. Try different keyservers if you’re getting timeouts! Thus, the way I fixed it was: apt-get install … Read more

Upgrading React version and it’s dependencies by reading package.json

Using npm Latest version while still respecting the semver in your package.json: npm update <package-name>. So, if your package.json says “react”: “^15.0.0” and you run npm update react your package.json will now say “react”: “^15.6.2” (the currently latest version of react 15). But since you want to go from react 15 to react 16, that … Read more

How to upgrade Eclipse for Java EE Developers?

Add the update URL to your available sites: Window > Preferences > Install/Update > Available Software Sites > Add… Name: Oxygen Location: http://download.eclipse.org/releases/oxygen/ Then tell Eclipse to look for updates: Help > Check for updates. After the installation, Eclipse will restart and show the old splash screen. Next time you manually stop/start Eclipse it will … Read more

Want to upgrade project from Angular v5 to Angular v6

Upgrade from Angular v6 to Angular v7 Version 7 of Angular has been released Official Angular blog link. Visit official angular update guide https://update.angular.io for detailed information. These steps will work for basic angular 6 apps using Angular Material. ng update @angular/cli ng update @angular/core ng update @angular/material Upgrade from Angular v5 to Angular v6 … Read more

How to update Python?

UPDATE: 2018-07-06 This post is now nearly 5 years old! Python-2.7 will stop receiving official updates from python.org in 2020. Also, Python-3.7 has been released. Check out Python-Future on how to make your Python-2 code compatible with Python-3. For updating conda, the documentation now recommends using conda update –all in each of your conda environments … Read more

Painless way to install a new version of R?

Just for completeness, there are some ways to prevent you from having this problem. As Dirk said, save your packages in another directory on your computer. install.packages(“thepackage”,lib=”/path/to/directory/with/libraries”) You can change the default .Library value using the function .libPaths too .libPaths(“/path/to/directory/with/libraries”) This will put this path as a first value in the .Library variable, and will … Read more