AirNav Systems Forum
AirNav RadarBox and RadarBox24.com => AirNav RadarBox and RadarBox24.com Discussion => Topic started by: Wingedwraith on March 31, 2018, 11:52:43 AM
-
Hi,
I'm trying to update my Raspberry Pi but am getting the following error:
Ign:5 http://apt.rb24.com jessie InRelease
Fetched 29.1 kB in 2s (12.8 kB/s)
Reading package lists... Done
W: GPG error: http://apt.rb24.com jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F2A8428D3C354953
W: The repository 'http://apt.rb24.com jessie InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I'm running Stretch.
Thanks
Neil
-
Have a read of this http://www.airnavsystems.com/forum/index.php?topic=10201.0
Alan
-
@Wingedwraith
I always get it when I run commandf sudo apt-get update, and I simply ignore it. It is just a warning.
Because of this warning, the installation of rbfeeder used to fail on Stretch when Stretch was newly released.
The AirNav software developers were informed about it, and have taken care of it.
RPi installation - fails due to RBFeeder not authenticated (http://www.airnavsystems.com/forum/index.php?topic=10551.msg205851#msg205851)
Once the Radarbox24's rbfeeder has been installed successfully, dont worry about warning that if its GPG key is not authenticated.
.
-
@Wingedwraith
I always get it when I run commandf sudo apt-get update, and I simply ignore it. It is just a warning.
Because of this warning, the installation of rbfeeder used to fail on Stretch when Stretch was newly released.
The AirNav software developers were informed about it, and have taken care of it.
RPi installation - fails due to RBFeeder not authenticated (http://www.airnavsystems.com/forum/index.php?topic=10551.msg205851#msg205851)
Once the Radarbox24's rbfeeder has been installed successfully, dont worry about warning that if its GPG key is not authenticated.
.
Thanks for the info, however I can't ignore it as it dumps me out of the update process, is there way to use a switch that ignores these warnings?
Neil
-
@Wingedwraith
Try this:
# Import RB24 key to apt-key
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 1D043681
# Move old source
sudo /bin/rm -f /etc/apt/sources.list.d/rb24.list
# Create a new debian repository source file
sudo echo 'deb https://apt.rb24.com/ rpi-stable main' > /etc/apt/sources.list.d/rb24.list
Now update:
sudo apt-get update
-
Hello abcd456,
I tested your instruction and it leads to an error message if sudo echo 'deb https://apt.rb24.com/ rpi-stable main' > /etc/apt/sources.list.d/rb24.list
e]
is executed.
Ingo
-
I tested your instruction and it leads to an error message if sudo echo 'deb https://apt.rb24.com/ rpi-stable main' > /etc/apt/sources.list.d/rb24.list
is executed.
Yes, I also found it, but couple of hours after posting.
This fails
pi@raspberrypi:~ $ sudo echo 'deb https://apt.rb24.com/ rpi-stable main' > /etc/apt/sources.list.d/rb24.list
bash: /etc/apt/sources.list.d/rb24.list: Permission denied
It is a permission issue and requires user root.
This works
#First switch from user pi to user root
pi@raspberrypi:~ $ sudo -i
root@raspberrypi:~#
#Now give the command which was failing
root@raspberrypi:~# echo 'deb https://apt.rb24.com/ rpi-stable main' > /etc/apt/sources.list.d/rb24.list
#EXIT user root and back to user pi
#DO NOT stay in root for more than necessary
root@raspberrypi:~# su pi
pi@raspberrypi:/root $ cd
pi@raspberrypi:~ $
Check if the above command has created the file "rb24.list"
pi@raspberrypi:~ $ ls -l /etc/apt/sources.list.d/
total 8
-rw-r--r-- 1 root root 195 Nov 28 21:36 raspi.list
-rw-r--r-- 1 root root 42 Apr 2 09:33 rb24.list
Check it has written line 'deb https:// apt.rb24.com/ rpi-stable main' to the file 'rb24.list'
pi@raspberrypi:~ $ cat /etc/apt/sources.list.d/rb24.list
deb https://apt.rb24.com/ rpi-stable main
Now try update
sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian stretch InRelease
Hit:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease
Hit:3 https://apt.rb24.com rpi-stable InRelease
Reading package lists... Done