#136 opkg upgrade base-files fails on TP-Link TL-WR1043ND v4

Open
opened 1 month ago by TMakarios · 4 comments

libreCMC v1.5.2 r501+69-19b1d5de8b / LuCI branch (git-20.216.62123-9f91ff6)

Upgrading base-files on root from 204.2-r501+69-19b1d5de8b to 204.2-r576-b91cc1a3...
Downloading https://librecmc.org/librecmc/downloads/snapshots/v1.5.2/targets/ath79/generic/packages/base-files_204.2-r576-b91cc1a3_mips_24kc.ipk
umount: devpts busy - remounted read-only
umount: tmpfs busy - remounted read-only
umount: can't remount tmpfs read-only
umount: proc busy - remounted read-only
Collected errors:
 * copy_file: unable to open `/etc/group-opkg.backup': Read-only file system.
 * file_copy: Failed to copy file /etc/group to /etc/group-opkg.backup.
 * backup_make_backup: Failed to copy /etc/group to /etc/group-opkg.backup
 * pkg_write_filelist: Failed to open //usr/lib/opkg/info/base-files.list: Read-only file system.

This leaves things mounted read-only, too, which breaks other things until a reboot or other manual intervention.

libreCMC v1.5.2 r501+69-19b1d5de8b / LuCI branch (git-20.216.62123-9f91ff6) ``` Upgrading base-files on root from 204.2-r501+69-19b1d5de8b to 204.2-r576-b91cc1a3... Downloading https://librecmc.org/librecmc/downloads/snapshots/v1.5.2/targets/ath79/generic/packages/base-files_204.2-r576-b91cc1a3_mips_24kc.ipk umount: devpts busy - remounted read-only umount: tmpfs busy - remounted read-only umount: can't remount tmpfs read-only umount: proc busy - remounted read-only Collected errors: * copy_file: unable to open `/etc/group-opkg.backup': Read-only file system. * file_copy: Failed to copy file /etc/group to /etc/group-opkg.backup. * backup_make_backup: Failed to copy /etc/group to /etc/group-opkg.backup * pkg_write_filelist: Failed to open //usr/lib/opkg/info/base-files.list: Read-only file system. ``` This leaves things mounted read-only, too, which breaks other things until a reboot or other manual intervention.
RISCI_ATOM commented 1 month ago
Collaborator

The package feed has been fixed. Reboot the router and try again.

The package feed has been fixed. Reboot the router and try again.
TMakarios commented 1 month ago
Poster

After rebooting and running opkg update, I get no output from opkg list-upgradable. Is that what you were expecting?

After rebooting and running `opkg update`, I get no output from `opkg list-upgradable`. Is that what you were expecting?
RISCI_ATOM commented 1 month ago
Collaborator

Updates to curl,mbedtls,tor,wireguard and a few other packages were made.

Updates to `curl`,`mbedtls`,`tor`,`wireguard` and a few other packages were made.
TMakarios commented 1 month ago
Poster

Just before I filed this bug, I successfully installed upgrades to a bunch of luci* packages (e.g., luci-ssl went from git-20.216.62123-9f91ff6-1 to git-20.220.55738-b91cc1a-1). I haven't upgraded any packages since then. In particular, I haven't seen an upgrade to libmbedtls12 (which is at 2.16.7-1). I don't have curl, tor, or wireguard installed (though it's offering me versions 7.66.0-3, 0.4.3.6-1, and 1.0.20200729-1, respectively).

I guess my question now is: Should I have got an upgrade to base-files (now at 204.2-r501+69-19b1d5de8b) at any stage, or should my router have never been offering me an upgrade to that package?

Just before I filed this bug, I successfully installed upgrades to a bunch of `luci*` packages (e.g., `luci-ssl` went from `git-20.216.62123-9f91ff6-1` to `git-20.220.55738-b91cc1a-1`). I haven't upgraded any packages since then. In particular, I haven't seen an upgrade to `libmbedtls12` (which is at `2.16.7-1`). I don't have `curl`, `tor`, or `wireguard` installed (though it's offering me versions `7.66.0-3`, `0.4.3.6-1`, and `1.0.20200729-1`, respectively). I guess my question now is: Should I have got an upgrade to `base-files` (now at `204.2-r501+69-19b1d5de8b`) at any stage, or should my router have never been offering me an upgrade to that package?
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.