Can't update from v7.12 (VirtualBox VM)

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Thornhat
Posts: 2
Joined: Mon Jun 28, 2021 6:46 am

Can't update from v7.12 (VirtualBox VM)

Post by Thornhat »

I'm running an instance of Dietpi in a Virtualbox VM. Updates to v7.12 ran fine, but I keep getting a error when trying to upgrade to a newer version.

My Linux knowledge is minimal so I'm not sure how to fix. Looks like an error when reading the package lists (see image below). Is there a quick way to fix or should I just download the latest image file and start over?

Thanks!

Image
User avatar
Joulinar
Posts: 5716
Joined: Sat Nov 16, 2019 12:49 am

Re: Can't update from v7.12 (VirtualBox VM)

Post by Joulinar »

Hi,

your system time is not in sync. Pls try to update your system time as follow

Code: Select all

/boot/dietpi/func/run_ntpd 1
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Thornhat
Posts: 2
Joined: Mon Jun 28, 2021 6:46 am

Re: Can't update from v7.12 (VirtualBox VM)

Post by Thornhat »

Ran that command and I get "OK - Network Time Sync - Complete". Error still the same though. Any other suggestions?
User avatar
Joulinar
Posts: 5716
Joined: Sat Nov 16, 2019 12:49 am

Re: Can't update from v7.12 (VirtualBox VM)

Post by Joulinar »

well the error message is clearly showing a time difference of a couple of days. Ensure correct settings.

Check your system time again using date command. It should display actual time and date

Try to clean the cache and retry the apt update

Code: Select all

/boot/dietpi/func/dietpi-set_software apt-cache clean
apt update
apt upgrade
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply