Score:1

Getting installation probllem in installing Discord

nu flag
unable to install discord:
    Error while installing package: installed oracle-java11-installer-local package 
    post-installation script subprocess returned error exit ststus 1

I have downloaded .deb file from internet and got the error.not only discord I got same problem while installing some softwares.

so thanks in advance.

Keval

Score:2
zw flag

There are two alternatives:

  • If you do not plan to use Oracle Java 11 then run

    sudo dpkg -P --force-all oracle-java11-installer-local
    sudo dpkg -P --force-all oracle-java11-set-default-local
    
  • If you want to get Oracle Java 11 installed then run

    sudo apt-get install curl
    sudo mkdir -p /var/cache/oracle-jdk11-installer-local
    curl -L -b "oraclelicense=a" -O https://download.oracle.com/otn-pub/java/jdk/11.0.12%2B8/f411702ca7704a54a79ead0c2e0942a3/jdk-11.0.12_linux-x64_bin.tar.gz
    sudo mv jdk-11.0.12_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local
    
    sudo add-apt-repository ppa:linuxuprising/java
    sudo apt-get update
    sudo apt-get install oracle-java11-installer-local
    

and then retry Discord installation:

cd ~/Downloads
wget -c https://dl.discordapp.net/apps/linux/0.0.15/discord-0.0.15.deb
sudo apt-get install ./discord-0.0.15.deb
user535733 avatar
cn flag
Another alternative: Discord is also available as a Snap: `sudo snap install discord`
Keval Shah avatar
nu flag
Thankyou @N0rbert
Keval Shah avatar
nu flag
thanks for your answer
Score:0
cn flag

Try the following commands:

Sudo apt-get update && sudo apt-get install snap

sudo snap install discord

Keval Shah avatar
nu flag
Your content is totally correct but I have some Java incomplete installation . So I get error while installing other application
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.