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

Title: Apt-get Update errors
Post 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
Title: Re: Apt-get Update errors
Post by: Runway 31 on March 31, 2018, 06:12:26 PM
Have a read of this http://www.airnavsystems.com/forum/index.php?topic=10201.0

Alan
Title: Re: Apt-get Update errors
Post by: abcd567 on March 31, 2018, 09:31:04 PM
@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.

.
Title: Re: Apt-get Update errors
Post by: Wingedwraith on April 01, 2018, 09:18:40 AM
@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
Title: Re: Apt-get Update errors
Post by: abcd567 on April 01, 2018, 10:36:49 PM
@Wingedwraith

Try this:

Code: [Select]
# 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:

Code: [Select]
sudo apt-get update
Title: Re: Apt-get Update errors
Post by: neroon79 on April 02, 2018, 07:16:28 AM
Hello abcd456,

I tested your instruction and it leads to an error message if
Quote
Code: [Select]
sudo echo 'deb https://apt.rb24.com/ rpi-stable main' > /etc/apt/sources.list.d/rb24.liste]
is executed.

Ingo
Title: Re: Apt-get Update errors
Post by: abcd567 on April 02, 2018, 01:52:24 PM
I tested your instruction and it leads to an error message if
Code: [Select]
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
Code: [Select]
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
Code: [Select]
#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"
Code: [Select]
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'
Code: [Select]
pi@raspberrypi:~ $ cat /etc/apt/sources.list.d/rb24.list
deb https://apt.rb24.com/ rpi-stable main

Now try update
Code: [Select]
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