Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
85
votes
7
answers
310204
views
How do I upgrade all of my installed packages in OpenWRT?
I'm just wondering what is the equivalent of apt-get upgrade apt upgrade yum update with OpenWRT or LEDE?
I'm just wondering what is the equivalent of
apt-get upgrade
apt upgrade
yum update
with OpenWRT or LEDE?
Evan Carroll
(34663 rep)
Oct 24, 2017, 09:39 PM
• Last activity: Jun 7, 2025, 06:55 AM
1
votes
1
answers
2300
views
OPKG : nothing provides requested
I have a custom Linux distro built with Yocto/Poky on branch thud. I'm using opkg as software to manage my packages updates on my embedded systems. I have hundreds of systems running and wanted to upgrade an important package on them (`my-custom-package`). On the vast majority of them, everything we...
I have a custom Linux distro built with Yocto/Poky on branch thud. I'm using opkg as software to manage my packages updates on my embedded systems. I have hundreds of systems running and wanted to upgrade an important package on them (
my-custom-package
). On the vast majority of them, everything went fine but on 4 systems I'm facing these errors :
root@hostname:~# opkg -v
opkg version 0.3.6 (libsolv 0.6.35)
root@hostname:~# opkg upgrade my-custom-package -V 2
opkg_conf_parse_file: Loading conf file /etc/opkg/arch.conf.
opkg_conf_parse_file: Supported arch all priority (1)
opkg_conf_parse_file: Supported arch any priority (6)
opkg_conf_parse_file: Supported arch noarch priority (11)
opkg_conf_parse_file: Supported arch armv5hf-vfp priority (16)
opkg_conf_parse_file: Supported arch armv5thf-vfp priority (21)
opkg_conf_parse_file: Supported arch armv5ehf-vfp priority (26)
opkg_conf_parse_file: Supported arch armv5tehf-vfp priority (31)
opkg_conf_parse_file: Supported arch armv6hf-vfp priority (36)
opkg_conf_parse_file: Supported arch armv6thf-vfp priority (41)
opkg_conf_parse_file: Supported arch armv7ahf-vfp priority (46)
opkg_conf_parse_file: Supported arch armv7at2hf-vfp priority (51)
opkg_conf_parse_file: Supported arch armv7ahf-neon priority (56)
opkg_conf_parse_file: Supported arch armv7at2hf-neon priority (61)
opkg_conf_parse_file: Supported arch cortexa9hf-vfp priority (66)
opkg_conf_parse_file: Supported arch cortexa9hf-neon priority (71)
opkg_conf_parse_file: Supported arch cortexa9t2hf-vfp priority (76)
opkg_conf_parse_file: Supported arch cortexa9t2hf-neon priority (81)
opkg_conf_parse_file: Supported arch cortexa9t2hf-neon-mx6sx priority (86)
opkg_conf_parse_file: Supported arch cortexa9hf-neon-mx6sx priority (91)
opkg_conf_parse_file: Supported arch udooneo priority (96)
opkg_conf_parse_file: Loading conf file /etc/opkg/opkg.conf.
pkg_hash_load_feeds:
pkg_hash_load_status_files:
pkg_info_preinstall_check: Updating file owner list.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
Collected errors:
* Solver encountered 3 problem(s):
* Problem 1/3:
* - nothing provides requested python3-core
*
* Solution 1:
* - do not ask to install a package providing python3-core
* Problem 2/3:
* - nothing provides requested python3-ctypes
*
* Solution 1:
* - do not ask to install a package providing python3-ctypes
* Problem 3/3:
* - nothing provides requested python3-mime
*
* Solution 1:
* - do not ask to install a package providing python3-mime
root@hostname:~# opkg info my-custom-package
Package: my-custom-package
Version: 3.2-r3
Depends: python3-core, python3-fcntl, python3-inotify-simple, python3-psutil, python3-pymonocypher, python3-pythonping, python3-requests, python3-simplejson, python3-websocket-client
Recommends: ca-certificates, gsm-tools, iw, update-rc.d
Status: unknown ok not-installed
Section: base
Architecture: cortexa9t2hf-neon
Maintainer:
MD5Sum: 883ef1ca5659cdd77a7947662daaa115
Size: 22252
Filename: my-custom-package_3.2-r3_cortexa9t2hf-neon.ipk
Source: my-custom-package_3.2.bb
Description: my-custom-package version 3.2-r3
Package: my-custom-package
Version: 2.1-r9
Depends: python-core, python-logging, python-psutil, python-requests, python-simplejson, python-subprocess, python-websocket-client
Recommends: ca-certificates, gsm-tools, iw, update-rc.d
Status: install ok installed
Architecture: cortexa9t2hf-neon
Installed-Size: 33328
Installed-Time: 1573829351
root@hostname:~# opkg install python3-core -V2
opkg_conf_parse_file: Loading conf file /etc/opkg/arch.conf.
opkg_conf_parse_file: Supported arch all priority (1)
opkg_conf_parse_file: Supported arch any priority (6)
opkg_conf_parse_file: Supported arch noarch priority (11)
opkg_conf_parse_file: Supported arch armv5hf-vfp priority (16)
opkg_conf_parse_file: Supported arch armv5thf-vfp priority (21)
opkg_conf_parse_file: Supported arch armv5ehf-vfp priority (26)
opkg_conf_parse_file: Supported arch armv5tehf-vfp priority (31)
opkg_conf_parse_file: Supported arch armv6hf-vfp priority (36)
opkg_conf_parse_file: Supported arch armv6thf-vfp priority (41)
opkg_conf_parse_file: Supported arch armv7ahf-vfp priority (46)
opkg_conf_parse_file: Supported arch armv7at2hf-vfp priority (51)
opkg_conf_parse_file: Supported arch armv7ahf-neon priority (56)
opkg_conf_parse_file: Supported arch armv7at2hf-neon priority (61)
opkg_conf_parse_file: Supported arch cortexa9hf-vfp priority (66)
opkg_conf_parse_file: Supported arch cortexa9hf-neon priority (71)
opkg_conf_parse_file: Supported arch cortexa9t2hf-vfp priority (76)
opkg_conf_parse_file: Supported arch cortexa9t2hf-neon priority (81)
opkg_conf_parse_file: Supported arch cortexa9t2hf-neon-mx6sx priority (86)
opkg_conf_parse_file: Supported arch cortexa9hf-neon-mx6sx priority (91)
opkg_conf_parse_file: Supported arch udooneo priority (96)
opkg_conf_parse_file: Loading conf file /etc/opkg/opkg.conf.
pkg_hash_load_feeds:
pkg_hash_load_status_files:
pkg_info_preinstall_check: Updating file owner list.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
Collected errors:
* Solver encountered 3 problem(s):
* Problem 1/3:
* - nothing provides requested python3-core
*
* Solution 1:
* - do not ask to install a package providing python3-core
* Problem 2/3:
* - nothing provides requested python3-ctypes
*
* Solution 1:
* - do not ask to install a package providing python3-ctypes
* Problem 3/3:
* - nothing provides requested python3-mime
*
* Solution 1:
* - do not ask to install a package providing python3-mime
root@hostname:~# opkg info python3-core
Package: python3-core
Version: 3.5.6-r1.0
Depends: libc6 (>= 2.28), libpython3.5m1.0 (>= 3.5.6), libreadline7 (>= 7.0), libz1 (>= 1.2.11)
Status: install ok not-installed
Section: devel/python
Architecture: cortexa9t2hf-neon
Maintainer:
MD5Sum: 6f56b22b7993c0cf351559a944abe0df
Size: 1027792
Filename: python3-core_3.5.6-r1.0_cortexa9t2hf-neon.ipk
Source: python3_3.5.6.bb
Description: Python interpreter and core modules
root@hostname:~# opkg info python3-mime
Package: python3-mime
Version: 3.5.6-r1.0
Depends: python3-core
Status: install ok not-installed
Section: devel/python
Architecture: cortexa9t2hf-neon
Maintainer:
MD5Sum: f9254dc437295edfa828ab8d68d9d5f8
Size: 10074
Filename: python3-mime_3.5.6-r1.0_cortexa9t2hf-neon.ipk
Source: python3_3.5.6.bb
Description: Python MIME handling APIs
root@hostname:~# opkg info python3-ctypes
Package: python3-ctypes
Version: 3.5.6-r1.0
Depends: libc6 (>= 2.28), libffi6 (>= 3.2.1), libpython3.5m1.0 (>= 3.5.6), python3-core
Status: install ok not-installed
Section: devel/python
Architecture: cortexa9t2hf-neon
Maintainer:
MD5Sum: 2667c24b23434635208177d03d6efcc6
Size: 67912
Filename: python3-ctypes_3.5.6-r1.0_cortexa9t2hf-neon.ipk
Source: python3_3.5.6.bb
Description: Python C types support
So my-custom-package
has several Python dependencies and opkg seems to not be able to find them. But when I run opkg info
on dependencies, I get a result and opkg finds the packet. I verified on my respository if the compressed packets to download were there and everything seems fine. Also one of my problematic embedded systems runs in the same bulding as others which were installed the same day (so come from same image, same compilation,...). I'm used to update packages with opkg from remote. I encountered this kind of issue just once about 6 months ago on a single system but, as it was an upgrade of a non critical package, I just ignored the issue.
I tried opkg clean
but no success. I've read the man page to look for some helping commands but none seems to have an effect.
EDIT:
Another interesting things:
root@hostname:~# opkg download python3-core
Downloading https://my-repository/ipks/v2/cortexa9t2hf-neon/python3-core_3.5.6-r1.0_cortexa9t2hf-neon.ipk .
Downloaded python3-core as python3-core_3.5.6-r1.0_cortexa9t2hf-neon.ipk.
So if I try to just download one of the packages opkg can't find, it works...
Also, a simple opkg list-upgradable
returns the same kind of errors:
root@hostname:~# opkg list-upgradable
Collected errors:
* Solver encountered 3 problem(s):
* Problem 1/3:
* - nothing provides requested python3-core
*
* Solution 1:
* - do not ask to install a package providing python3-core
* Problem 2/3:
* - nothing provides requested python3-ctypes
*
* Solution 1:
* - do not ask to install a package providing python3-ctypes
* Problem 3/3:
* - nothing provides requested python3-mime
*
* Solution 1:
* - do not ask to install a package providing python3-mime
`
Carton_
(21 rep)
May 5, 2020, 09:36 AM
• Last activity: May 17, 2025, 09:08 AM
1
votes
3
answers
9255
views
Search with opkg
Trying to search with opkg command in my Onion Omega system: opkg search vim opkg search v* Got nothing in output in all cases. What I do wrong?
Trying to search with opkg command in my Onion Omega system:
opkg search vim
opkg search v*
Got nothing in output in all cases. What I do wrong?
vico
(843 rep)
Jan 10, 2021, 02:17 PM
• Last activity: Feb 6, 2025, 09:41 PM
3
votes
1
answers
5617
views
How to get the version info of opkg package without installing it?
I want to write a script to check the version of a opkg package before installing it. I've done a lot of research and found a few answer on dpkg system but none on opkg system. I've tried `opkg info`, `opkg status`, `opkg list` but they all seem to work on installed packages, but not with `.opk` fil...
I want to write a script to check the version of a opkg package before installing it.
I've done a lot of research and found a few answer on dpkg system but none on opkg system.
I've tried
opkg info
, opkg status
, opkg list
but they all seem to work on installed packages, but not with .opk
files.
I can somehow get the information by opkg install file.opk --noaction
but it's very slow and the output could be hard to parse reliably because the test installation could fail for all different reasons.
And opkg compare-versions
only compares strings so no solution.
--------------------------
**Update:**
I thought more about this.
The opk package is basically a .tar.gz
file and version number is stored in one of the text files in it (in the CONTROL/control
file).
So to get the version info from the package, it's inevitable to decompress it, so it has to take some time.
Although a quick solution is to put the version number as part of the file name of the package then parse the name, but file name can be very easily altered.
My plan is to use a two-pass approach: 1) include version number as part of the package name and parse the package name to get a "not-very-trustable" version number; 2) if it looks good then do a "dry run" installation to get the real version number as is in the CONTROL/control
file. If it's also good then proceed to real installation.
One of the problems with this approach is that, it effectively doubled the amount of time to do a real installation: before a real installation can run a dry run is run first, which takes equal amount of time.
**Update 2:**
The above update is not entirely true because opk is an ar
archive that has two files in it debian-binary
control.tar.gz
data.tar.gz
, and version info is in control.tar.gz
.
So it's feasible to quickly extract control.tar.gz
from opk
then extract control
from control.tar.gz
, then get version number from there.
user3528438
(421 rep)
Mar 22, 2016, 11:32 PM
• Last activity: Jul 13, 2022, 10:07 PM
0
votes
0
answers
881
views
How does one install a python3 library in yocto/opkg?
Openembedded opkg packages for python contain pyc files. I looked at python3-dbus, and I do not see a post-install step. All python related files except the SO files are in /usr/lib/python3.8/site-packages/dbus. If I install the Python GPS source + the compiled pyc files into: /usr/lib/python3.8/sit...
Openembedded opkg packages for python contain pyc files. I looked at python3-dbus, and I do not see a post-install step. All python related files except the SO files are in /usr/lib/python3.8/site-packages/dbus.
If I install the Python GPS source + the compiled pyc files into:
/usr/lib/python3.8/site-packages/gps
/usr/lib/python3.8/site-packages/gps/__pycache__
If I then try to import the gps library I see:
>>> import gps
Traceback (most recent call last):
File "", line 1, in
File "/home/mtadm/gps/__init__.py", line 10, in
from .gps import *
File "/home/mtadm/gps/gps.py", line 23, in
from gpsclient import gpscommon, json_error, gpsjson, dictwrapper, GPSD_PORT
ModuleNotFoundError: No module named 'gpsclient'
Now if I compile one file in /usr/lib/python3.8/\_\_pycache\_\_ and copy it into place the problem goes away (the following copies one file from a tree of freshly compiled pyc files):
/tmp/python3.8/__pycache__$ sudo cp -a textwrap.cpython-38.pyc /usr/lib/python3.8/__pycache__/
Password:
ot0:/tmp/python3.8/__pycache__$ cd /
ot0:/$ python
Python 3.8.11 (default, Mar 9 2018, 12:34:56)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gps
>>>
I would hope there would be some other way to get the GPS library to work.
John Klug
(363 rep)
Apr 28, 2022, 09:32 PM
1
votes
1
answers
2532
views
Install brctl for OpenWrt - which package?
I'm getting an error in OpenWRT Attitude Adjustment that says: -ash: brctl: not found when I run brctl addif br-lan mesh0 I tried: opkg update opkg install brctl But I got this error: Unknown package brctl Is brctl in a larger package? If so, what package do I need to install use it? Also, for futur...
I'm getting an error in OpenWRT Attitude Adjustment that says:
-ash: brctl: not found
when I run
brctl addif br-lan mesh0
I tried:
opkg update
opkg install brctl
But I got this error:
Unknown package brctl
Is brctl in a larger package? If so, what package do I need to install use it?
Also, for future reference, is there a manual or something that lists what functions are in what packages?
Thanks!
user461262
(147 rep)
Jul 22, 2015, 07:42 PM
• Last activity: May 17, 2021, 12:00 PM
0
votes
1
answers
720
views
Open Wrt with nodogsplash
I am using OpenWrt in my TP_Link TL-WRD3600 router. I have already set up a hotspot plugin (Nodogsplash) on my router. Now I need to allow access to some website before authentication on the splash page. But I need to allow this website using its domain name, eg: `example.com`, because my splash pag...
I am using OpenWrt in my TP_Link TL-WRD3600 router. I have already set up a hotspot plugin (Nodogsplash) on my router. Now I need to allow access to some website before authentication on the splash page.
But I need to allow this website using its domain name, eg:
example.com
, because my splash page logs in to an external website.
FirewallRuleSet preauthenticated-users {
FirewallRule allow tcp port 80 to example.com
}
But clients are not allowed to navigate to this page before authentication has completed.
Ragesh Puthiyedath Raju
(117 rep)
Jul 8, 2015, 09:07 AM
• Last activity: Nov 18, 2018, 07:19 PM
20
votes
4
answers
41879
views
How to know disk space occupied by packages in OpenWrt?
I am trying to configure OpenWrt on my device and got out of space. I was downloading some tooling packages. Now how can I determine their weights so that decide what to uninstall? Is it possible to display the size of installed packages with OPKG?
I am trying to configure OpenWrt on my device and got out of space. I was downloading some tooling packages. Now how can I determine their weights so that decide what to uninstall?
Is it possible to display the size of installed packages with OPKG?
Suzan Cioc
(373 rep)
Sep 23, 2014, 05:00 PM
• Last activity: Jan 14, 2018, 03:11 PM
4
votes
1
answers
5619
views
How to install compiler tools with opkg on MIPS CPU architecture
I just bought a set top box (digital reciever - [Vu+ Solo2][1]) which runs Linux, and would like to compile some C software on it. It uses OPKG as the package manager. I executed opkg update and: root@vusolo2:~# opkg install gcc Unknown package 'gcc'. Collected errors: opkg_install_cmd: Cannot insta...
I just bought a set top box (digital reciever - Vu+ Solo2 ) which runs Linux, and would like to compile some C software on it. It uses OPKG as the package manager. I executed
opkg update
and:
root@vusolo2:~# opkg install gcc
Unknown package 'gcc'.
Collected errors:
opkg_install_cmd: Cannot install package gcc.
root@vusolo2:~#
I figured that this is because I do not have the necessary repositories. The files in
/etc/opkg/
only point to feeds/repositories
that are owned by the creators of the Linux image that the receiver is running (Black Hole ).
As far as I understood, the repositories need to match the CPU architecture. Here is the output of /proc/cpuinfo
:
root@vusolo2:~# cat /proc/cpuinfo
system type : BCM7346B2 STB platform
machine : Unknown
processor : 0
cpu model : Broadcom BMIPS5000 V1.1 FPU V0.1
BogoMIPS : 864.25 cpu MHz : 1305.007
wait instruction : yes
microsecond timers : yes
tlb_entries : 64
extra interrupt vector : yes
hardware watchpoint : no
isa : mips1 mips2 mips32r1
ASEs implemented :
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
processor : 1
cpu model : Broadcom BMIPS5000 V1.1 FPU V0.1
BogoMIPS : 655.36
cpu MHz : 1305.007
wait instruction : yes
microsecond timers : yes
tlb_entries : 64
extra interrupt vector : yes
hardware watchpoint : no
isa : mips1 mips2 mips32r1
ASEs implemented :
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
Now, which repositories should I use to get the following packages:
gcc
gcc-symlinks
make-dev
binutils-dev
libgcc-dev
?
Kenci
(183 rep)
Jan 18, 2016, 10:52 PM
• Last activity: Jan 13, 2018, 10:07 AM
0
votes
1
answers
6044
views
Changing repository in openwrt
I have a router flashed to run openwrt (BARRIER BREAKER (Bleeding Edge, r36234)) But opkg can't find packages. According to the error messages and /etc/opkg.conf it seems to be trying to find them at : http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages which is clearly a deprecated address...
I have a router flashed to run openwrt (BARRIER BREAKER (Bleeding Edge, r36234))
But opkg can't find packages.
According to the error messages and /etc/opkg.conf it seems to be trying to find them at : http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages which is clearly a deprecated address.
So where is the new repository? And can I point opkg at it simply by updating the address in the first line of /etc/opkg.conf?
(currently :
src/gz barrier_breaker http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages
)
interstar
(1127 rep)
May 25, 2017, 08:18 PM
• Last activity: Jan 7, 2018, 12:58 AM
3
votes
1
answers
2709
views
OpenWrt (Chaos Calmer 15.05.1): `opkg install <package> -d ram` is failing
When I try to install python-xml using `opkg install python-xml -d ram` It goes through the following steps: - Installing... [WORKS] - Downloading... [WORKS] - Configuring... [FAILS] The "configuring" step fails with errors... ``` grep: /usr/lib/opkg/info/ .control No such file or directory cat: can...
When I try to install python-xml using
opkg install python-xml -d ram
It goes through the following steps:
- Installing... [WORKS]
- Downloading... [WORKS]
- Configuring... [FAILS]
The "configuring" step fails with errors...
grep: /usr/lib/opkg/info/.control No such file or directory
cat: can't open '/usr/lib/opkg/info/.list' No such file or directory
The files opkg
is looking for are in the directory: /tmp/usr/lib/opkg/info
**PROBLEM:** opkg
should be looking to the /tmp
directory when using the –d dest_name
parameter
Does anyone know how to get the "configuring" step to use /tmp
as the root?
*NOTE: I found an open ticket on openwrt.org, but it doesn't specify a workaround.*
Zak
(1091 rep)
Jun 25, 2016, 08:55 PM
• Last activity: May 18, 2017, 04:16 PM
1
votes
0
answers
213
views
Opkg, update dual r/o rfs's under aufs
Using Opkg I'd like to update two different Linux 3.16 based RFS's partitions. They are both mounted read only & there is a data partition, which via aufs, does the write overlays. How can I do an upgrade to each partition such that I get an atomic update (all or nothing). Is there an opkg way to do...
Using Opkg I'd like to update two different Linux 3.16 based RFS's partitions. They are both mounted read only & there is a data partition, which via aufs, does the write overlays. How can I do an upgrade to each partition such that I get an atomic update (all or nothing). Is there an opkg way to do this?
My current approach is running update/install/upgrade under chroot/chdir in the non-booted rfs partition, after mounting it r/w, but I always get non-zero exit codes from the upgrade, even though there are no 'collected errors' reported. I've also tried using the setting
dest root /.rfs2
in the .conf to install in the non-booted rfs. However, only some packages seem to then be correctly referencing/installing to .rfs2.
Before trying to go further I just wanted to see if this was a good approach or if there was a more standard(opkg) way to do this? Could anyone provide any instruction on the best way to do this?
df
Filesystem 1K-blocks Used Available Use% Mounted on
ubi0:rootfs 98284 66484 31800 68% /.rfs1
ubi2:data 178908 36664 137404 21% /.data
ubi1:rootfs 98284 66484 31800 68% /.rfs2
Edit: I've found the some .ipk files install with post scripts containing systemctl(enable/start/stop) cmd's which, can't (easily)?, be run from within chroot. These appear to be the source of the error codes. Not sure what to do about that.
Edit: I don't need to update them both at the same time, if fact I really want to update the non-booted partition first, swap boot partitions, verify the one I just booted to/updated is valid, then nanddump to clone.
Nimjox
(125 rep)
May 9, 2017, 04:34 PM
• Last activity: May 13, 2017, 03:39 PM
2
votes
0
answers
247
views
How can a package's license be determined using OPKG package manager?
OPKG is used as the package manager in an embedded Linux system. I would like to be able to determine the license of a package prior to installing the package. Is there a simple way to achieve this through the package manager (or related utility included with the Angstrom distribution)? Alternativel...
OPKG is used as the package manager in an embedded Linux system. I would like to be able to determine the license of a package prior to installing the package. Is there a simple way to achieve this through the package manager (or related utility included with the Angstrom distribution)?
Alternatively, can the package manager list the license(s) of an installed package?
shibley
(556 rep)
Apr 1, 2015, 04:58 PM
• Last activity: Dec 4, 2016, 03:41 AM
0
votes
1
answers
2919
views
opkg can't find apache
I'm trying to get a LAMP stack running on my BeagleBone Black, but I'm getting foiled early: opkg can't seem to find the apache2 package. According to the Angstrom page, it should exist: http://www.angstrom-distribution.org/repo/ (search "apache" for confirmation) ...but when I run opkg, it can't fi...
I'm trying to get a LAMP stack running on my BeagleBone Black, but I'm getting foiled early: opkg can't seem to find the apache2 package.
According to the Angstrom page, it should exist:
http://www.angstrom-distribution.org/repo/ (search "apache" for confirmation)
...but when I run opkg, it can't find it.
This is what I see:
root@beaglebone:~# opkg install apache2
Unknown package 'apache2'.
Collected errors:
* opkg_install_cmd: Cannot install package apache2.
root@beaglebone:~# opkg list | grep apache2
php-fpm-apache2 - 5.3.19-r4.0.1 - php version 5.3.19-r4.0
...and naturally, that's after running opkg update.
baudot
(111 rep)
Jun 8, 2013, 06:39 AM
• Last activity: Aug 17, 2016, 11:57 PM
2
votes
1
answers
953
views
List packages available for upgrade with APT?
After I run `apt-get update`, I would like to get a list of all packages that can be upgraded. With `opkg` I usually to this:: opkg list_upgradable How can I do this with APT?
After I run
apt-get update
, I would like to get a list of all packages that can be upgraded.
With opkg
I usually to this::
opkg list_upgradable
How can I do this with APT?
reg
(1203 rep)
Sep 21, 2014, 08:56 PM
• Last activity: Jul 26, 2016, 04:56 AM
2
votes
1
answers
1067
views
How to get the installation progress of opkg install?
I'm writing an application that installs an upgrade using [opkg packaging system][1]. Is there a way to get the overall progress so that I can make a progress bar? [1]: https://wiki.openwrt.org/doc/techref/opkg
I'm writing an application that installs an upgrade using opkg packaging system .
Is there a way to get the overall progress so that I can make a progress bar?
user3528438
(421 rep)
Apr 15, 2016, 01:32 AM
• Last activity: Apr 15, 2016, 04:45 PM
1
votes
1
answers
341
views
How to schedule a task in a shell script that runs as soon as the all the ancestors of current shell die?
I'm making a opkg package for a software update. This package require a reboot after installation and needs some work done after the next reboot. I added a shutdown -h now in postinst script but it seems to shutdown too early and interrupts the opkg install command. Then the opkg system won't have t...
I'm making a opkg package for a software update.
This package require a reboot after installation and needs some work done after the next reboot.
I added a shutdown -h now in postinst script but it seems to shutdown too early and interrupts the opkg install command.
Then the opkg system won't have the package info recorded, like opkg list-installed won't list the package as installed.
So the problem I'm trying to solve is: how to reliably schedule a shutdown/reboot in postinst script of OPKG package?
But I guess the fundamental question is, how to schedule a task in a shell script that runs as soon as the all the ancestors of current shell die, but not sooner than that?
Reference: What's postinst script and opkg package management system
user3528438
(421 rep)
Mar 22, 2016, 11:14 PM
• Last activity: Mar 24, 2016, 12:18 AM
1
votes
1
answers
103
views
Help with apt-get on non-internet connected device
I have a Linux based OS running on an embedded piece of hardware. According to the manufacturer of this device, it's based on the Ångström distribution. This device cannot be connected to the internet, however I need to install the ntp package on it so I can assign it to ntp to a local ser...
I have a Linux based OS running on an embedded piece of hardware. According to the manufacturer of this device, it's based on the Ångström distribution. This device cannot be connected to the internet, however I need to install the ntp package on it so I can assign it to ntp to a local server. I have a laptop running Ubuntu 14.04 that I can get the ntp package with. I can also connect the laptop to that device. Is there a way I can 'host' (forgive me if this is the wrong word) that package on my laptop so the embedded device can get the package from there, rather than getting it from the internet.
iYeager
(11 rep)
Jan 24, 2015, 02:44 PM
• Last activity: Jan 24, 2015, 11:46 PM
Showing page 1 of 18 total questions