MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.89k stars 498 forks source link

dietpi_update problem #6889

Open nyko100 opened 9 months ago

nyko100 commented 9 months ago

Creating a bug report/issue

Required Information

G_DIETPI_VERSION_CORE=8 G_DIETPI_VERSION_SUB=7 G_DIETPI_VERSION_RC=1 G_GITBRANCH='master' G_GITOWNER='MichaIng' G_LIVE_PATCH_STATUS[0]='not applicable'

Additional Information (if applicable)

805cb436-6fdd-45eb-9220-2e791f8773a8

Steps to reproduce

  1. sudo /boot/dietpi/func/dietpi-set_hardware enableipv6 enable (as explained in thread https://github.com/MichaIng/DietPi/issues/5731)

  2. sudo dietpi-update

Expected behaviour

updating the system

Actual behaviour


Extra details

Details:

--- 2620:fe::fe ping statistics --- 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Joulinar commented 9 months ago

Seems like IPv6 is not correctly working. Did you already tried to disable IPv6?

nyko100 commented 9 months ago

I disabled ipv6 with

su root
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6

now dietpi-update runs. But this seems not to be the proper way to update. This problem came up approx. 2 month ago, before dietpi-update ran without any problems.

Joulinar commented 9 months ago

now dietpi-update runs. But this seems not to be the proper way to update

It is the correct way if your system doesn't have a valid IPv6 address.

This problem came up approx. 2 month ago, before dietpi-update ran without any problems

This statement somehow does not match the DietPi source version v8.7.1 as stated above. Version 8.7.1 is over 1.5 years old.

nyko100 commented 9 months ago

ok, maybe the last update was made more than 2 months ago, don't know. At least now the update script is running. Thanks for your help

nyko100 commented 9 months ago

-> It is the correct way if your system doesn't have a valid IPv6 address.

good to know, thanks

Joulinar commented 9 months ago

It is the correct way if your system doesn't have a valid IPv6 address.

Disable IPv6 if not present. This is what you did now.