anything
AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: Apt-get Update errors  (Read 7309 times)

0 Members and 1 Guest are viewing this topic.

Wingedwraith

  • New Member
  • *
  • Posts: 4
Apt-get Update errors
« 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

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 33510
Re: Apt-get Update errors
« Reply #1 on: March 31, 2018, 06:12:26 PM »

abcd567

  • Hero Member
  • *****
  • Posts: 842
  • CYYZ - Toronto
Re: Apt-get Update errors
« Reply #2 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

Once the Radarbox24's rbfeeder has been installed successfully, dont worry about warning that if its GPG key is not authenticated.

.

Wingedwraith

  • New Member
  • *
  • Posts: 4
Re: Apt-get Update errors
« Reply #3 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

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

abcd567

  • Hero Member
  • *****
  • Posts: 842
  • CYYZ - Toronto
Re: Apt-get Update errors
« Reply #4 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

neroon79

  • Hero Member
  • *****
  • Posts: 4657
Re: Apt-get Update errors
« Reply #5 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
« Last Edit: April 02, 2018, 09:19:36 AM by neroon79 »
Greetings from northern Germany, Ingo
11.75nm ESE of EDDV

SW: ANRB v5.00.072/6.01.001 on WIN10 64Bit Pro&Home
HW:
Ant.: DPD Productions ADS-B Vertical Outdoor Base Antenna
AMP: Kuhne electr. KU LNA 1090 A TM
Cable: 25m of ECOFLEX 15+
NB: Asus P53E 24/7 op.
PC: 28"4K + 24" Monitor
AirSpy mini @RPi3

abcd567

  • Hero Member
  • *****
  • Posts: 842
  • CYYZ - Toronto
Re: Apt-get Update errors
« Reply #6 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


« Last Edit: April 02, 2018, 02:14:02 PM by abcd567 »