This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | Next revisionBoth sides next revision |
| docs:guide-user:additional-software:opkg-to-apk-cheatsheet [2024/11/28 01:49] – Add another interesting variant efahlgren | docs:guide-user:additional-software:opkg-to-apk-cheatsheet [2024/12/11 00:27] – [List commands] Add proper caveats regarding orphaned packages efahlgren |
|---|
| **Interesting variants** | **Interesting variants** |
| |
| * ''apk list --installed --orphaned'' - shows any dependencies that have been orphaned, i.e., unused packages that may be safely ''del''eted | |
| * ''apk list --installed --manifest'' - produces a simple list of "package-name version" pairs that are easily parsed with ''awk'' or ''sed'' | * ''apk list --installed --manifest'' - produces a simple list of "package-name version" pairs that are easily parsed with ''awk'' or ''sed'' |
| | * ''apk list --orphaned'' - shows any dependencies that may have been orphaned, i.e., packages that have no declared top-level dependents. This may indicate that they are left over from an error in removing another package, but it may show packages that are required, but simply have incorrect dependencies. If you wish to remove an orphaned package, first make absolutely sure that it is not required for your system to function correctly. |
| |
| **Comparative examples of listings:** | **Comparative examples of listings:** |