On my Seagate Dockstar on debian linux-4.15.2-kirkwood-tld-1-bodhi.tar.bz2 and whenever I do apt install <software package> as root, apt always spits out some error messages as shown below. The software package installed OK, but those error messages indicate root has no access to modify and/or delete the intended files. Has anyone encountered such a problem and can offer to fix this?
[root@debian:/home/local/PEOPLE/debian 3%] # apt install less Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: less 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 122 kB of archives. After this operation, 267 kB of additional disk space will be used. Get:1 http://ftp.us.debian.org/debian stretch/main armel less armel 481-2.1 [122 kB] Fetched 122 kB in 0s (648 kB/s) Selecting previously unselected package less. (Reading database ... 12695 files and directories currently installed.) Preparing to unpack .../less_481-2.1_armel.deb ... Unpacking less (481-2.1) ... Setting up less (481-2.1) ... Processing triggers for man-db (2.7.6.1-2) ... /usr/bin/mandb: can't chmod /var/cache/man/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/zh_CN/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/zh_CN/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/zh_CN/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/da/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/da/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/da/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/hu/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/hu/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/hu/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/fr/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/fr/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/fr/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/pt_BR/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/pt_BR/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/pt_BR/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/ja/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/ja/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/ja/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/pl/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/pl/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/pl/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/it/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/it/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/it/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/zh_TW/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/zh_TW/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/zh_TW/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/tr/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/tr/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/tr/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/pt/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/pt/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/pt/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/sv/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/sv/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/sv/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/cs/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/cs/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/cs/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/sl/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/sl/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/sl/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/nl/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/nl/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/nl/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/ko/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/ko/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/ko/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/de/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/de/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/de/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/ru/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/ru/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/ru/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/id/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/id/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/id/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/fi/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/fi/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/fi/1652: Permission denied /usr/bin/mandb: can't chmod /var/cache/man/es/CACHEDIR.TAG: Operation not permitted /usr/bin/mandb: can't remove /var/cache/man/es/CACHEDIR.TAG: Permission denied /usr/bin/mandb: fopen /var/cache/man/es/1652: Permission denied 10.027u+1.446s=0:44.39e(25.8%) TDSavg=0k+0k+0k max=65200k 169088+53624io 83pf+0sw [root@debian:/home/local/PEOPLE/debian 4%] #