Error while applying configuration

When I applied configuration to my station, I got the following output. Is it something I needs to do something about?

The following packages were automatically installed and are no longer required:
  libpython-all-dev libpython-dev libpython2-dev libpython2.7-dev python-all
  python2-dev python2.7-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  python-all-dev python-dev
0 upgraded, 0 newly installed, 2 to remove and 5 not upgraded.
After this operation, 21.5 kB disk space will be freed.
(Reading database ... 79180 files and directories currently installed.)
Removing python-all-dev (2.7.16-1) ...
Removing python-dev (2.7.16-1) ...
Processing triggers for man-db (2.8.5-2) ...

  localhost done
Get virtualenv Python version...
Check for virtualenv with no access to global site-packages...
Remove virtualenv...
Create virtualenv...
Install or remove PyPI dependencies...
Install satnogs-client...
Install satnogs-client configuration...
Add satnogs-client systemd service...
Use tmpfs for state directory...
Start satnogs-client service...
Add archive repositories keys...
Remove jessie backports repository...
Pin packages...
Check if libgnuradio-satnogs is installed...
Uninstall gr-satnogs...
Install packages...
Blacklist SDR modules...
Unload SDR modules...
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: IOError: [Errno 2] No such file or directory: '/lib/modules/4.19.75-v7l+/modules.builtin'
  localhost failed | msg: [Errno 2] No such file or directory: '/lib/modules/4.19.75-v7l+/modules.builtin'
  localhost failed
Restart satnogs-client service (via handler)...

- Play recap -
  localhost                  : ok=37   changed=3    unreachable=0    failed=1    rescued=0    ignored=0
Press enter to continue...
1 Like

What version are you running? Jessie is quite old.

I’m not sure it will help, but you could try:

apt-get -f install
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libpython-all-dev libpython-dev libpython2-dev libpython2.7-dev python-all python2-dev python2.7-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Sorry, I should have mentioned more about my system. I’m running the official satnogs Raspberry Pi image as of Jan this year.

cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

I have no idea why the satonogs script is doing Remove jessie backports repository on my system.

1 Like

Which kernel are you running? I have this on my Pi:

pi@cruftpi3:~ $ ls -lh /lib/modules/4.19.75-v7l+/modules.builtin
-rw-r--r-- 1 root root 12K Oct 11 06:31 /lib/modules/4.19.75-v7l+/modules.builtin
pi@cruftpi3:~ $ dpkg -S /lib/modules/4.19.75-v7l+/modules.builtin
raspberrypi-kernel: /lib/modules/4.19.75-v7l+/modules.builtin
$ uname -r
4.19.75-v7l+

$ ls -ldh /lib/modules/*
drwxr-xr-x 3 root root 4.0K Feb 10 10:23 /lib/modules/4.19.97+
drwxr-xr-x 3 root root 4.0K Feb 10 10:23 /lib/modules/4.19.97-v7+
drwxr-xr-x 3 root root 4.0K Feb 10 10:23 /lib/modules/4.19.97-v7l+
drwxr-xr-x 3 root root 4.0K Feb 10 10:23 /lib/modules/4.19.97-v8+

My guess is that the system has not rebooted since last kernel upgrade, which gets the script a bit confused?

1 Like

Indeed just the case. Rebooting the system will allow the new kernel to run and the script will find the needed modules.

1 Like