Debian Oracle OSS Group key list expired - linux

I have a debian server running 8.8
When I do a simple sudo apt-get update I obtain the following :
Ign http://mirrors.online.net jessie InRelease
Hit http://mirrors.online.net jessie Release.gpg
Hit http://mirrors.online.net jessie Release
Hit http://security.debian.org jessie/updates InRelease
Ign http://ppa.launchpad.net jessie InRelease
Ign http://ppa.launchpad.net jessie Release.gpg
Ign http://ppa.launchpad.net jessie Release
Get:1 http://mirrors.online.net jessie/main Sources [7,055 kB]
Hit http://security.debian.org jessie/updates/non-free Sources
Hit http://security.debian.org jessie/updates/non-free amd64 Packages
Err http://ppa.launchpad.net jessie/main amd64 Packages
404 Not Found
Hit http://security.debian.org jessie/updates/non-free Translation-en
Ign http://ppa.launchpad.net jessie/main Translation-en_US
Hit http://security.debian.org jessie/updates/main Sources
Ign http://ppa.launchpad.net jessie/main Translation-en
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Get:2 http://mirrors.online.net jessie/non-free Sources [99.5 kB]
Get:3 http://mirrors.online.net jessie/contrib Sources [50.8 kB]
Get:4 http://mirrors.online.net jessie/main amd64 Packages [6,790 kB]
Get:5 http://mirrors.online.net jessie/non-free amd64 Packages [83.6 kB]
Get:6 http://mirrors.online.net jessie/contrib amd64 Packages [50.2 kB]
Get:7 http://mirrors.online.net jessie/contrib Translation-en [38.5 kB]
Get:8 http://mirrors.online.net jessie/main Translation-en [4,583 kB]
Get:9 http://mirrors.online.net jessie/non-free Translation-en [72.1 kB]
Get:10 http://oss.oracle.com unstable InRelease [148 B]
Ign http://oss.oracle.com unstable InRelease
Get:11 http://oss.oracle.com unstable Release.gpg [189 B]
Hit http://oss.oracle.com unstable Release
Ign http://oss.oracle.com unstable Release
Get:12 http://oss.oracle.com unstable/main amd64 Packages [148 B]
Err http://oss.oracle.com unstable/main amd64 Packages
Get:13 http://oss.oracle.com unstable/non-free amd64 Packages [148 B]
Err http://oss.oracle.com unstable/non-free amd64 Packages
Get:14 http://oss.oracle.com unstable/main Translation-en_US [148 B]
Get:15 http://oss.oracle.com unstable/main Translation-en [148 B]
Get:16 http://oss.oracle.com unstable/non-free Translation-en_US [148 B]
Get:17 http://oss.oracle.com unstable/non-free Translation-en [148 B]
Get:18 http://oss.oracle.com unstable/main amd64 Packages [148 B]
Err http://oss.oracle.com unstable/main amd64 Packages
Get:19 http://oss.oracle.com unstable/non-free amd64 Packages [148 B]
Err http://oss.oracle.com unstable/non-free amd64 Packages
Get:20 http://oss.oracle.com unstable/main Translation-en_US [148 B]
Get:21 http://oss.oracle.com unstable/main Translation-en [148 B]
Get:22 http://oss.oracle.com unstable/non-free Translation-en_US [148 B]
Get:23 http://oss.oracle.com unstable/non-free Translation-en [148 B]
Get:24 http://oss.oracle.com unstable/main amd64 Packages [148 B]
Err http://oss.oracle.com unstable/main amd64 Packages
Get:25 http://oss.oracle.com unstable/non-free amd64 Packages [148 B]
Err http://oss.oracle.com unstable/non-free amd64 Packages
Get:26 http://oss.oracle.com unstable/main Translation-en_US [148 B]
Get:27 http://oss.oracle.com unstable/main Translation-en [148 B]
Get:28 http://oss.oracle.com unstable/non-free Translation-en_US [148 B]
Get:29 http://oss.oracle.com unstable/non-free Translation-en [148 B]
Get:30 http://oss.oracle.com unstable/main amd64 Packages [148 B]
Get:31 http://oss.oracle.com unstable/non-free amd64 Packages [148 B]
Err http://oss.oracle.com unstable/non-free amd64 Packages
Get:32 http://oss.oracle.com unstable/main Translation-en_US [148 B]
Get:33 http://oss.oracle.com unstable/main Translation-en [148 B]
Get:34 http://oss.oracle.com unstable/non-free Translation-en_US [148 B]
Get:35 http://oss.oracle.com unstable/non-free Translation-en [148 B]
Get:36 http://oss.oracle.com unstable/main amd64 Packages [148 B]
Err http://oss.oracle.com unstable/main amd64 Packages
HttpError404
Get:37 http://oss.oracle.com unstable/non-free amd64 Packages [148 B]
Err http://oss.oracle.com unstable/non-free amd64 Packages
HttpError404
Get:38 http://oss.oracle.com unstable/main Translation-en_US [148 B]
Ign http://oss.oracle.com unstable/main Translation-en_US
Get:39 http://oss.oracle.com unstable/main Translation-en [148 B]
Ign http://oss.oracle.com unstable/main Translation-en
Get:40 http://oss.oracle.com unstable/non-free Translation-en_US [148 B]
Ign http://oss.oracle.com unstable/non-free Translation-en_US
Get:41 http://oss.oracle.com unstable/non-free Translation-en [148 B]
Ign http://oss.oracle.com unstable/non-free Translation-en
Fetched 18.8 MB in 24s (761 kB/s)
W: GPG error: http://oss.oracle.com unstable Release: The following signatures were invalid: KEYEXPIRED 1378511808 KEYEXPIRED 1378511808 KEYEXPIRED 1378511808
W: Failed to fetch http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/dists/jessie/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://oss.oracle.com/debian/dists/unstable/main/binary-amd64/Packages HttpError404
W: Failed to fetch http://oss.oracle.com/debian/dists/unstable/non-free/binary-amd64/Packages HttpError404
E: Some index files failed to download. They have been ignored, or old ones used instead.
Here is the output of sudo apt-key list :
/etc/apt/trusted.gpg
--------------------
pub 1024D/B38A8516 2006-09-05 [expired: 2013-09-06]
uid Oracle OSS group (Open Source Software group) <build#oss.oracle.com>
/etc/apt/trusted.gpg.d/bitcoin-bitcoin.gpg
------------------------------------------
pub 1024R/8842CE5E 2011-10-26
uid Launchpad PPA for Bitcoin
/etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg
----------------------------------------------------------
pub 4096R/2B90D010 2014-11-21 [expires: 2022-11-19]
uid Debian Archive Automatic Signing Key (8/jessie) <ftpmaster#debian.org>
/etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
-------------------------------------------------------------------
pub 4096R/C857C906 2014-11-21 [expires: 2022-11-19]
uid Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster#debian.org>
/etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg
-------------------------------------------------------
pub 4096R/518E17E1 2013-08-17 [expires: 2021-08-15]
uid Jessie Stable Release Key <debian-release#lists.debian.org>
/etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg
-----------------------------------------------------------
pub 4096R/473041FA 2010-08-27 [expires: 2018-03-05]
uid Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster#debian.org>
/etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg
--------------------------------------------------------
pub 4096R/B98321F9 2010-08-07 [expires: 2017-08-05]
uid Squeeze Stable Release Key <debian-release#lists.debian.org>
/etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg
----------------------------------------------------------
pub 4096R/46925553 2012-04-27 [expires: 2020-04-25]
uid Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster#debian.org>
/etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg
-------------------------------------------------------
pub 4096R/65FFB764 2012-05-08 [expires: 2019-05-07]
uid Wheezy Stable Release Key <debian-release#lists.debian.org>
We can clearly see that key B38A8516 is expired.
I have tried this command without succes :
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys B38A8516
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.66fa6TtioE --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/bitcoin-bitcoin.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyserver pgp.mit.edu --recv-keys B38A8516
gpg: requesting key B38A8516 from hkp server pgp.mit.edu
gpg: key B38A8516: "Oracle OSS group (Open Source Software group) <build#oss.oracle.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
I have even tried to remove the key manually with apt-key del B38A8516 and reinstall it. I always end with the same expired keys...
Anyone have a hint on this ? I'm completly lost...
Cheers,
Astrus

Related

Debian - Nodejs is installed but npm isn't

I am following https://github.com/nodesource/distributions to install Nodejs v11.x on Debian. After following the two instructions, Nodejs seems to be installed fine and nodejs -v returns v4.8.2.
But npm doesn't seem to have been installed. whereis npm returns nothing and I am fairly certain there is no npm installed on my disk.
I have pasted the console log after the command curl -sL https://deb.nodesource.com/setup_11.x | bash - below:
+ apt-get update
Hit:1 http://download.virtualbox.org/virtualbox/debian stretch InRelease
Get:2 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu cosmic InRelease [15.4 kB]
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu cosmic InRelease
Hit:4 http://deb.debian.org/debian stretch-backports InRelease
Ign:5 http://deb.debian.org/debian stretch InRelease
Ign:6 http://ppa.launchpad.net/webupd8team/java/ubuntu disco InRelease
Hit:7 http://deb.debian.org/debian stretch Release
Ign:9 http://ppa.launchpad.net/webupd8team/java/ubuntu disco Release
Hit:10 https://download.sublimetext.com apt/stable/ InRelease
Ign:11 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main i386 Packages
Ign:12 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 Packages
Ign:13 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all Packages
Ign:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en_US
Ign:15 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all DEP-11 Metadata
Ign:11 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main i386 Packages
Ign:12 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 Packages
Ign:13 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all Packages
Ign:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en_US
Ign:15 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all DEP-11 Metadata
Ign:11 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main i386 Packages
Ign:12 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 Packages
Ign:13 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all Packages
Ign:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en_US
Ign:15 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all DEP-11 Metadata
Ign:11 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main i386 Packages
Ign:12 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 Packages
Ign:13 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all Packages
Ign:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en_US
Ign:15 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all DEP-11 Metadata
Ign:11 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main i386 Packages
Ign:12 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 Packages
Ign:13 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all Packages
Ign:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en_US
Ign:15 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all DEP-11 Metadata
Err:11 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main i386 Packages
404 Not Found
Ign:12 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 Packages
Ign:13 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all Packages
Ign:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en_US
Ign:15 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all DEP-11 Metadata
Fetched 15.4 kB in 16s (929 B/s)
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu cosmic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 005EAE8119BB5BCA
W: The repository 'http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu cosmic InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu disco Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/disco/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
My guess is that the installer script stops midway during the process as apt-get is throwing an error. However even if that were the case, I have no idea how to tackle this problem. I don't want to remove the repositories for freecad and java to get apt to quit positively.
If the answer is related to apt-get and is off-topic on this forum, maybe it can be migrated to askubuntu?
well, first let's address the error you see regarding the repositories.
This line tells you the problem.
W: GPG error: http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu cosmic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 005EAE8119BB5BCA
Did you follow the key installation instructions on the freecad page? See https://launchpad.net/~freecad-maintainers/+archive/ubuntu/freecad-stable
and click on Signing key - What's this?
As for the Node issue, try updating Node:
https://www.hostingadvice.com/how-to/update-node-js-latest-version/
Also, try sudo apt-get install npm
Trying to fix the repository issues gives weird python errors, it might have to do with me having both python 2.7 and 3 installed in my system but I don't know for sure.
What I ended up doing is just removing the problematic repositories from /etc/apt/sources.list.d temporarily and then running the curl script again. This makes the script run without any errors and afterwards, the command apt install -y nodejs installs the correct version along with npm.
The problem, it seems, was that debian's default repository also has a nodejs pacakge without npm. And due to the apt-get update error, the install script quit prematurely. Fixing that error did the job.

How to install Greenplum Database in Linux Mint 17.1 Cinnamon 64-bit

To install greenplum, I am following below steps:
reference link
sudo apt-get install -y software-properties-common <br>
sudo add-apt-repository ppa:greenplum/db <br>
sudo apt-get update <br>
when we do
sudo apt-get update </b> we are getting following errors:
Ign http://extra.linuxmint.com rebecca/main Translation-en_IN
Ign http://extra.linuxmint.com rebecca/main Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_IN
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_IN
Ign http://archive.ubuntu.com trusty/restricted Translation-en_IN
Ign http://archive.ubuntu.com trusty/universe Translation-en_IN
Err http://ppa.launchpad.net trusty/main Sources
404 Not Found Err http://ppa.launchpad.net trusty/main amd64 Packages
404 Not Found Err http://ppa.launchpad.net trusty/main i386 Packages
404 Not Found Ign http://ppa.launchpad.net trusty/main
Translation-en_IN Ign http://ppa.launchpad.net
trusty/main Translation-en Ign
http://packages.linuxmint.com rebecca/import Translation-en_IN
Ign http://packages.linuxmint.com rebecca/import Translation-en
Ign http://packages.linuxmint.com rebecca/main Translation-en_IN
Ign http://packages.linuxmint.com rebecca/main Translation-en
Ign http://packages.linuxmint.com rebecca/upstream Translation-en_IN
Ign http://packages.linuxmint.com rebecca/upstream Translation-en
W: Failed to fetch
http://ppa.launchpad.net/greenplum/db/ubuntu/dists/trusty/main/source/Sources
404 Not Found W: Failed to fetch
http://ppa.launchpad.net/greenplum/db/ubuntu/dists/trusty/main/binary-amd64/Packages
404 Not Found W: Failed to fetch
http://ppa.launchpad.net/greenplum/db/ubuntu/dists/trusty/main/binary-i386/Packages
404 Not Found E: Some index files failed to download. They have been
ignored, or old ones used instead.
It looks like the required package for greenplum to install are not available
on linux mint.
Is there is any way to install greenplum on linux mint?
Trusty is Ubuntu 14.04. That's even before Greenplum Database was made Open Source.
Packages are available for Xenial, it looks like:
http://ppa.launchpad.net/greenplum/db/ubuntu/dists/

VOLTTRON : Mongodb installation- error in ppa chris-lea/zeromq/ubuntu xenial

My OS is: Ubuntu (16.04 LTS)
I want to install MongoDB historian instead of mysqlhistorian
(installed).
Following up the issue: Switching between or adding multiple VOLTTRON Historian Framework
and the documentation: http://volttron.readthedocs.io/en/4.1/core_services/historians/Mongo-Historian.html#prerequisites
it seems that there is another error occur when I run the script :
sudo scripts/historian-scripts/root_install_mongo_ubuntu.sh
This message shows up:
Enter 1 or 2 based on the version of Ubuntu you are running
1. Ubuntu 12.04 LTS(Precise Pangolin)
2. Ubuntu 14.04.4 LTS(Trusty Tahr)
I select "2", because it is the closest version to (16.04 LTS)
after selecting "2"
I get the error shown below:
Executing: /tmp/tmp.0w3KEgvSfT/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv
EA312927
gpg: requesting key EA312927 from hkp server keyserver.ubuntu.com
gpg: key EA312927: "MongoDB 3.2 Release Signing Key <packaging#mongodb.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse
Ign:1 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 InRelease
Hit:2 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 Release
Ign:3 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial InRelease
Hit:4 http://ftp.osuosl.org/pub/mariadb/repo/10.2/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu xenial InRelease
Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:8 http://dl.google.com/linux/chrome/deb stable Release
Ign:9 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial Release
Ign:10 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Sources
Ign:12 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main DEP-11 64x64 Icons
Ign:10 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Sources
Ign:12 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main DEP-11 64x64 Icons
Ign:10 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Sources
Ign:12 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main DEP-11 64x64 Icons
Ign:10 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Sources
Ign:12 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main DEP-11 64x64 Icons
Ign:10 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Sources
Ign:12 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main DEP-11 64x64 Icons
Err:10 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Sources
404 Not Found
Ign:12 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main DEP-11 64x64 Icons
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/chris-lea/zeromq/ubuntu/dists/xenial/main/source/Sources 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Note
It is worth mentioning I have installed (pyzmq) using:
(Volttron)USER_NAME#USER_NAME-Laptop:~/volttron$ pip install pyzmq and the requirement for it is satisfied as shown below:
Requirement already satisfied: pyzmq in
./env/local/lib/python2.7/site-packages
and for (MongoDB connector) is also satisfied using :pip install pymongo
Requirement already satisfied: pymongo in ./env/lib/python2.7/site-packages
Question
If selecting "2" is not correct, what is the solution for higher Ubuntu version?
The script needs to be updated to support the latest version of ubuntu. I will update it and create a pull request.
As an alternative have you considered CrateHistorian? CrateHistorian also provides better performance for large production systems.

Unable to install NodeJS 9 on Ubuntu 16.04 LTS (64bit) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 5 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I have tried installing NodeJS by using the following command:
sudo apt-get install nodejs
The problem is, it installs an older version of NodeJS. So I found another way to install a newer version of NodeJS by the following command:
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
But it keeps throwing me the following error message:
adam#adam-pc:~$ curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
## Installing the NodeSource Node.js v9.x repo...
## Populating apt-get cache...
+ apt-get update
Get:1 http://hu.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Hit:2 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
Get:3 http://hu.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease
Get:5 http://hu.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Hit:6 http://ppa.launchpad.net/linrunner/tlp/ubuntu xenial InRelease
Hit:7 http://dl.google.com/linux/chrome/deb stable Release
Ign:8 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial InRelease
Hit:9 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:10 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Ign:11 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial Release
Ign:12 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main DEP-11 64x64 Icons
Ign:12 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main DEP-11 64x64 Icons
Ign:12 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main DEP-11 64x64 Icons
Ign:12 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main DEP-11 64x64 Icons
Ign:12 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main DEP-11 64x64 Icons
Err:12 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 Packages
404 Not Found
Ign:13 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main DEP-11 64x64 Icons
Fetched 451 kB in 6s (70,4 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
I keep looking for a solution for hours now, tried around 10 ideas from StackOverflow and from different forums that I found on Google, but still nothing.
EDIT:
Meanwhile I found the solution.
I opened Ubuntu Update manager by the following command:
update-manager
Then I clicked on Settings and Other software tab and unticked all the http://ppa.launchpad.net/ stuff I found ticked and strange (especially all the michael-gruz links).
Then used the commands above again:
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install nodejs
Now I got v9.5.0 installed.
There's nothing wrong with that install command itself. If you were to look why it errors out, you can see that a launchpad package has gone 404. If you remove this repository, it won't interrupt apt and allow installing the package. You should be able to remove this removed PPA like so:
sudo add-apt-repository --remove ppa:michael-gruz/ppa
I recommend to use a version manager for node. The most popular ones are nvm and n.
Now you can:
sudo apt-get install nodejs // install a really old node
npm install n -g // get n
n latest // get latest node, or a specific one with n v8.0.0

How to install dotnet core sdk in Debian Jessie

I'm having issues installing Dotnet Core SDK on my Debian Jessie Box. This is the guide i've followed https://learn.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x.
After Registering the Product Key and Feed all i get is Unable to locate Package when trying to do an apt-get install dotnet-sdk-2.0.0 or dotnet-sdk-2.0.2. I'm currently logged in as root as this is my local dev machine.
Steps to reproduce:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-jessie-prod jessie main" > /etc/apt/sources.list.d/dotnetdev.list'
apt-get update
apt-get install dotnet-sdk-2.0.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dotnet-sdk-2.0.0
E: Couldn't find any package by regex 'dotnet-sdk-2.0.0'
Where am i going wrong with this? It's like apt cannot see the microsoft repo for some reason.
I realize i could just install this from a downloaded tarball and i will do that if necessary but my preference is to use the package manager for easy maintenance.
Here is the output of apt-get update
root#myserver:/etc/apt# apt-get update
Hit https://deb.nodesource.com jessie InRelease
Hit https://deb.nodesource.com jessie/main Sources
Hit https://deb.nodesource.com jessie/main i386 Packages
Get:1 https://packages.microsoft.com jessie InRelease [2,846 B]
Get:2 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:3 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:4 https://packages.microsoft.com jessie/main amd64 Packages [6,069 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:6 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:8 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:9 https://packages.microsoft.com jessie/main Translation-en [178 B]
Get:10 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:11 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
Get:12 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:13 https://packages.microsoft.com jessie/main Translation-en [178 B]
Get:14 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:15 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
Get:16 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_US
Get:17 https://packages.microsoft.com jessie/main Translation-en [178 B]
Get:18 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Get:19 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
Get:20 https://packages.microsoft.com jessie/main Translation-en [178 B]
Get:21 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
Ign https://packages.microsoft.com jessie/main Translation-en_US
Get:22 https://packages.microsoft.com jessie/main Translation-en [178 B]
Ign https://packages.microsoft.com jessie/main Translation-en
Fetched 8,915 B in 1s (5,969 B/s)
Reading package lists... Done
After fighting with this for days i decided to upgrade my box to Debian Stretch.
Here is the article i followed https://linuxconfig.org/how-to-upgrade-debian-8-jessie-to-debian-9-stretch
apt-get update
apt-get upgrade
apt-get dist-upgrade
Changed my sources.list
FROM JESSIE
deb http://httpredir.debian.org/debian jessie main
deb http://httpredir.debian.org/debian jessie-updates main
deb http://security.debian.org jessie/updates main
TO STRETCH
deb http://httpredir.debian.org/debian stretch main
deb http://httpredir.debian.org/debian stretch-updates main
deb http://security.debian.org stretch/updates main
Ran this again
apt-get update
apt-get upgrade
apt-get dist-upgrade
After the upgrade completed i was able to finally see the dotnet core packages i was looking for!
Another reason this might not be working for you is if you are running a 32 bit version of linux. Dot Net Core Packages are only available for 64 bit. I ran into this gotcha as well when nothing was coming up when trying to install on a 32 bit version of Debian. https://learn.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x

Resources