I'm posting this as a possible bug report because this page says,
Troubleshooting
Please report any issues on our StackOverflow page: https://stackoverflow.com/questions/tagged/corda
Maybe these instructions for installing Java on Ubuntu are wrong (obsolete):
https://docs.corda.net/getting-set-up.html#id4
Java
Open a new terminal and add the Oracle PPA to your repositories by typing sudo add-apt-repository ppa:webupd8team/java. Press ENTER when prompted.
Update your packages list with the command sudo apt update
Install the Oracle JDK 8 by typing sudo apt install oracle-java8-installer.
Press Y when prompted and agree to the licence terms.
Because what I see when I do that is as follows:
cwellsx#cwellsx-VirtualBox:~$ sudo add-apt-repository ppa:webupd8team/java
[sudo] password for cwellsx:
The Oracle JDK License has changed for releases starting April 16, 2019.
The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. An FAQ is available here: https://www.oracle.com/technetwork/java/javase/overview/oracle-jdk-faqs.html
Oracle Java downloads now require logging in to an Oracle account to download Java updates, like the latest Oracle Java 8u211 / Java SE 8u212. Because of this I cannot update the PPA with the latest Java (and the old links were broken by Oracle).
For this reason, THIS PPA IS DISCONTINUED (unless I find some way around this limitation).
Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK8). There are no actual Java files in this PPA.
Important -> Why Oracle Java 7 And 6 Installers No Longer Work: http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html
Update: Oracle Java 9 has reached end of life: http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html
The PPA supports Ubuntu 18.10, 18.04, 16.04, 14.04 and 12.04.
More info (and Ubuntu installation instructions):
- http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
Debian installation instructions:
- Oracle Java 8: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
For Oracle Java 11, see a different PPA -> https://www.linuxuprising.com/2019/06/new-oracle-java-11-installer-for-ubuntu.html
More info: https://launchpad.net/~webupd8team/+archive/ubuntu/java
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease [15,4 kB]
Get:3 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Get:6 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [713 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [22,6 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [10,4 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [31,7 kB]
Get:10 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [574 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42,1 kB]
Get:12 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [285 kB]
Get:13 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [70,9 kB]
Get:14 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [140 kB]
Get:15 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [978 kB]
Get:16 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16,4 kB]
Get:17 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [116 kB]
Get:18 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2 464 B]
Get:19 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1 000 kB]
Get:20 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [253 kB]
Get:21 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [193 kB]
Get:22 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [453 kB]
Get:23 http://fr.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2 468 B]
Get:24 http://fr.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7 920 B]
Fetched 5 179 kB in 6s (924 kB/s)
Reading package lists... Done
cwellsx#cwellsx-VirtualBox:~$ sudo apt update
Hit:1 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:4 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
cwellsx#cwellsx-VirtualBox:~$ sudo apt install oracle-java8-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package oracle-java8-installer is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'oracle-java8-installer' has no installation candidate
cwellsx#cwellsx-VirtualBox:~$
Maybe (correct me if I'm wrong) the way to do that now is:
Download the *.tar.gz from https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Unzip:
cwellsx#cwellsx-VirtualBox:~$ sudo mkdir /opt/java
cwellsx#cwellsx-VirtualBox:~$ sudo tar -zxf Downloads/jdk-8u221-linux-x64.tar.gz -C /opt/java
Add the following to /etc/profile
# after `sudo tar -zxf Downloads/jdk-8u221-linux-x64.tar.gz -C /opt/java`
export JAVA_HOME=/opt/java/jdk1.8.0_221
export PATH=$PATH:$JAVA_HOME/bin
Restart Ubuntu
Verify
cwellsx#cwellsx-VirtualBox:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/java/jdk1.8.0_221/bin
cwellsx#cwellsx-VirtualBox:~$ java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
... which is like the installation instructions for Windows.
Thanks for your notes and contribution!
I will pass the notes to the docs team and make changes accordingly.
Related
I have a webapp firebase project in codeanywhere but I can't login in firebase, I have installed firebase-tools#9.23.3 and when I run "firebase login --no-localhost" I have a link to log in, but when I click on link another page is opened with:
"Errore 400: invalid_request The version of the app you're using
doesn't include the latest security features to keep you protected.
Please make sure to download from a trusted source and update to the
latest, most secure version."
I wrote to support of codeanywhere and they said that don't officially support firebase. So I want to know if there is a workaround to deploy the webapp in firebase inside codeanywhere or eventually upload the webapp files in firebase without cli.
Basically I would not like to install any editor and any cli on my pc and be able to work only online on my firebase project. I can also use another environment like codeanywhere as long as it allows me to work (edit and deploy) only online to my firebase project.
Update:
cabox#nodejs-white-lion:~/workspace/GAU$ sudo apt-get remove nodejs npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'npm' is not installed, so not removed
The following packages will be REMOVED:
nodejs
0 upgraded, 0 newly installed, 1 to remove and 10 not upgraded.
After this operation, 125 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 40238 files and directories currently installed.)
Removing nodejs (14.21.1-deb-1nodesource1) ...
Processing triggers for man-db (2.7.5-1) ...
cabox#nodejs-white-lion:~/workspace/GAU$ curl -sL deb.nodesource.com/setup_16.x | sudo -E bash -
## Installing the NodeSource Node.js 16.x repo...
## Populating apt-get cache...
+ apt-get update
Get:1 http://repo.mysql.com/apt/ubuntu xenial InRelease [22.2 kB]
Err:1 http://repo.mysql.com/apt/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
Hit:2 https://deb.nodesource.com/node_14.x xenial InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:6 http://archive.canonical.com/ubuntu xenial InRelease
Hit:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Fetched 22.2 kB in 0s (36.5 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: http://repo.mysql.com/apt/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
W: Failed to fetch http://repo.mysql.com/apt/ubuntu/dists/xenial/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
W: Some index files failed to download. They have been ignored, or old ones used instead.
## Confirming "xenial" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/xenial/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
## Creating apt sources list file for the NodeSource Node.js 16.x repo...
+ echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x xenial main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x xenial main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Get:1 http://repo.mysql.com/apt/ubuntu xenial InRelease [22.2 kB]
Err:1 http://repo.mysql.com/apt/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:6 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
Get:7 https://deb.nodesource.com/node_16.x xenial InRelease [4,584 B]
Get:8 https://deb.nodesource.com/node_16.x xenial/main amd64 Packages [774 B]
Fetched 27.6 kB in 0s (28.2 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: http://repo.mysql.com/apt/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
W: Failed to fetch http://repo.mysql.com/apt/ubuntu/dists/xenial/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
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 16.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 | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] 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
cabox#nodejs-white-lion:~/workspace/GAU$ udo apt-get update && sudo apt-get install yarn
bash: udo: command not found
cabox#nodejs-white-lion:~/workspace/GAU$ sudo apt-get update && sudo apt-get install yarn
Get:1 http://repo.mysql.com/apt/ubuntu xenial InRelease [22.2 kB]
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Err:1 http://repo.mysql.com/apt/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 https://deb.nodesource.com/node_16.x xenial InRelease
Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:7 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
Fetched 22.2 kB in 0s (41.8 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: http://repo.mysql.com/apt/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
W: Failed to fetch http://repo.mysql.com/apt/ubuntu/dists/xenial/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
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
E: Unable to locate package yarn
cabox#nodejs-white-lion:~/workspace/GAU$ node -v
v14.16.0
cabox#nodejs-white-lion:~/workspace/GAU$
I already had R version 3.6.3 but for running package (DESeq2) in RStudio, it was showing to install R version 4.2.0.
In this process of installing the latest version of R. I have uninstalled both the R and rstudio. Now when I am trying to install R version 4.2.0. It showing errors. I may have done some mistakes during this whole process.
Underneath I am attaching the errors and code I have run in the terminal of Ubuntu 18.04.
pkd#pkd-HP-Z4-G4-Workstation:~$ sudo apt install r-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
r-base : Depends: r-base-core (>= 4.2.0-1.2204.0) but it is not going to be installed
Depends: r-recommended (= 4.2.0-1.2204.0) but it is not going to be installed
Recommends: r-base-html but it is not going to be installed
More of the Error log:
pkd#pkd-HP-Z4-G4-Workstation:~$ sudo add-apt-repository ppa:marutter/rrutter
Hit:1 https://desktop-download.mendeley.com/download/apt stable InRelease
Get:9 http://ppa.launchpad.net/marutter/rrutter/ubuntu bionic InRelease [15.4 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Err:10 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
Get:13 http://ppa.launchpad.net/marutter/rrutter/ubuntu bionic/main amd64 Packages [984 B]
Get:15 http://ppa.launchpad.net/marutter/rrutter/ubuntu bionic/main Translation-en [928 B]
Reading package lists... Done
W: GPG error: https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
E: The repository 'https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease' is not signed.
N: Updating from such a repository can't be done securely and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I just bought a new machine and made a fresh installation of Ubuntu 21.10 since I've read that the newer kernel works better with graphics drivers. I'm planning to update to the 22.04 LTS when it will be available. I didn't realize, however, that I might run into challenges with R.
There are plenty of questions here in SO on installing R on Ubuntu, but none seemed recent enough to address the Ubuntu version 21.10.
Ubuntu Packages For R - Full Instructions state that
As of May 19, 2021 the supported releases are
Hirsute Hippo (21.04, amd64 only)
Groovy Gorilla (20.10, amd64 only),
Focal Fossa (20.04; LTS and amd64 only),
Bionic Beaver (18.04; LTS), and
Xenial Xerus (16.04; LTS).
So, if I understand correctly, I have three options:
Uninstall 21.10 and replace with 21.04
Wait for support for 21.10
Install R from source
Now, the question is, have I understood correctly, or could I use, for example, the 21.04 repository (hirsute-cran40/)?
Apparently, it is ok to use a repository of older releases.
I was encouraged by Andre Wildeberg (thanks!) and added the 21.04 repository (hirsute-cran40/) into my /etc/apt/sources.list:
deb https://cloud.r-project.org/bin/linux/ubuntu hirsute-cran40/
Then, you can follow the rest of the CRAN instructions.
Add the relevant GPG key (under "Secure APT", half way through the document):
$ wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
Finally, install R:
$ sudo apt-get update
$ sudo apt-get install r-base
And everything should be working fine.
You need a newer signing key for that repo:
root:~# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.MsSJzqgwfx/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
gpg: key 51716619E084DAB9: "Michael Rutter <marutter#gmail.com>" 1 new signature
gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory
gpg: can't connect to the agent: No such file or directory
gpg: Total number processed: 1
gpg: new signatures: 1
root:~# apt update
Get:1 https://cloud.r-project.org/bin/linux/ubuntu hirsute-cran40/ InRelease [3628 B]
Get:2 http://security.ubuntu.com/ubuntu impish-security InRelease [110 kB]
Hit:3 http://archive.ubuntu.com/ubuntu impish InRelease
Get:4 http://archive.ubuntu.com/ubuntu impish-updates InRelease [110 kB]
Get:5 http://archive.ubuntu.com/ubuntu impish-backports InRelease [101 kB]
Fetched 325 kB in 1s (422 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root:#
One you have that, impish works fine. That said, hirsute binaries should work too (or even focal binaries, as one does with the 5000+ r-cran-* binaries the 'cran2deb4ubuntu' repo for the LTS release).
Almost the same as: Can't install .NET Core on Linux Mint 18.1 except that I want to install .NET Core 2.0.
Followed the steps there: Install .NET Core for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10 & Linux Mint 17, Linux Mint 18 (64 bit)
(no issues on Manjaro)
perret#perret-ThinkPad-E460 ~/Desktop/github.io $ curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 983 100 983 0 0 2961 0 --:--:-- --:--:-- --:--:-- 2960
perret#perret-ThinkPad-E460 ~/Desktop/github.io $ sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
perret#perret-ThinkPad-E460 ~/Desktop/github.io $ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful main" > /etc/apt/sources.list.d/dotnetdev.list'
perret#perret-ThinkPad-E460 ~/Desktop/github.io $ sudo apt-get update
Ign:1 http://mirrors.evowise.com/linuxmint/packages sylvia InRelease
Hit:2 http://mirror.clibre.uqam.ca/ubuntu xenial InRelease
Hit:3 http://mirror.clibre.uqam.ca/ubuntu xenial-updates InRelease
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Hit:5 http://mirror.clibre.uqam.ca/ubuntu xenial-backports InRelease
Hit:6 http://mirrors.evowise.com/linuxmint/packages sylvia Release
Hit:7 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:8 https://repo.skype.com/deb stable InRelease
Get:9 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:10 https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful InRelease [2,845 B]
Get:12 https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful/main amd64 Packages [8,946 B]
Fetched 114 kB in 0s (195 kB/s)
Reading package lists... Done
perret#perret-ThinkPad-E460 ~/Desktop/github.io $ sudo apt-get install dotnet-sdk-2.1.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
dotnet-sdk-2.1.3 : Depends: dotnet-runtime-2.0.4 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
By the way, the same thing occurs with: dotnet-sdk-2.1.4 and dotnet-runtime-2.0.5
So I tried to dig a bit more:
perret#perret-ThinkPad-E460 ~/Desktop/github.io $ sudo apt-get install dotnet-runtime-2.0.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
dotnet-runtime-2.0.4 : Depends: libgssapi-krb5-2 (>= 1.14+dfsg) but 1.13.2+dfsg-5ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
Got the libgssapi-krb5-2_1.13.2+dfsg-5ubuntu2 myself:
https://packages.ubuntu.com/xenial-updates/amd64/libgssapi-krb5-2/download
But realized that the version is too old... 1.13.2 (i.e. >= 1.14+dfsg)
Any idea?
My bad Linux Mint 18.1.3 use Ubuntu 16.04 list not 17.10 or 17.04:
perret#perret-ThinkPad-E460 ~ $ curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 983 100 983 0 0 830 0 0:00:01 0:00:01 --:--:-- 830
perret#perret-ThinkPad-E460 ~ $ sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
[sudo] password for perret:
Sorry, try again.
[sudo] password for perret:
perret#perret-ThinkPad-E460 ~ $ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
perret#perret-ThinkPad-E460 ~ $ sudo apt-get update
Hit:1 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:3 http://mirrors.evowise.com/linuxmint/packages sylvia InRelease
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Hit:5 http://mirrors.evowise.com/linuxmint/packages sylvia Release
Hit:6 http://mirror.clibre.uqam.ca/ubuntu xenial InRelease
Hit:8 https://repo.skype.com/deb stable InRelease
Hit:9 https://deb.opera.com/opera-stable stable InRelease
Hit:10 http://mirror.clibre.uqam.ca/ubuntu xenial-updates InRelease
Get:11 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial InRelease [2,845 B]
Hit:12 http://mirror.clibre.uqam.ca/ubuntu xenial-backports InRelease
Get:13 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages [23.3 kB]
Fetched 26.1 kB in 1s (18.7 kB/s)
Reading package lists... Done
perret#perret-ThinkPad-E460 ~ $ sudo apt-get install dotnet-sdk-2.1.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
aspnetcore-store-2.0.0 aspnetcore-store-2.0.3 dotnet-host
dotnet-hostfxr-2.0.4 dotnet-runtime-2.0.4 liblttng-ust-ctl2 liblttng-ust0
liburcu4
The following NEW packages will be installed:
aspnetcore-store-2.0.0 aspnetcore-store-2.0.3 dotnet-host
dotnet-hostfxr-2.0.4 dotnet-runtime-2.0.4 dotnet-sdk-2.1.3 liblttng-ust-ctl2
liblttng-ust0 liburcu4
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 118 MB of archives.
After this operation, 344 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
perret#perret-ThinkPad-E460 ~ $ sudo apt-get install dotnet-sdk-2.1.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
aspnetcore-store-2.0.0 aspnetcore-store-2.0.3 aspnetcore-store-2.0.5
dotnet-host dotnet-hostfxr-2.0.5 dotnet-runtime-2.0.5 liblttng-ust-ctl2
liblttng-ust0 liburcu4
The following NEW packages will be installed:
aspnetcore-store-2.0.0 aspnetcore-store-2.0.3 aspnetcore-store-2.0.5
dotnet-host dotnet-hostfxr-2.0.5 dotnet-runtime-2.0.5 dotnet-sdk-2.1.4
liblttng-ust-ctl2 liblttng-ust0 liburcu4
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 119 MB of archives.
After this operation, 348 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 aspnetcore-store-2.0.0 amd64 2.0.0-1 [18.1 MB]
Get:2 http://mirror.clibre.uqam.ca/ubuntu xenial/universe amd64 liburcu4 amd64 0.9.1-3 [47.3 kB]
Get:3 http://mirror.clibre.uqam.ca/ubuntu xenial/universe amd64 liblttng-ust-ctl2 amd64 2.7.1-1 [72.2 kB]
Get:4 http://mirror.clibre.uqam.ca/ubuntu xenial/universe amd64 liblttng-ust0 amd64 2.7.1-1 [127 kB]
Get:5 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 aspnetcore-store-2.0.3 amd64 2.0.3-1 [5,805 kB]
Get:6 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 aspnetcore-store-2.0.5 amd64 2.0.5-1 [1,162 kB]
Get:7 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 dotnet-host amd64 2.0.5-1 [33.8 kB]
Get:8 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 dotnet-hostfxr-2.0.5 amd64 2.0.5-1 [135 kB]
Get:9 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 dotnet-runtime-2.0.5 amd64 2.0.5-1 [18.6 MB]
Get:10 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 dotnet-sdk-2.1.4 amd64 2.1.4-1 [74.9 MB]
Fetched 119 MB in 51s (2,313 kB/s)
Selecting previously unselected package aspnetcore-store-2.0.0.
(Reading database ... 249396 files and directories currently installed.)
Preparing to unpack .../aspnetcore-store-2.0.0_2.0.0-1_amd64.deb ...
Unpacking aspnetcore-store-2.0.0 (2.0.0-1) ...
Selecting previously unselected package aspnetcore-store-2.0.3.
Preparing to unpack .../aspnetcore-store-2.0.3_2.0.3-1_amd64.deb ...
Unpacking aspnetcore-store-2.0.3 (2.0.3-1) ...
Selecting previously unselected package aspnetcore-store-2.0.5.
Preparing to unpack .../aspnetcore-store-2.0.5_2.0.5-1_amd64.deb ...
Unpacking aspnetcore-store-2.0.5 (2.0.5-1) ...
Selecting previously unselected package dotnet-host.
Preparing to unpack .../dotnet-host_2.0.5-1_amd64.deb ...
Unpacking dotnet-host (2.0.5-1) ...
Selecting previously unselected package dotnet-hostfxr-2.0.5.
Preparing to unpack .../dotnet-hostfxr-2.0.5_2.0.5-1_amd64.deb ...
Unpacking dotnet-hostfxr-2.0.5 (2.0.5-1) ...
Selecting previously unselected package liburcu4:amd64.
Preparing to unpack .../liburcu4_0.9.1-3_amd64.deb ...
Unpacking liburcu4:amd64 (0.9.1-3) ...
Selecting previously unselected package liblttng-ust-ctl2:amd64.
Preparing to unpack .../liblttng-ust-ctl2_2.7.1-1_amd64.deb ...
Unpacking liblttng-ust-ctl2:amd64 (2.7.1-1) ...
Selecting previously unselected package liblttng-ust0:amd64.
Preparing to unpack .../liblttng-ust0_2.7.1-1_amd64.deb ...
Unpacking liblttng-ust0:amd64 (2.7.1-1) ...
Selecting previously unselected package dotnet-runtime-2.0.5.
Preparing to unpack .../dotnet-runtime-2.0.5_2.0.5-1_amd64.deb ...
Unpacking dotnet-runtime-2.0.5 (2.0.5-1) ...
Selecting previously unselected package dotnet-sdk-2.1.4.
Preparing to unpack .../dotnet-sdk-2.1.4_2.1.4-1_amd64.deb ...
Unpacking dotnet-sdk-2.1.4 (2.1.4-1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Setting up aspnetcore-store-2.0.0 (2.0.0-1) ...
Setting up aspnetcore-store-2.0.3 (2.0.3-1) ...
Setting up aspnetcore-store-2.0.5 (2.0.5-1) ...
Setting up dotnet-host (2.0.5-1) ...
Setting up dotnet-hostfxr-2.0.5 (2.0.5-1) ...
Setting up liburcu4:amd64 (0.9.1-3) ...
Setting up liblttng-ust-ctl2:amd64 (2.7.1-1) ...
Setting up liblttng-ust0:amd64 (2.7.1-1) ...
Setting up dotnet-runtime-2.0.5 (2.0.5-1) ...
Setting up dotnet-sdk-2.1.4 (2.1.4-1) ...
This software may collect information about you and your use of the software, and send that to Microsoft.
Please visit http://aka.ms/dotnet-cli-eula for more information.
Welcome to .NET Core!
---------------------
Learn more about .NET Core # https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.
.NET Core Tools Telemetry
--------------
The .NET Core Tools include a telemetry feature that collects usage information. It is important that the .NET Team understands how the tools are being used so that we can improve them.
The data collected is anonymous and will be published in an aggregated form for use by both Microsoft and community engineers under the Creative Commons Attribution License.
The .NET Core Tools telemetry feature is enabled by default. You can opt-out of the telemetry feature by setting an environment variable DOTNET_CLI_TELEMETRY_OPTOUT (for example, 'export' on macOS/Linux, 'set' on Windows) to true (for example, 'true', 1). You can read more about .NET Core tools telemetry at https://aka.ms/dotnet-cli-telemetry.
Installation Note
--------------
A command will be run during the install process that will improve project restore speed and enable offline access. It will take up to a minute to complete.
Processing triggers for libc-bin (2.23-0ubuntu10) ...
sudo apt-get update
Hit:1 http://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5.11.0 InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:5 https://apt-mo.trafficmanager.net/repos/dotnet-release xenial InRelease
Hit:6 https://packages.microsoft.com/repos/vscode stable InRelease
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Fetched 306 kB in 0s (443 kB/s)
Reading package lists... Done
W: http://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm/dists/xenial-cm5.11.0/InRelease: Signature by key F36A89E33CC1BD0F71079007327574EE02A818DD uses weak digest algorithm (SHA1)
When trying to install the latest cloudera 5.11.0, I get the following error. Any ideas on how to get around this?