SO I just tried your code and got the following:
root@R7800:/$ cd /mnt/sda1
root@R7800:/tmp/mnt/sda1$ tar cf ./backup/entware.tar
tar:
Cowardly refusing to create an empty archive
Try 'tar --help' or 'tar --usage' for more information.
Huh?
root@R7800:/tmp/mnt/sda1$ /opt/bin/opkg update
Downloading
http://www.voxel-firmware.com/Downloads/Voxel/Entware/Entware-3x-Voxel/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
root@R7800:/tmp/mnt/sda1$ /opt/bin/opkg upgrade
Upgrading libc on root from 2.26-9 to 2.27-9...
Downloading
http://www.voxel-firmware.com/Downloads/Voxel/Entware/Entware-3x-Voxel/libc_2.27-9_cortex-a15-3x.ipk
Removing obsolete file /opt/lib/libc-2.26.so.
Removing obsolete file /opt/lib/libnss_dns-2.26.so.
Removing obsolete file /opt/lib/libresolv-2.26.so.
Removing obsolete file /opt/lib/libdl-2.26.so.
Removing obsolete file /opt/lib/ld-2.26.so.
Removing obsolete file /opt/lib/libutil-2.26.so.
Removing obsolete file /opt/lib/libnsl-2.26.so.
Removing obsolete file /opt/lib/libm-2.26.so.
Removing obsolete file /opt/lib/libcrypt-2.26.so.
Removing obsolete file /opt/lib/libcidn-2.26.so.
Removing obsolete file /opt/lib/libanl-2.26.so.
Removing obsolete file /opt/lib/libnss_files-2.26.so.
Upgrading netdata on root from 1.19.0-1 to 1.20.0-1...
Downloading
http://www.voxel-firmware.com/Downl...e-3x-Voxel/netdata_1.20.0-1_cortex-a15-3x.ipk
Installing libuv (1.32.0-1) to root...
Downloading
http://www.voxel-firmware.com/Downl...are-3x-Voxel/libuv_1.32.0-1_cortex-a15-3x.ipk
Removing obsolete file /opt/etc/netdata/node.d/.keep.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/phpfpm.conf.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/squid.conf.
Removing obsolete file /opt/lib/netdata/charts.d/nginx.chart.sh.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/tomcat.conf.
Removing obsolete file /opt/lib/netdata/charts.d/phpfpm.chart.sh.
Removing obsolete file /opt/etc/netdata/health.d/.keep.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/mem_apps.conf.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/cpufreq.conf.
Removing obsolete file /opt/lib/netdata/python.d/unbound.chart.py.
Removing obsolete file /opt/etc/netdata/python.d/.keep.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/apache.conf.
Removing obsolete file /opt/lib/netdata/charts.d/apache.chart.sh.
Removing obsolete file /opt/lib/netdata/charts.d/mysql.chart.sh.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/hddtemp.conf.
Removing obsolete file /opt/lib/netdata/charts.d/exim.chart.sh.
Removing obsolete file /opt/lib/netdata/charts.d/cpu_apps.chart.sh.
Removing obsolete file /opt/etc/netdata/statsd.d/.keep.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/nginx.conf.
Removing obsolete file /opt/lib/netdata/charts.d/load_average.chart.sh.
Removing obsolete file /opt/lib/netdata/charts.d/cpufreq.chart.sh.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/postfix.conf.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/mysql.conf.
Removing obsolete file /opt/lib/netdata/charts.d/hddtemp.chart.sh.
Removing obsolete file /opt/lib/netdata/charts.d/squid.chart.sh.
Removing obsolete file /opt/lib/netdata/charts.d/postfix.chart.sh.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/cpu_apps.conf.
Removing obsolete file /opt/lib/netdata/conf.d/python.d/unbound.conf.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/load_average.conf.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/exim.conf.
Removing obsolete file /opt/lib/netdata/charts.d/mem_apps.chart.sh.
Removing obsolete file /opt/lib/netdata/charts.d/tomcat.chart.sh.
Removing obsolete file /opt/etc/netdata/charts.d/.keep.
Not deleting modified conffile /opt/etc/netdata/node.d/.keep.
Not deleting modified conffile /opt/etc/netdata/health.d/.keep.
Not deleting modified conffile /opt/etc/netdata/python.d/.keep.
Not deleting modified conffile /opt/etc/netdata/statsd.d/.keep.
Not deleting modified conffile /opt/etc/netdata/charts.d/.keep.
Upgrading locales on root from 2.26-8 to 2.27-8...
Downloading
http://www.voxel-firmware.com/Downl...are-3x-Voxel/locales_2.27-8_cortex-a15-3x.ipk
/opt/tmp/opkg-kNubzi/locales-Nt7mxG/preinst: /opt/tmp/opkg-kNubzi/locales-Nt7mxG/preinst: 9: /opt/bin/locale.new: not found
Deleting locale-archive. It needs upgrade.
Upgrading libpthread on root from 2.26-9 to 2.27-9...
Downloading
http://www.voxel-firmware.com/Downl...-3x-Voxel/libpthread_2.27-9_cortex-a15-3x.ipk
Removing obsolete file /opt/lib/libpthread-2.26.so.
Upgrading librt on root from 2.26-9 to 2.27-9...
Downloading
http://www.voxel-firmware.com/Downl...tware-3x-Voxel/librt_2.27-9_cortex-a15-3x.ipk
Removing obsolete file /opt/lib/librt-2.26.so.
Upgrading entware-opt on root from 227000-3 to 227000-4...
Downloading
http://www.voxel-firmware.com/Downloads/Voxel/Entware/Entware-3x-Voxel/entware-opt_227000-4_all.ipk
Upgrading libopenssl on root from 1.1.1e-1 to 1.1.1f-1...
Downloading
http://www.voxel-firmware.com/Downl...x-Voxel/libopenssl_1.1.1f-1_cortex-a15-3x.ipk
Configuring libc.
Configuring libpthread.
Configuring librt.
Configuring libuv.
Configuring netdata.
Configuring locales.
Entware uses separate locale-archive file independent from main system
Creating locale archive - /opt/usr/lib/locale/locale-archive
Adding en_EN.UTF-8
Adding ru_RU.UTF-8
You can download locale sources from
http://bin.entware.net/other/i18n_glib227.tar.gz
You can add new locales to Entware using /opt/bin/localedef.new
Configuring libopenssl.
Configuring entware-opt.
Collected errors:
* file_sha256sum_alloc: Failed to open file /opt/etc/netdata/node.d/.keep: No such file or directory.
* file_sha256sum_alloc: Failed to open file /opt/etc/netdata/health.d/.keep: No such file or directory.
* file_sha256sum_alloc: Failed to open file /opt/etc/netdata/python.d/.keep: No such file or directory.
* file_sha256sum_alloc: Failed to open file /opt/etc/netdata/statsd.d/.keep: No such file or directory.
* file_sha256sum_alloc: Failed to open file /opt/etc/netdata/charts.d/.keep: No such file or directory.
Are these few failed to open items of any concern?
I did a reboot the the app is still working great. I guess those entries are no longer of any concern. Just checking.
Thanks for report. There were really significant problems with this... I mean glibc 2.26->2.27. I hope it is really fixed by me. I had to modify the very basic package (namely "toolchain"). Adding post-install script. You know, Entware consists of more than 2500 packages. I had to re-compile it three times (more than 4 hours of every compilation).
Anyway, it is important to have full backup of Entware. Before upgrading. Always. Something like
Code:
cd /mnt/sda1
tar cf ./backup/entware.tar
/opt/bin/opkg update
/opt/bin/opkg upgrade
Voxel.