Unable to locate package chirpstack-network-server

The package download was not located, I received the following:

$ sudo apt-get install chirpstack-network-server
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package chirpstack-network-server

help appreciated!

Robert

@robert, have you double check that your repositories are updated? i.e.

sudo apt-get update

Yes, I did that prior to the previous commands. Updated did get executed

Have you verified that actually you already have the repository that drives the package? i.e. checking at /etc/apt/sources.list.d and see if there is chirpstack.list?

I do not see it in there. A 'ls` returns an empty prompt. I must confess…I am an older radio engineer anxious to experiment with LoRa - not playing to my strong suit, but I do speak rough linux.

/etc/apt/sources.list.d$ ls
computer@name:/etc/apt/sources.list.d$

You need to add the repo and repo key to your system
exec the following commands from linux shell
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1CE2AFD36DBCCA00
sudo echo “deb https://artifacts.chirpstack.io/packages/3.x/deb stable main” | sudo tee /etc/apt/sources.list.d/chirpstack.list
sudo apt-get update

this fully described on the official chirpstack resource https://www.chirpstack.io/ regarding the bridge, app and network server chapters.

I had tried those steps from prior reading. I execute again, but now surface different issue, but there is now chirpstack.list in the appropriate directory. I do not understand the error …’“deb’ is not known on line 1. As shown on output from steps shown in last post.

computer@name:/$ sudo echo “deb https://artifacts.chirpstack.io/packages/3.x/deb stable main” | sudo tee /etc/apt/sources.list.d/chirpstack.list
“deb https://artifacts.chirpstack.io/packages/3.x/deb stable main”

computer@name:/$ sudo apt-get update
E: Type ‘“deb’ is not known on line 1 in source list /etc/apt/sources.list.d/chirpstack.list
E: The list of sources could not be read.
rfanalytic@skipper:/$

@robert, I tried the command here on my test bench and it works. Could you verify that actually what you have inside /etc/apt/sources.list.d/chirpstack.list it’s the following:

deb https://artifacts.chirpstack.io/packages/3.x/deb stable main

If there is some additional character as double quotes, then you should delete it. Once this is done, you will see something like this after issuing sudo apt-get update:

Hit:1 http://archive.raspberrypi.org/debian buster InRelease                                          
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                                       
Get:3 https://artifacts.chirpstack.io/packages/3.x/deb stable InRelease [14.0 kB]

is it possible to use sudo add-apt-repository somehow? Results below

computer@name:/etc/apt/sources.list.d$ deb https://artifacts.chirpstack.io/packages/3.x/deb stable main

Command ‘deb’ not found, did you mean:

command ‘dub’ from snap dub (1.18.0)
command ‘den’ from snap den (1.2.0-0)
command ‘dub’ from deb dub
command ‘edb’ from deb edb-debugger
command ‘deb3’ from deb quilt
command ‘derb’ from deb icu-devtools
command ‘xdeb’ from deb xdeb
command ‘debi’ from deb devscripts
command ‘dab’ from deb bsdgames
command ‘dex’ from deb dex
command ‘dep’ from deb go-dep
command ‘debc’ from deb devscripts

See 'snap info ’ for additional versions.

this is not command. this is prefix inside source list file.
just run this string to add the chirpstack repo

sudo echo “deb https://artifacts.chirpstack.io/packages/3.x/deb stable main” | sudo tee /etc/apt/sources.list.d/chirpstack.list

the issue persists, but not sure why. See the execution below:

computer@name:/$ sudo apt-get install chirpstack-network-server
E: Type ‘“deb’ is not known on line 1 in source list /etc/apt/sources.list.d/chirpstack.list
E: The list of sources could not be read.
E: Type ‘“deb’ is not known on line 1 in source list /etc/apt/sources.list.d/chirpstack.list
E: The list of sources could not be read.
computer@name:/$

show the chirpstack.list content

name@computer:/$ cd etc/apt/sources.list.d
name@computer:/etc/apt/sources.list.d$ ls
chirpstack.list
name@computer:/etc/apt/sources.list.d$ vi chirpstack.list

I include screen shot

image

remove the quotes. sources list must be plane without quotes.

That worked! Thank you! I did have to pull it down again and update - but below shows that it installed.

The configuration file is located at:
/etc/chirpstack-network-server/chirpstack-network-server.toml