even
luci-i18n-base-*
luci-i18n-firewall-*
?
even
luci-i18n-base-*
luci-i18n-firewall-*
?
Like Mnlipp said, I do this may years too.
opkg list-upgradable | cut -d ‘ ‘ -f 1 | xargs opkg upgrade
even libfile.

everytime I reboot my router, it works fine for me.
The point with warnings about blind package mass-upgrades is that it is possible to arrive into a locked situation, where some of the dependencies of the core packages are unfulfilled. Some of the packages require exact binary compatibility (via ABI checking), and that can be accidentally broken, especially if some of the few core libraries (e.g. uci, ubus, libubox, lua, libnl-tiny and libjson-c) have been updated recently.
In general, upgrading simple packages that you have installed by yourself, is more safe than trying to upgrade "all possible". But if they have ABI dependencies to those few key packages, you are at risk.
You might read this thread from opkg times, and is still valid for apk, too. (It may be even more valid for apk, as its concept of "world" may cause apk to try to remove/change packages even more aggressively than opkg.)
How does one set up apk to use a proxy ? opkg had /etc/opkg.conf, where one could enter:
option https_proxy http://so.me.na.me ![]()
I have several devices that do not have direct internet access and need to go through a proxy. Of course I can set this when I login via ssh, but that doesn't really help much.
Have you tried the "standard" environment variables? I think I've seen mention of this in the apk man pages somewhere.
export http_proxy=http://blah.blah
export https_proxy=http://blah.blah
Hi everyone. How can i look for all files (configs, scripts), that was installed by some package? Do apk have options to do this?
According to the man pages it should be apk list -L packagename
Use apk query --fields contents <pkg>, like this:
$ apk query nmap --fields 'contents'
Contents:
lib/apk/packages/nmap.list
usr/bin/nmap
usr/share/nmap/nmap-mac-prefixes
usr/share/nmap/nmap-os-db
usr/share/nmap/nmap-protocols
usr/share/nmap/nmap-rpc
usr/share/nmap/nmap-service-probes
usr/share/nmap/nmap-services
usr/share/nmap/nmap.dtd
usr/share/nmap/nmap.xsl
EDIT
To figure out the valid entries for the --field option, use --format yaml --fields all, and you can pick them out of the output.
$ apk query --format yaml --fields all '*' | awk '/^ [^ ]*:/ {print $1}' | sort -u
arch:
contents:
depends:
description:
download-url:
file-size:
installed-size:
license:
maintainer:
name:
origin:
provider-priority:
provides:
repositories:
reverse-depends:
reverse-install-if:
scripts:
status:
tags:
url:
version:
Note that not all packages use all fields, for example provider-priority is relatively rare, only existing on a handful of packages that are in a family of packages providing variations - like uclient-fetch, wget-nossl and wget-ssl all providing wget.
$ apk query \
--format yaml \
--fields name,provides,provider-priority \
--match provides 'wget-any'
# 3 items
- name: uclient-fetch
provider-priority: 100
provides: # 2 items
- uclient-fetch-any
- wget-any
- name: wget-nossl
provides: # 3 items
- wget=1.25.0-r5
- wget-any
- wget-nossl-any
- name: wget-ssl
provides: # 3 items
- wget=1.25.0-r5
- wget-any
- wget-ssl-any