ALL:
What I’ve found is a formatting error in the /etc/config/qpkg.conf
Not sure which apps, but some write out the qpkg.conf WITHOUT writing the extra NEWLINE at the end of the block.
It makes for a mess in the config.
PLEASE STAY at 1.40.5 until I figure out how to handle this AND fix existing broken ones.
Methods I’ve been able to use so far:
QuTS -
- QuTS Hero – Install 5.1.8 firmware (downgrade from 5.2.0)
- Install PMS 1.45.0
- If PMS does not reappear in app center , please call out to me and I’ll help craft it manually. (I’ll remote as needed)
QTS
- I’m on 5.1.7 firmware with 1.45.0 and then upgraded. No faults.
I’ve not been able to definitively determine if QTS or QPKG.
I know what has to be done but I’m not yet figured out how.
HELP WELCOMED 
I need to insert a newline before and after the selected block.
This is the command
grep NVIDIA_GPU_DRV /etc/config/qpkg.conf 1>/dev/null 2>/dev/null && \
sed -i '/\[PlexMediaServer\]/,/FW_Ver_Min[^$]*$/{H;d};$g' /etc/config/qpkg.conf
I need to select the block, copy then cut the block, go to eof, insert newline, paste the buffer, append newline.