Page 1 of 1

Firmware upgrade failure

Posted: Fri Aug 04, 2017 10:55 pm
by graebi
Hi all,
I hope somebody can help me in regards to the firmware upgrade failure.

At this point in time, my virtual machine (Eve-NG) runs the firmware v2.0.3-60.
I followed the upgrade procedure as described here:
A:run those commands:
apt-get update
apt-get upgrade

IMPORTANT: after update your EVE VM, do reboot your EVE VM and CLEAR browser cache and refresh browser with F5.
http://www.eve-ng.net/index.php/faq

When I got asked the question during the upgrade process "Configuration file '/etc/issue'" -> I selected the default option (default = N).

After the reboot of the virtual machine, I am login on again and run the command apt-get install unetlab to verify the new firmware.
The firmware is still the same (v2.0.3-60). When I run again the commands "apt-get update + apt-get upgrade the following message appears:
The following packages have been kept back:
eve-ng libgl1-mesa-dri linux-headers-generic linux-headers-virtual linux-image-virtual linux-virtual (6 not upgraded).

While upgrading the firmware, I was logged on as root.

Any help would be much appreciated.

Thorsten

Re: Firmware upgrade failure

Posted: Fri Aug 04, 2017 11:05 pm
by Chris929
I think your boot disk is full - have you tried apt-autoremove?

Re: Firmware upgrade failure

Posted: Fri Aug 04, 2017 11:08 pm
by graebi
Yes, I tried this, but still the same issue.

I have added in the past a 2nd disk. Here is the output of the command df -hT

Thanks

Re: Firmware upgrade failure

Posted: Fri Aug 04, 2017 11:27 pm
by Uldis (UD)
After apt autoremove run again

apt-get update
apt-get upgrade

Re: Firmware upgrade failure

Posted: Sat Aug 05, 2017 8:34 am
by Chris929
Have you tried "apt-get dist-upgrade"?
This forces the Device to install the packages even when some dependencies are missing.
However - make a Backup first ;)

Re: Firmware upgrade failure

Posted: Sun Aug 06, 2017 10:43 am
by graebi
Uldis (UD) wrote:
Fri Aug 04, 2017 11:27 pm
After apt autoremove run again

apt-get update
apt-get upgrade
I tried apt autoremove and run again apt-get update + apt-get upgrade. The issue remains.

Re: Firmware upgrade failure

Posted: Sun Aug 06, 2017 10:45 am
by graebi
Chris929 wrote:
Sat Aug 05, 2017 8:34 am
Have you tried "apt-get dist-upgrade"?
This forces the Device to install the packages even when some dependencies are missing.
However - make a Backup first ;)
Thanks to Chris929 the upgrade finaly worked without any issue.

To solve the issue I did following:
- backup of VM
- run the command "apt-get dist-upgrade"
- reboot system
- apt-get update + apt-get upgrade

Thank you guys for the quick support, much appreciated.

Re: Firmware upgrade failure

Posted: Mon Aug 07, 2017 10:09 pm
by Chris929
Glad it worked :)