|
|
(20 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| This is a test area. | | <noinclude>This is a test</noinclude> |
| | | <includeonly> |
| {{#ifeq:one|one|yes|no}} | | {{#if: {{{v}}}|v}}3.20.1 |
| | | </includeonly> |
| {{Warning|Alpine Linux 3.x is using a different libc implementation compared to previous versions. Musl libc is not ABI compatible with uClibc. Additional steps are required for an upgrade.}}
| |
| | |
| == Installing statically linked tools ==
| |
| | |
| Statically linked versions of busybox and apk are needed, otherwise they will stop working after libc upgrade.
| |
| | |
| {{Cmd|apk add busybox-static apk-tools-static}} | |
| | |
| == Changing repositories to v3.x ==
| |
| | |
| To begin, you need to update your {{Path|/etc/apk/repositories}} file. Here are some shortcuts for doing so:
| |
| :* Launch {{Cmd|setup-apkrepos}} Enter {{Key|e}} to edit {{Path|/etc/apk/repositories}}. Change the version number by hand.
| |
| :* Or, edit the file in place. This is how you'd change <var>v2.7</var> to <var>v3.0</var>: {{Cmd|sed -i -e 's/<var>v2\.7</var>/<var>v3.0</var>/g' /etc/apk/repositories}}
| |
| | |
| == Upgrading system ==
| |
| | |
| Use statically linked version of apk to update content of repository:
| |
| | |
| {{Cmd|apk.static update}}
| |
| | |
| Simulating upgrade is recommended in order to detect issues beforehand:
| |
| | |
| {{Cmd|apk.static upgrade --no-self-upgrade --simulate}}
| |
| | |
| With no problems encountered or after resolving them, start proper upgrade:
| |
| | |
| {{Cmd|apk.static upgrade --no-self-upgrade}}
| |
| | |
| == Table Practice ==
| |
| | |
| #0D597F
| |
| | |
| {|style="margin:auto; text-align:center; width: 80%; border-spacing: 5px 1rem;"
| |
| |- style="color:white; background-color:#0D597F;"
| |
| | style="width: 50%;" | '''<big>INSTALLATION</big>''' || '''<big>FAQ</big>'''
| |
| |-
| |
| | Start here to learn about '''[[Installation|installing Alpine Linux]]''' || Read the '''[[Alpine Linux:FAQ|Frequently Asked Questions]]'''
| |
| |- style="color:white; background-color:#0D597F;"
| |
| | <big>'''TUTORIALS'''</big> || <big>'''GLOSSARY'''</big>
| |
| |-
| |
| | A collection of '''[[Tutorials and Howtos|Tutorials and Howto articles]]''' that cover basic and advanced configuration || An extensive '''[[Alpine Linux:Glossary|list of terms and Alpine Linux features]]''' for reference
| |
| |- style="color:white; background-color:#0D597F;"
| |
| | '''<big>DEVELOPERS</big>''' || '''<big>CONTRIBUTE</big>'''
| |
| |-
| |
| | Alpine Linux '''[[Developer Documentation]]''' || Learn about how you can '''[[Contribute|Contribute to Alpine Linux]]'''
| |
| |- style="color:white; background-color:#0D597F;"
| |
| | '''<big>RELEASES</big>''' || '''<big>MORE</big>'''
| |
| |-
| |
| | See our '''[[Alpine Linux:Releases|Current and Previous Releases]]''' || '''[[Alpine Linux:Listings|Links to other sites]]''' with information about Alpine
| |
| |}
| |