Errors During Update via SSH (1.3 OLED)

General support for the Pi-Star System
Post Reply
kg5ify
Posts: 1
Joined: Mon May 15, 2023 12:38 am

Errors During Update via SSH (1.3 OLED)

Post by kg5ify »

Brand new 1.3 OLED from HRO. I attempted to update and received the below transcript via SSH. Is there a big problem?

pi-star@pi-star(rw):~$ sudo pistar-update
Updating OS...

Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 http://httpredir.debian.org/debian buster-backports InRelease
Reading package lists... Done
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily un
available)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another
process using it?
Done
Checking nginx config
Stopping Services...
Done
Updating DV Binaries...
No updates for /usr/local/bin available
Done
Updating Pi-Star Binaries...
Updating /usr/local/sbin...
remote: Enumerating objects: 73, done.
remote: Counting objects: 100% (73/73), done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 73 (delta 42), reused 62 (delta 35), pack-reused 0
error: unable to create temporary file: Read-only file system
fatal: failed to write object
fatal: unpack-objects failed
error: cannot open /usr/local/sbin/.git/FETCH_HEAD: Read-only file system
rm: cannot remove '/usr/local/sbin/pistar-upnp.service': Read-only file system
Updates were not successfull, reverting to Pi-Star original files...
fatal: Unable to create '/usr/local/sbin/.git/index.lock': Read-only file system
Done
Updating Hostfiles...
Done
Updating Dashboard...
Updating /var/www/dashboard...
error: cannot open /var/www/dashboard/.git/FETCH_HEAD: Read-only file system
Updates were not successfull, reverting to Pi-Star original files...
fatal: Unable to create '/var/www/dashboard/.git/index.lock': Read-only file system
Done
Updating PiStar-Firewall...

sed: couldn't open temporary file /etc/sed83CbGF: Read-only file system
sed: couldn't open temporary file /etc/sedPReA6J: Read-only file system
sed: couldn't open temporary file /etc/sedo574HO: Read-only file system
Updating P25Gateway config...
/usr/local/sbin/pistar-update: line 314: /etc/p25gateway: Read-only file system
sed: couldn't open temporary file /etc/sedAJIMck: Read-only file system
Done
Starting Services...
Done
Updates complete, syncing disk cache before making the disk Read-Only
Finished
KN2TOD
Posts: 269
Joined: Sun Nov 11, 2018 6:36 pm

Re: Errors During Update via SSH (1.3 OLED)

Post by KN2TOD »

It happens from time to time. Not fatal. Try running it again. But avoid running it around quarter after the hour - that's when a lot of hourly processes run that can interfere with the update process.
Post Reply