Thursday, November 11, 2021

[SOLVED] Unable to locate package coturn | Debian 10

Issue

I have a fresh server with debian 10.3.

I want to use it as a STUN/TURN server for webrtc.

But I have already issues with step one. Installing coturn.

Every single guide tells me:

On Debian and Ubuntu there are official repository packages available: sudo apt install coturn

I also tried:

apt install coturn 

apt-get install coturn 

Eventhough all guides tell me there are official packages available, it seems that its simply wrong. I searched manually for a package and found:

https://packages.debian.org/de/jessie/coturn

Now I am worried. Shall I search for a method to install it manually or am I missing something?

I have not much experience with debian and linux in general.

This is what I see after I try to install it:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package coturn

Solution

When you have a freshly installed Ubuntu system, the cache is empty. This is why you should run the apt update command right after installing Ubuntu or any other distributions based on Ubuntu

Just run sudo apt update or apt update and it should work. Did for me.



Answered By - Roman