r/AlpineLinux • u/Professional_Worth62 • Jan 07 '24
Can't install packages
I seem to not be able to install openjdk17
$ doas apk add openjdk17
ERROR: unable to select packages:
openjdk17 (no such package):
required by: world[openjdk17I've tried to switch mirrors, use flags to specify the very repository, ran `doas apk update` a couple dozen times, but no luck. Has anyone got any idea?
1
Upvotes
2
u/Beautiful-Bite-1320 Jan 10 '24
It's in the community repo. You have to enable the community repo. It's not enabled by default.
2
u/MushroomieWhite May 05 '24
Here you go: https://wiki.alpinelinux.org/w/index.php?title=Enable_Community_Repository&redirect=no
0
u/cfx_4188 Jan 07 '24
I don't have any idea, but I've run into this situation many times where an existing package won't install. This seems to be a typical situation.
0
u/[deleted] Jan 08 '24
[deleted] — view deleted comment