Skip to content

The local packages apk sees is limited compared to what in online. #4209

@tiborkiss

Description

@tiborkiss

Expected Behavior

I have in /etc/apk/repositories.d/distfeeds.list

    https://download.openmptcprouter.com/release/v0.63-6.12/x86_64/targets/x86/64/packages/packages.adb
    https://download.openmptcprouter.com/release/v0.63-6.12/x86_64/packages/x86_64/base/packages.adb
    https://download.openmptcprouter.com/release/v0.63-6.12/x86_64/packages/x86_64/luci/packages.adb
    https://download.openmptcprouter.com/release/v0.63-6.12/x86_64/packages/x86_64/openmptcprouter/packages.adb
    https://download.openmptcprouter.com/release/v0.63-6.12/x86_64/packages/x86_64/packages/packages.adb

and in /etc/apk/repositories.d/customfeeds.list

    https://packages.openmptcprouter.com/v0.63-6.12/x86_64/luci/packages.adb
    https://packages.openmptcprouter.com/v0.63-6.12/x86_64/packages/packages.adb
    https://packages.openmptcprouter.com/v0.63-6.12/x86_64/base/packages.adb
    https://packages.openmptcprouter.com/v0.63-6.12/x86_64/routing/packages.adb
    https://packages.openmptcprouter.com/v0.63-6.12/x86_64/telephony/packages.adb

I would expect that using apk add or apk search to be able to install or search the existing packages.

Current Behavior

My apk running in the system doesn't see many of the packages which are in the above online packages.adb, therefore I cannot install something like lm-sensors luci-app-statistics etc.

If I download and inspect in adbdump using the steps below, then I can see the package

wget "https://packages.openmptcprouter.com/v0.63-6.12/x86_64/packages/packages.adb" -O packages.adb
apk adbdump packages.adb > packages-index.txt
grep -i lm-sensors package-index.txt
ls /lib/apk/db/
installed    lock         scripts.tar  triggers

I don't see any *.adb kept locally, how the current apk works then?

Somebody explain to me what's the correct way to use these packages which were built for this x86_64 ?

Specifications

  • OpenMPTCProuter version: v0.63-6.12 r0+30806-070d8eb4d5
  • OpenMPTCProuter platform: x86_64

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions