![]() ![]() list.distUpgrade files look OK to you, rename them to drop the. You should also review all your files in /etc/apt/ if the. Then run apt update and you should be able to install default-jre. To fix the Ubuntu repositories, edit /etc/apt/sources.list so it contains deb bionic main restricted universe multiverseĭeb bionic-updates main restricted universe multiverseĭeb bionic-backports main restricted universe multiverseĭeb bionic-security main restricted universe multiverseĭeb-src bionic main restricted universe multiverseĭeb-src bionic-security main restricted universe multiverseĭeb-src bionic-backports main restricted universe multiverseĭeb-src bionic-updates main restricted universe multiverse It looks like your upgrade from 16.04 to 18.04 didn’t finish properly, and it left your repository configuration mostly commented out. Output: => /etc/apt/sources.list /etc/apt//google-chrome.list /etc/apt// /etc/apt// /etc/apt//google.list /etc/apt// /etc/apt// /etc/apt//mono-official-preview.list /etc/apt// /etc/apt// /etc/apt//mono-official-stable.list /etc/apt// /etc/apt//mono-xamarin.list /etc/apt// /etc/apt// /etc/apt//mosquitto-dev-ubuntu-mosquitto-ppa-bionic.list /etc/apt// /etc/apt//notepadqq-team-ubuntu-notepadqq-xenial.list /etc/apt// /etc/apt// /etc/apt//skype-stable.list /etc/apt// /etc/apt// /etc/apt//teamviewer.list /etc/apt// /etc/apt//ubuntu-toolchain-r-ubuntu-test-xenial.list /etc/apt// /etc/apt// /etc/apt//webupd8team-ubuntu-java-bionic.list /etc/apt// <= Head -n -0 /etc/apt/sources.list /etc/apt//* ![]() ![]() Extract the contents of the archive to a directory of your choice: Copy. Select the latest version of OpenJDK 17 from the Version drop-down list, and then download the JRE archive for Linux to your local system. Release v=18.04,o=XamarinBionic,a=stable-bionic,n=bionic,l=Xamarin-Stable-Bionic,c=main,b=amd64 Navigate to the Software Downloads page on the Red Hat Customer Portal. Release v=18.04,o=XamarinBionic,a=stable-bionic,n=bionic,l=Xamarin-Stable-Bionic,c=main,b=i386 Release v=18.04,o=LP-PPA-mosquitto-dev-mosquitto-ppa,a=bionic,n=bionic,l=mosquitto,c=main,b=amd64 Release v=18.04,o=LP-PPA-mosquitto-dev-mosquitto-ppa,a=bionic,n=bionic,l=mosquitto,c=main,b=i386 I've tried apt-get update and also installing the other ones, but when I try openjdk ones, it says unable to locate package. This may mean that the package is missing, has been obsoleted, or is only available from another sourceĮ: Package 'default-jre' has no installation candidate Package default-jre is not available, but is referred to by another package. Sudo apt install openjdk-8-jre-headless (You will have to enable component called 'universe') I get Command 'java' not found, but can be installed with: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |