As I am connected to Wi-Fi I can understand if this cannot be completed, is there a way to download the packages manually and then install them in a script when the box reboots?
ls /var/cache/apt/archives/libglib2.0-0* /var/cache/apt/archives/wpasupplicant*
You should see an output for both files.
3. create the script:
nano ~/update_script.sh
Creates the script in home directory of root.
Content of the script:
#!/bin/bash
# Install the downloaded packages
dpkg -i /var/cache/apt/archives/libglib2.0-0*.deb
dpkg -i /var/cache/apt/archages/wpasupplicant*.deb
# Remove the script from the crontab
(crontab -l | grep -v 'update_script.sh') | crontab -
# Delete the script
rm -- "$0"
Save and close nano.
4. Make it executable
chmod +x ~/update_script.sh
5. Add it to crontab
crontab -e
Add the line:
@reboot /root/update_script.sh
6. reboot
reboot
To test the part with the script, crontab and reboot, you could just create a dummy script which creates a file somewhere or something similiar you can verify.