Latest update from 0.9(1) to 0.9(2) fails every time on all 3 Pi boxes. Fails at point ‘Updating Dependency List…’
Unable to do direct download and reflash cards either as latest download available is 0.9(0)
Any ideas?
Thanks
Latest update from 0.9(1) to 0.9(2) fails every time on all 3 Pi boxes. Fails at point ‘Updating Dependency List…’
Unable to do direct download and reflash cards either as latest download available is 0.9(0)
Any ideas?
Thanks
Can you send your logs to us via the advanced settings settings after a failed upgraded so we can see what might be going on?
Sure. Let me work out how I do that Tried again on all 3 Pis and exactly the same
If you go into settings. In the Advanced tab there is a button to “send logs to astroprint”.
Sent logs from one Pi failed update. Can send for all 3 if you like. 2 of them are Pi 2s and 1 is a latest Pi 3.
Still failing. Any update on what I can do to update my boxes?
Thanks
The log says that one of the items is unable to install. I just tried to replicate your problem and I couldn’t. This might have been a temporary error or a card corruption issue. Would you be able to try using a different SD Card?
Thanks Daniel. I’ve tried on all 3 of my Pi’s running Astroprint 0.9(1) and they are all using genuine Sandisk 16GB SD cards. Can you point me to the direct download and I will simply do a fresh install on each?
Thanks
We don’t yet have an image for 0.9(2) but what I just tried is to do a fresh flash of 0.9(0) from here: https://www.astroprint.com/downloads
then update to 0.9(2). Let me know if that works for you
Worked reflashing to 0.9(0) then updating 0.9(2) but a bit long winded so hope things get sorted and I can update the other 2 directly. Thanks.
@Neil at the moment I’m not sure there’s anything else to be sorted out. We have not received any other reports of this happening and our tests didn’t show this error.
Yeah, seeing the same thing here. Always dies in the same spot:
2016-07-12 01:24:25,034 - astroprint.software - INFO - Update progress item 13 of 15
2016-07-12 01:24:25,078 - astroprint.software - INFO - Update progress item 14 of 15
2016-07-12 01:26:10,664 - astroprint.software - INFO - Update progress item 14 of 16
2016-07-12 01:26:12,055 - astroprint.software - ERROR - There was a problem with update package:
installArchives() failed
Tried the typical restart astro services and also reboot and retry, but always dies with the above error.
If there is a way to get a more verbose debug output, I’d be happy to retest.
Looked at software.py and found the exception was raised during the apt cache update. So attempted it manually with an sudo apt-get update
and sudo apt-get upgrade
and found I had an unmet dependencies error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
expect : Depends: tcl8.5 (>= 8.5.0) but it is not installed
libexpat1-dev : Depends: libexpat1 (= 2.1.0-6+deb8u1) but 2.1.0-6+deb8u2 is installed
tightvncserver : Depends: x11-utils but it is not installed
Recommends: x11-xserver-utils but it is not installed
xfonts-base : Depends: xfonts-utils (>= 1:7.5+2) but it is not installed
E: Unmet dependencies. Try using -f.
I issued the apt-get -f install
and then attempted the AstroBox upgrade again and it worked fine.
The only thing I have installed on top of the AstroBox image is MyDevices Cayenne (https://cayenne.mydevices.com/). Would be interested to know if @Neil is using Cayenne too.
Hope that helps.
Sorry all, been tied up with other things.
I can confirm I am indeed using Cayenne for monitoring the Pis so guess Mark has found the problem. Guess I either need to remove Cayenne or do fresh installs. Great detective work Mark
@Neil you can also correct the unmet dependencies the way @Mark explains above. Just one thing don’t do apt-get upgrade
or dist-upgrade
because that typically upgrades the kernel and our WiFi driver will not work. Unless you don’t use the WiFi dongle.
@Neil, just do the sudo apt-get update
and the apt-get -f install
and then attempt your AstroBox upgrade again.
All done. Thank you both. Very much appreciated.