Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge v2.5 #358

Merged
merged 134 commits into from
Jan 30, 2024
Merged

Merge v2.5 #358

merged 134 commits into from
Jan 30, 2024

Conversation

Stefal
Copy link
Owner

@Stefal Stefal commented Jan 24, 2024

Merge v2.5 to the main branch

TODO

Check upgrade with Raspberry Pi image:

  • 2.4.1 (bullseye) to 2.5
  • 2.3.1 to 2.5
  • 2.2.0 (buster) to 2.5
  • 2.1 (buster) to 2.5
  • 1.1.0 to 2.5

Check upgrade with Orange Pi Zero image:

  • 2.4.1 (bullseye) to 2.5
  • 2.4.0 (bullseye) to 2.5
  • 2.3.4 (bullseye) to 2.5

@Stefal
Copy link
Owner Author

Stefal commented Jan 24, 2024

Upgrading to 2.5 from a Raspberry Pi image v2.2 failed during the dependencies installation:

Jan 24 23:06:08 basegnss python3[2384]: ################################
Jan 24 23:06:08 basegnss python3[2384]: INSTALLING DEPENDENCIES
Jan 24 23:06:08 basegnss python3[2384]: ################################
Jan 24 23:06:08 basegnss python3[2384]: Get:1 http://httpredir.debian.org/debian buster-backports InRelease [51.4 kB]
Jan 24 23:06:08 basegnss python3[2384]: Get:3 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Jan 24 23:06:08 basegnss python3[2384]: Err:1 http://httpredir.debian.org/debian buster-backports InRelease
Jan 24 23:06:08 basegnss python3[2384]:   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
Jan 24 23:06:09 basegnss run_cast.sh[2311]: 2024/01/24 22:06:28 [CC---]     608180 B   25931 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Jan 24 23:06:11 basegnss run_cast.sh[2490]: 2024/01/24 22:06:30 [CC---]     111724 B   25069 bps (0) localhost (1) caster.centipede.fr/EMOTST2
Jan 24 23:06:14 basegnss run_cast.sh[2311]: 2024/01/24 22:06:33 [CC---]     624800 B   26709 bps (0) /dev/ttyACM0 (1) 127.0.0.1
Jan 24 23:06:15 basegnss python3[2384]: Reading package lists...
Jan 24 23:06:15 basegnss python3[2384]: W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://httpredir.debian.org/debian buster-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
Jan 24 23:06:15 basegnss python3[2384]: E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldoldstable'
Jan 24 23:06:15 basegnss python3[2384]: E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldoldstable'
Jan 24 23:06:15 basegnss systemd[1]: Stopping RTKBase Tcp...
Jan 24 23:06:15 basegnss systemd[1]: Stopping RTKBase Ntrip A...
Jan 24 23:06:15 basegnss run_cast.sh[2490]: stream server stop
Jan 24 23:06:15 basegnss systemd[1]: str2str_ntrip_A.service: Succeeded.
Jan 24 23:06:15 basegnss run_cast.sh[2311]: stream server stop
Jan 24 23:06:15 basegnss systemd[1]: Stopped RTKBase Ntrip A.
Jan 24 23:06:15 basegnss systemd[1]: str2str_tcp.service: Succeeded.
Jan 24 23:06:15 basegnss systemd[1]: Stopped RTKBase Tcp.
Jan 24 23:06:15 basegnss python3[2384]: user for RTKBase is:  basegnss
Jan 24 23:06:15 basegnss python3[2384]: ################################
Jan 24 23:06:15 basegnss python3[2384]: INSTALLING RTKLIB
Jan 24 23:06:15 basegnss python3[2384]: ################################
Jan 24 23:06:15 basegnss python3[2384]: Copying new rtklib binary for  Raspberry Pi  -  armv7l

If I relaunch manually the dependencies installation I got:

################################
INSTALLING DEPENDENCIES
################################
Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:3 http://httpredir.debian.org/debian buster-backports InRelease [51.4 kB]
Err:3 http://httpredir.debian.org/debian buster-backports InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
Reading package lists... Done
E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldoldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldoldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://httpredir.debian.org/debian buster-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131

the script exit with exit code 1

The solution is to add --allow-releaseinfo-change to the apt-get update command.
Fixed with c304c51

@Stefal
Copy link
Owner Author

Stefal commented Jan 25, 2024

Upgrading to 2.5 from a Raspberry Pi image v2.1 failed during the dependencies installation:

After the failed upgrade, apt-get update outputs that I need to run sudo dpkg --configure -a
But it didn't work, I end up with some error on missing dependencies for python3.7-dev

basegnss@basegnss:/var/tmp/rtkbase $ sudo dpkg --configure -a
Setting up systemd (241-7~deb10u9+rpi1) ...
Failed to try-restart systemd-timesyncd.service: Unit systemd-timesyncd.service is masked.
dpkg: dependency problems prevent configuration of python3.7-dev:
 python3.7-dev depends on python3.7 (= 3.7.3-2+deb10u6); however:
  Version of python3.7 on system is 3.7.3-2+deb10u1.
 python3.7-dev depends on libpython3.7-dev (= 3.7.3-2+deb10u6); however:
  Package libpython3.7-dev:armhf is not installed.
 python3.7-dev depends on libpython3.7 (= 3.7.3-2+deb10u6); however:
  Version of libpython3.7:armhf on system is 3.7.3-2+deb10u1.

dpkg: error processing package python3.7-dev (--configure):
 dependency problems - leaving unconfigured
Setting up libpam-systemd:armhf (241-7~deb10u9+rpi1) ...
Setting up libsystemd-dev:armhf (241-7~deb10u9+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.16-1) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Errors were encountered while processing:
 python3.7-dev

But running sudo apt-get --fix-broken install fixed it:

basegnss@basegnss:/var/tmp/rtkbase $ sudo apt-get --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib python3.7 python3.7-minimal
Suggested packages:
  python3.7-venv python3.7-doc binfmt-support
The following packages will be upgraded:
  libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib python3.7 python3.7-minimal
6 upgraded, 0 newly installed, 0 to remove and 182 not upgraded.
2 not fully installed or removed.
Need to get 0 B/52.5 MB of archives.
After this operation, 82.9 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

@Stefal
Copy link
Owner Author

Stefal commented Jan 27, 2024

upgrade from 2.1 validated with f08fbce

Copy link
Owner Author

@Stefal Stefal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@Stefal Stefal merged commit 12c49b1 into master Jan 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant