-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install the installer (Pop!_OS Linux) #1076
Comments
hi! What read-me are you following? The error message is moreover clear - redundant 0. The |
also the sudo looks a bit weird, becasue Only the first command runs as root, but the last piped program - |
As for |
The exact commands listed at https://adoptium.net/installation/linux/. |
I followed the commands you guys suggested, then continued with the process. Then, this happened: huntersmoon999@pop-os:~$ sudo apt update sudo apt install temurin-17-jdk Sorry if this is dumb and obvious, I've literally just started using Linux like two weeks ago. I'm also 15 and not very good at computer stuff in general |
Thanx. It seems it will need a bit of tuning. |
I'm not familiar with apt enough, but indeed it skipped the key import, so I had now tried the instructions as they are: https://adoptium.net/installation/linux/#_deb_installation_on_debian_or_ubuntu and it works out of the box on latest ubuntu. Even the As your's wget do not know
and
And they both had Pls try to log in as root ( |
The Note: Apologies if there's any typos in the line above - I've typed it manually from your screenshot. For future reference it's usually preferable for text to be put directly into the issues instead of screenshots so they can be cut and pasted more easily by anyone attempting to reproduce your issue - see https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks for some examples. The need for sudo in these cases if you're not already root is mentioned in this section of the installer page that you referenced: |
Now it's doing this. I got the same exact result while logged in as root. edit: and I didn't get this result the first time I attempted this... |
root@pop-os:~# wget -q0 - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null wget: invalid option -- '0' Usage: wget [OPTION]... [URL]... Try `wget --help' for more options. gpg: no valid OpenPGP data found. root@pop-os:~# |
The |
I have been copy and pasting all these commands. If the site contained a nonsense command, I don't know how I was supposed to know it wouldn't work. |
Alright, I tried qO instead of q0. The installation continued to work as normal, then I got this: root@pop-os:~# echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list deb https://packages.adoptium.net/artifactory/deb jammy main root@pop-os:~# apt install temurin-17-jdk Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package temurin-17-jdk root@pop-os:~# |
Can you point me at where you copy and pasted from specifically? If it's wrong somwhere then I'd love to get it fixed but as far as I can tell there are no instances of it with a zero on https://adoptium.net/en-GB/installation/linux/ (and no-one else has previously reported it to us)
From the look of your snippet above it looks like you've run the command to create |
Installing the installer packages. Copying the exact commands the site tells me to use, returns this error. It's step 2 specifically.
I'm on a Ubuntu based distro, if that helps
The text was updated successfully, but these errors were encountered: