Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
apk-tools
apk-tools
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 60
    • Issues 60
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 15
    • Merge Requests 15
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • apk-toolsapk-tools
  • Issues
  • #10704

Closed
Open
Opened Jul 21, 2020 by Ellie@ell1e
  • Report abuse
  • New issue
Report abuse New issue

Request: could `apk info` list more clearly what version is actually installed, and from what repo it originates?

I somehow managed to mix edge + stable packages on my install. Apart from other issues I'm having with this (like apk upgrade -a not willing to fix it for some reason) what currently bothers me most is that apk info somehow really isn't that useful to me / or I fail at reading it:

$ sudo apk info nss
nss-3.52.1-r0 description:
Mozilla Network Security Services

nss-3.52.1-r0 webpage:
https://developer.mozilla.org/docs/Mozilla/Projects/NSS

nss-3.52.1-r0 installed size:
3915776

nss-3.54-r0 description:
Mozilla Network Security Services

nss-3.54-r0 webpage:
https://developer.mozilla.org/docs/Mozilla/Projects/NSS

nss-3.54-r0 installed size:
3289088

nss-3.54-r0 description:
Mozilla Network Security Services

nss-3.54-r0 webpage:
https://developer.mozilla.org/docs/Mozilla/Projects/NSS

nss-3.54-r0 installed size:
3289088

$ ls /usr/lib | grep libnss
libnss3.so
libnss3.so.52
libnssckbi-testlib.so
libnssckbi-testlib.so.52
libnssckbi.so
libnssckbi.so.52
libnssdbm3.chk
libnssdbm3.so
libnssdbm3.so.52
libnssutil3.so
libnssutil3.so.52

As you can see, it appears I have nss-3.52 installed. However, apk info lists two versions, and from all I can tell doesn't specify which one of those is actually installed which would really be essential to know for a situation like this. Additionally, it also doesn't say what repo it got each of the listed versions ones from, so I don't know which one is from edge and which one is from stable even now that I realized I likely have 3.52 installed.

Both those pieces of information would help tremendously in such tricky situations, so could apk info possibly be changed to actually specify that?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: alpine/apk-tools#10704