aria2 will be installed
rpicam and nodered installed
but aria2 not installed.
i am sure i do a clean install dietpi for many times, and only aria2 will not install via the dietpi.txt
@msongz
Thanks for the report ๐
I'll open for investigations.
Please can you paste the 1st run install logs:
cat /var/tmp/dietpi/logs/dietpi-firstrun-setup.log
sorry for the delay.
also, the timezone I set on dietpi.txt: AUTO_SETUP_TIMEZONE=Asia/Hong Kong
would not take effect.
@msongz
Thanks ๐
Appears invalid index was used in dietpi.txt
Invalid value 1322. No changes applied.
Please verify the index is 132 in dietpi.txt
Asia/Hong_Kong is the correct entry (_ for space). Please use that in dietpi.txt:
Current default time zone: 'Asia/Hong_Kong'
Local time is now: Tue Aug 28 03:39:52 HKT 2018.
Universal Time is now: Mon Aug 27 19:39:52 UTC 2018.
@Fourdee
thanks for the correct timezone entry~
but it is weird that the index I set in dietpi.txt is 132, not 1322.
https://github.com/msongz/dietpi-script/blob/7f8f637a7e5ec32d76a94cae14f850d7d0eec456/songz-dietpi.txt#L86
Found the issue I think. The "2" from "# Aria2" is taken as well. We need to scrape the values differently to ignore trailing comments.
awk '{print $1}' | sed ...
or value=${value##[[:blank:]]*}
or unallow comments within the same line.
โฌ: Jep, currently it is:
"$(grep '^[[:blank:]]*AUTO_SETUP_INSTALL_SOFTWARE_ID=' /DietPi/dietpi.txt | sed 's/[^0-9]*//g')"
@MichaIng
Legend ๐ ๐ฅ
I'll go with awk for today ๐
root@DietPi:~# grep '^[[:blank:]]*AUTO_SETUP_INSTALL_SOFTWARE_ID=' /DietPi/dietpi.txt | sed 's/[^0-9]*//g'
232123
74111
44341
root@DietPi:~# grep '^[[:blank:]]*AUTO_SETUP_INSTALL_SOFTWARE_ID=' /DietPi/dietpi.txt | awk '{print $1}' | sed 's/[^0-9]*//g'
23
74
44
@MichaIng
Great find on fix ๐
@msongz
Thanks for reporting, fixed in v6.15 update ๐ eta this weekend (ish)
Most helpful comment
Found the issue I think. The "2" from "# Aria2" is taken as well. We need to scrape the values differently to ignore trailing comments.
awk '{print $1}' | sed ...or
value=${value##[[:blank:]]*}or unallow comments within the same line.
โฌ: Jep, currently it is:
"$(grep '^[[:blank:]]*AUTO_SETUP_INSTALL_SOFTWARE_ID=' /DietPi/dietpi.txt | sed 's/[^0-9]*//g')"