Replacing a package: Difference between revisions
(new page with basic steps) |
Dubiousjim (talk | contribs) (Category:Package Manager) |
||
Line 10: | Line 10: | ||
# apk_add -f PACKAGE_NAME | # apk_add -f PACKAGE_NAME | ||
# Start any associated services. | # Start any associated services. | ||
[[Category:Package Manager]] |
Revision as of 07:36, 12 March 2012
How to Replace a Package in Alpine 1.7.x and 1.8.x
- Log in as root to the command-line console.
- cd YOUR_ALPINE_MEDIUM/apks
- wget http://dev.alpinelinux.org/alpine/v1.8/apks/PACKAGE_NAME.apk
- rm OLD_PACKAGE_NAME.apk
- md5sum *.apk | sort -k 2 | gzip > INDEX.md5.gz
- apk_fetch -u
- Stop any associated services
- apk_delete -f PACKAGE_NAME
- apk_add -f PACKAGE_NAME
- Start any associated services.