[OUTDATED] Repository https://abcd567a.github.io/ppa/piaware error 404 - Cannot update

Hi all,
I’ve got PiAware running on top of a standard Raspbian Lite build, built around 2 weeks ago.

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian

Since this morning, the repository https://abcd567a.github.io/ppa/piaware is spitting a 404 error, as you can see from the apt update below:

pi@raspberrypi:~ $ sudo apt update
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Ign:3 https://abcd567a.github.io/ppa/piaware ./ InRelease
Err:4 https://abcd567a.github.io/ppa/piaware ./ Release
  404  Not Found [IP: 185.199.111.153 443]
Reading package lists... Done
E: The repository 'https://abcd567a.github.io/ppa/piaware ./ Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

This means that my PiAware cannot be updated. Is this a temporary 404 or has the repository been moved somewhere else/deleted?
Thank you.

That repository is not the official one, but created by user @abcd567 for getting Piaware running on newer versions.

You will need to wait for his response

Hi,
got the same problem and tried to tweak my raspi’s ppa using https://github.com/abcd567a/ppa , to no avail.

@valemaio
@raoulduke881
@foxhunter

My repository did not provide upgrade, it was static, just a stop-gap arrangement till official packages are released by Flightaware. Because ver 6.1 is out-dated now, I have deleted that repository.

Those who have installed ver 6.1 packages from my PPA have 2 options:
(1) Wait for official release of ver 7.0 packages from Flightaware.
(2) Upgrade to “Unofficial” ver 7.0 packages which I have built and uploaded to new PPA I have created yesterday (please see method given below).

Please note that when Flightaware releases “Official” ver 7.0, you will need to delete my repository from your Pi by following command:
sudo rm /etc/apt/sources.list.d/abcd567a.list

After that, add Flightaware repository and “Official” packages by method given at https://flightaware.com/adsb/piaware/install

How To Install Piaware 7.0 armhf and arm64 Packages from my Personal Package Archive (PPA):

(1) Please note that first two commands are very long and may be wrapped by forum into two lines. Copy these in full

(2) Please dont copy $ at start of command. It is put there to indicates start of a new command. Any line NOT starting with $ is actually continuation of the line immediately above it

$ sudo wget -O - https://raw.githubusercontent.com/abcd567a/ppa/main/KEY.gpg | sudo apt-key add -

$ sudo wget -O /etc/apt/sources.list.d/abcd567a.list https://raw.githubusercontent.com/abcd567a/ppa/main/abcd567a.list

$ sudo apt update

$ sudo apt install piaware

$ sudo apt install dump1090-fa

$ sudo apt install piaware-web

$ sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

$ sudo reboot

 

Additional steps if you have already installed (or want to install) dump978-fa

$ sudo apt install dump978-fa

$ sudo piaware-config uat-receiver-type sdr

Serialize Dongles to 8-digit serial numbers 00001090 and 00000978
Configure dump1090-fa & dump978-fa to use the dongles with above serial numbers

$ sudo sed -i 's/^RECEIVER_SERIAL=.*/RECEIVER_SERIAL=00001090/' /etc/default/dump1090-fa

$ sudo sed -i 's/driver=rtlsdr[^ ]* /driver=rtlsdr,serial=00000978 /' /etc/default/dump978-fa

$ sudo reboot

 

NOTE:
If you decide to install the unofficial version now, then please replace these by official packages when these are made available by Flightaware here:

https://flightaware.com/adsb/piaware/install

When installing official version, dont forget to first delete my repository from your Pi’s apt sources list by following command:

sudo rm /etc/apt/sources.list.d/abcd567a.list

sudo apt update

 

2 Likes

amd that’s what i’ll probably do, even though your 6.1 “bullseye porting” works like a charm.
Thanks anyway for the prompt and kind reply.

1 Like

 

Good decision.
When installing official packages from Flightaware, dont forget to delete my repository from your Pi’s apt sources list by following command:

sudo rm /etc/apt/sources.list.d/abcd567a.list

 

1 Like

Thank you @abcd567 for your quick reply. For now, what I’ve done is just removing your 6.1 repository with

sudo rm /etc/apt/sources.list.d/abcd567a.list

Then I’ve added your 7.0 repository and updated with:

This is because I’ve literally just put my Pi under the roof, and didn’t fancy taking it out again, formatting and reinstalling from zero. This is working for me, I can update normally and it seems to have updated PiAware to version 7.0
If someone else tries that too, please make sure to backup your microSD first, I don’t want to be responsible of any loss of data.

1 Like

Whether you are using

32-bit Raspi OS Bullseye (armhf / armv7l)
OR
64-bit Raspi OS Bullseye (arm64 / aarch64),

the method described in this post above will install right type of packages, as the apt is quiet smart to find what is your OS and architecture, and will install right type of packages and dependencies.

I tried your instructions but got errors saying your security certificate is from the future. My clock is set correctly. Tried a reboot and then ran the commands again and got the same results…

pi@raspberrypi:~ $ sudo apt update
Get:2 Index of /debian bullseye InRelease [23.5 kB]
Get:3 Index of /raspbian bullseye InRelease [15.0 kB]
Get:1 https://raw.githubusercontent.com/abcd567a/ppa/main ./ InRelease [2,115 B]
Reading package lists… Done
E: Release file for http://archive.raspberrypi.org/debian/dists/bullseye/InRelease is not valid yet (invalid for another 53d 5h 0min 26s). Updates for this repository will not be applied.
E: Release file for http://raspbian.raspberrypi.org/raspbian/dists/bullseye/InRelease is not valid yet (invalid for another 63d 22h 13min 36s). Updates for this repository will not be applied.
E: Release file for https://raw.githubusercontent.com/abcd567a/ppa/main/./InRelease is not valid yet (invalid for another 58d 12h 46min 42s). Updates for this repository will not be applied.
pi@raspberrypi:~ $ sudo apt install piaware
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package piaware
pi@raspberrypi:~ $ sudo wget -O - https://raw.githubusercontent.com/abcd567a/ppa/main/KEY.gpg | sudo apt-key add -
–2021-10-30 13:20:03-- https://raw.githubusercontent.com/abcd567a/ppa/main/KEY.gpg
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
185.199.111.133, 185.199.108.133, 185.199.110.133, …
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 3126 (3.1K) [text/plain]
Saving to: ‘STDOUT’

  •                    100%[================================>]   3.05K  --.-KB/s    in 0.003s  
    

2021-10-30 13:20:08 (984 KB/s) - written to stdout [3126/3126]

gpg: key B01BAA0113EC976D was created 58 days in the future (time warp or clock problem)
gpg: key B01BAA0113EC976D was created 58 days in the future (time warp or clock problem)
gpg: key B01BAA0113EC976D was created 58 days in the future (time warp or clock problem)
gpg: key B01BAA0113EC976D was created 58 days in the future (time warp or clock problem)
gpg: key B01BAA0113EC976D was created 58 days in the future (time warp or clock problem)
gpg: key B01BAA0113EC976D was created 58 days in the future (time warp or clock problem)
gpg: key B01BAA0113EC976D was created 58 days in the future (time warp or clock problem)
gpg: key B01BAA0113EC976D was created 58 days in the future (time warp or clock problem)
OK
pi@raspberrypi:~ $ sudo wget -O /etc/apt/sources.list.d/abcd567a.list https://raw.githubusercontent.com/abcd567a/ppa/main/abcd567a.list
–2021-10-30 13:20:42-- https://raw.githubusercontent.com/abcd567a/ppa/main/abcd567a.list
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 185.199.111.133, 185.199.108.133, 185.199.110.133, …
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 59 [text/plain]
Saving to: ‘/etc/apt/sources.list.d/abcd567a.list’

/etc/apt/sources.list.d/ 100%[================================>] 59 --.-KB/s in 0s

2021-10-30 13:20:44 (730 KB/s) - ‘/etc/apt/sources.list.d/abcd567a.list’ saved [59/59]

pi@raspberrypi:~ $ sudo apt update
Get:1 Index of /debian bullseye InRelease [23.5 kB]
Get:2 https://raw.githubusercontent.com/abcd567a/ppa/main ./ InRelease [2,115 B]
Get:3 Index of /raspbian bullseye InRelease [15.0 kB]
Reading package lists… Done
E: Release file for https://raw.githubusercontent.com/abcd567a/ppa/main/./InRelease is not valid yet (invalid for another 58d 12h 43min 50s). Updates for this repository will not be applied.
E: Release file for http://archive.raspberrypi.org/debian/dists/bullseye/InRelease is not valid yet (invalid for another 53d 4h 57min 34s). Updates for this repository will not be applied.
E: Release file for http://raspbian.raspberrypi.org/raspbian/dists/bullseye/InRelease is not valid yet (invalid for another 63d 22h 10min 43s). Updates for this repository will not be applied.
pi@raspberrypi:~ $ sudo apt install piaware
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package piaware
pi@raspberrypi:~ $

@cbdagency

Please check date setting of your RPi

I just now ran these commands, and they work ok

pi@raspberrypi:~ $ date
Sun  2 Jan 15:26:13 GMT 2022

 

 

 

The date on your Pi is off. It states 2021-10-30 , today is 2022 01-02

OK, thankyou. I got further this time but with some errors at the end after install piaware command, as follows. Does this look correct?

pi@raspberrypi:~ $ sudo date -s “02 JAN 2022 15:48:00”
Sun 02 Jan 2022 15:48:00 WET
pi@raspberrypi:~ $ sudo wget -O - https://raw.githubusercontent.com/abcd567a/ppa/main/KEY.gpg | sudo apt-key add -
–2022-01-02 15:48:14-- https://raw.githubusercontent.com/abcd567a/ppa/main/KEY.gpg
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
185.199.111.133, 185.199.110.133, 185.199.108.133, …
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 3126 (3.1K) [text/plain]
Saving to: ‘STDOUT’

  •                    100%[================================>]   3.05K  3.84KB/s    in 0.8s    
    

2022-01-02 15:48:21 (3.84 KB/s) - written to stdout [3126/3126]

OK
pi@raspberrypi:~ $ sudo wget -O /etc/apt/sources.list.d/abcd567a.list https://raw.githubusercontent.com/abcd567a/ppa/main/abcd567a.list
–2022-01-02 15:48:40-- https://raw.githubusercontent.com/abcd567a/ppa/main/abcd567a.list
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 185.199.111.133, 185.199.108.133, 185.199.110.133, …
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 59 [text/plain]
Saving to: ‘/etc/apt/sources.list.d/abcd567a.list’

/etc/apt/sources.list.d/ 100%[================================>] 59 --.-KB/s in 0s

2022-01-02 15:48:41 (768 KB/s) - ‘/etc/apt/sources.list.d/abcd567a.list’ saved [59/59]

pi@raspberrypi:~ $ sudo apt update
Get:1 Index of /raspbian bullseye InRelease [15.0 kB]
Get:3 Index of /debian bullseye InRelease [23.5 kB]
Get:2 https://raw.githubusercontent.com/abcd567a/ppa/main ./ InRelease [2,115 B]
Get:5 Index of /raspbian bullseye/main armhf Packages [13.2 MB]
Get:4 https://raw.githubusercontent.com/abcd567a/ppa/main ./ Packages [2,163 B]
Get:6 Index of /debian bullseye/main armhf Packages [243 kB]
Fetched 13.5 MB in 3min 7s (72.3 kB/s)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
118 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
N: Repository ‘Index of /debian bullseye InRelease’ changed its ‘Suite’ value from ‘unstable’ to ‘stable’
pi@raspberrypi:~ $ sudo apt install piaware
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following additional packages will be installed:
itcl3 tcl tcl-tls tcl8.6 tcllib tclx8.4
Suggested packages:
itcl3-doc dump1090-fa dump978-fa tcl-tclreadline tcllib-critcl tclx8.4-doc
The following NEW packages will be installed:
itcl3 piaware tcl tcl-tls tcl8.6 tcllib tclx8.4
0 upgraded, 7 newly installed, 0 to remove and 118 not upgraded.
Need to get 8,458 kB of archives.
After this operation, 40.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.cica.es/mirrors/Linux/raspbian/raspbian bullseye/main armhf itcl3 armhf 3.4.3-3.1 [44.9 kB]
Get:2 Index of /raspbian bullseye/main armhf tcl8.6 armhf 8.6.11+dfsg-1 [123 kB]
Get:3 Index of /raspbian bullseye/main armhf tcl armhf 8.6.11+1 [5,788 B]
Get:4 http://ftp.cica.es/mirrors/Linux/raspbian/raspbian bullseye/main armhf tcl-tls armhf 1.7.22-2 [72.6 kB]
Get:5 Index of /raspbian bullseye/main armhf tcllib all 1.20+dfsg-1 [4,492 kB]
Get:7 https://raw.githubusercontent.com/abcd567a/ppa/main ./ piaware 7.0 [3,636 kB]
Err:5 Index of /raspbian bullseye/main armhf tcllib all 1.20+dfsg-1
Connection timed out [IP: 150.214.5.134 80]
Get:6 http://ftp.cica.es/mirrors/Linux/raspbian/raspbian bullseye/main armhf tclx8.4 armhf 8.4.1-4 [83.2 kB]
Err:7 https://raw.githubusercontent.com/abcd567a/ppa/main ./ piaware 7.0
Connection timed out [IP: 185.199.108.133 443]
Err:6 http://ftp.cica.es/mirrors/Linux/raspbian/raspbian bullseye/main armhf tclx8.4 armhf 8.4.1-4
Connection timed out [IP: 150.214.5.134 80]
Fetched 247 kB in 1min 47s (2,303 B/s)
E: Failed to fetch http://ftp.cica.es/mirrors/Linux/raspbian/raspbian/pool/main/t/tcllib/tcllib_1.20+dfsg-1_all.deb Connection timed out [IP: 150.214.5.134 80]
E: Failed to fetch http://ftp.cica.es/mirrors/Linux/raspbian/raspbian/pool/main/t/tclx8.4/tclx8.4_8.4.1-4_armhf.deb Connection timed out [IP: 150.214.5.134 80]
E: Failed to fetch https://raw.githubusercontent.com/abcd567a/ppa/main/piaware_7.0_armhf.deb Connection timed out [IP: 185.199.108.133 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

It seems you either have broken packages, an old repository that’s not available anymore, or both. Try running:

sudo apt update --fix-missing

and see if you still get an error at the end of the apt command.

Thank you. It found some missing files so downloaded and am upgrading presently. Taking a while. Fingers crossed

What happened?
Did you succeed?

If succeeded, you will get following:

 

image

 

If the problem persists, it seems to be caused by following repository entry in your file
/etc/apt/sources.list (or in one of the files in directory /etc/apt/sources.list.d/)

deb http://ftp.cica.es/mirrors/Linux/raspbian/raspbian/pool/main/

 

Yes that all worked and the commands you mentioned above gave the results you hoped for. Thankyou! Maybe the wifi was interupted during my initial attempts so have moved the pi closer and it worked.

Setting the feeder ID didnt seem to work. First tried this

pi@raspberrypi:~ $ sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
sudo: piaware-config: command not found

Then tried with my actual feeder ID instead of the xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx but got the same result.

Any ideas?

I then did the prescribed sudo reboot anyway, and tried the IP of the piaware but got this<

PiAware doesn’t appear to be running!

PiAware Version:
Dump1090-fa Version:
Dump978-fa Version:

CPU Temperature: C
CPU Load: %
System Uptime:

That goes to show piaware did NOT got installed.
What is output of following command?

apt-cache policy piaware

try this command:

sudo apt install --reinstall piaware

 

After above command completes its run, issue following command, and post its output:

apt-cache policy piaware

 

OK. Thanks. I ran it…

pi@raspberrypi:~ $ sudo apt install --reinstall piaware
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following package was automatically installed and is no longer required:
python-is-python2
Use ‘sudo apt autoremove’ to remove it.
The following additional packages will be installed:
itcl3 tcl tcl-tls tcl8.6 tcllib tclx8.4
Suggested packages:
itcl3-doc dump978-fa tcl-tclreadline tcllib-critcl tclx8.4-doc
The following NEW packages will be installed:
itcl3 piaware tcl tcl-tls tcl8.6 tcllib tclx8.4
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,211 kB/8,458 kB of archives.
After this operation, 40.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://raw.githubusercontent.com/abcd567a/ppa/main ./ piaware 7.0 [3,636 kB]
Get:2 Index of /raspbian bullseye/main armhf tcllib all 1.20+dfsg-1 [4,492 kB]
Get:3 Index of /mirrors/Linux/raspbian/raspbian/ bullseye/main armhf tclx8.4 armhf 8.4.1-4 [83.2 kB]
Fetched 6,715 kB in 25s (267 kB/s)
Selecting previously unselected package itcl3:armhf.
(Reading database … 174882 files and directories currently installed.)
Preparing to unpack …/0-itcl3_3.4.3-3.1_armhf.deb …
Unpacking itcl3:armhf (3.4.3-3.1) …
Selecting previously unselected package tcl8.6.
Preparing to unpack …/1-tcl8.6_8.6.11+dfsg-1_armhf.deb …
Unpacking tcl8.6 (8.6.11+dfsg-1) …
Selecting previously unselected package tcl.
Preparing to unpack …/2-tcl_8.6.11+1_armhf.deb …
Unpacking tcl (8.6.11+1) …
Selecting previously unselected package tcl-tls:armhf.
Preparing to unpack …/3-tcl-tls_1.7.22-2_armhf.deb …
Unpacking tcl-tls:armhf (1.7.22-2) …
Selecting previously unselected package tcllib.
Preparing to unpack …/4-tcllib_1.20+dfsg-1_all.deb …
Unpacking tcllib (1.20+dfsg-1) …
Selecting previously unselected package tclx8.4.
Preparing to unpack …/5-tclx8.4_8.4.1-4_armhf.deb …
Unpacking tclx8.4 (8.4.1-4) …
Selecting previously unselected package piaware.
Preparing to unpack …/6-piaware_7.0_armhf.deb …
Unpacking piaware (7.0) …
Setting up tcl8.6 (8.6.11+dfsg-1) …
Setting up itcl3:armhf (3.4.3-3.1) …
Setting up tcl-tls:armhf (1.7.22-2) …
Setting up tcl (8.6.11+1) …
Setting up tcllib (1.20+dfsg-1) …
Setting up tclx8.4 (8.4.1-4) …
Setting up piaware (7.0) …
Created symlink /etc/systemd/system/default.target.wants/piaware.service → /lib
/systemd/system/piaware.service.
Created symlink /etc/systemd/system/piaware.service.wants/generate-pirehose-cert
.service → /lib/systemd/system/generate-pirehose-cert.service.
Processing triggers for rsyslog (8.2102.0-2) …
Processing triggers for man-db (2.9.4-2) …
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) …
pi@raspberrypi:~ $ apt-cache policy piaware
piaware:
Installed: 7.0
Candidate: 7.0
Version table:
*** 7.0 500
500 https://raw.githubusercontent.com/abcd567a/ppa/main ./ Packages
100 /var/lib/dpkg/status
pi@raspberrypi:~ $

Look OK?

I checked the PiAware’s IP and it said

PiAware Version: 7.0
Dump1090-fa Version: dump1090-fa 7.0
Dump978-fa Version: N/A

CPU Temperature: 53.1 C
CPU Load: 6%
System Uptime: 0 hours 35 minutes

So I ran the feeder ID command and it worked!

ADSBx and FR24 are also now working

Thank you soooooo much!