[LEDE-DEV] newbie opkg upgrading questions..

B. Cook bsdwebsol at gmail.com
Sun Jan 1 19:30:46 PST 2017


This worked for me the last time, but now - not so much..

opkg list-upgradable | cut -f1 -d\ | xargs opkg upgrade

root at wzr-ag300h:~# df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                    61.2M      1.1M     60.1M   2% /tmp
overlayfs:/overlay       28.4M      2.6M     25.9M   9% /
tmpfs                   512.0K         0    512.0K   0% /dev

root at wzr-ag300h:~# mount
proc on /proc type proc (ro,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
overlayfs:/overlay on / type overlay
(ro,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (ro,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (ro,relatime,mode=600)

The error is the same with all.. Just showing one.

opkg upgrade luci-theme-bootstrap
Upgrading luci-theme-bootstrap on root from git-16.363.68908-f12fdba-1
to git-17.001.43128-3366c25-1...
Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/luci-theme-bootstrap_git-17.001.43128-3366c25-1_all.ipk.
Collected errors:
 * wfopen: //usr/lib/opkg/info/luci-theme-bootstrap.control: Read-only
file system.
 * wfopen: //usr/lib/opkg/info/luci-theme-bootstrap.postinst:
Read-only file system.
 * wfopen: //usr/lib/opkg/info/luci-theme-bootstrap.postinst-pkg:
Read-only file system.
 * wfopen: //usr/lib/opkg/info/luci-theme-bootstrap.prerm: Read-only
file system.
 * wfopen: /etc/uci-defaults/30_luci-theme-bootstrap: Read-only file system.
 * wfopen: /usr/lib/lua/luci/view/themes/bootstrap/footer.htm:
Read-only file system.
 * wfopen: /usr/lib/lua/luci/view/themes/bootstrap/header.htm:
Read-only file system.
 * wfopen: /www/luci-static/bootstrap/cascade.css: Read-only file system.
 * wfopen: /www/luci-static/bootstrap/favicon.ico: Read-only file system.
 * wfopen: /www/luci-static/bootstrap/html5.js: Read-only file system.
 * wfopen: /www/luci-static/bootstrap/mobile.css: Read-only file system.
 * pkg_write_filelist: Failed to open
//usr/lib/opkg/info/luci-theme-bootstrap.list: Read-only file system.
 * opkg_install_pkg: Failed to extract data files for
luci-theme-bootstrap. Package debris may remain!
 * pkg_write_filelist: Failed to open
//usr/lib/opkg/info/luci-theme-bootstrap.list: Read-only file system.

root at wzr-ag300h:~# df -h /usr/
Filesystem                Size      Used Available Use% Mounted on
overlayfs:/overlay       28.4M      2.6M     25.9M   9% /

 mount | grep overlay
overlayfs:/overlay on / type overlay
(ro,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)

My son is doing 'homework' currently, which involves much cursing and
keyboard mashing :P so I can not reboot the unit.

Is that all I need to do? (and if so, how come? what did I do wrong?
either now or before..)

root at wzr-ag300h:~# uptime
 22:29:19 up 5 days,  1:10,  load average: 0.00, 0.00, 0.00

root at wzr-ag300h:~# uname -a
Linux wzr-ag300h 4.4.39 #0 Sat Dec 24 13:55:45 2016 mips GNU/Linux

Should I have left something useful please let me know.

Thanks in advance.



More information about the Lede-dev mailing list