Sandbox: Difference between revisions

From Alpine Linux
(practicing tables)
Line 31: Line 31:
{{Cmd|apk.static upgrade --no-self-upgrade}}
{{Cmd|apk.static upgrade --no-self-upgrade}}


== Table Practice ==
== Main Page Proposal ==


#0D597F
'''Welcome to the [http://alpinelinux.org/about Alpine Linux] Wiki'''
 
'''Alpine Linux''' is a security-oriented, lightweight Linux distribution based on '''[https://musl.libc.org/ musl libc]''' and '''[http://busybox.net Busybox]'''.
 
Here is a '''[[Alpine Linux:Overview|more detailed overview]]''' of what makes our distribution distinctive; and a '''[[comparison with other distros]]'''.
 
== Documentation ==


{|style="margin:auto; text-align:center; width: 80%; border-spacing: 5px 1rem;"
{|style="margin:auto; text-align:center; width: 80%; border-spacing: 5px 1rem;"
Line 49: Line 55:
| Alpine Linux '''[[Developer Documentation]]''' || Learn about how you can '''[[Contribute|Contribute to Alpine Linux]]'''
| Alpine Linux '''[[Developer Documentation]]''' || Learn about how you can '''[[Contribute|Contribute to Alpine Linux]]'''
|- style="color:white; background-color:#0D597F;"
|- style="color:white; background-color:#0D597F;"
| '''<big>RELEASES</big>''' || '''<big>MORE</big>'''
| '''<big>RELEASES</big>''' || '''<big>PRIVACY POLICY</big>'''
|-
|  Links to our '''[[Alpine Linux:Releases|Current and Previous Releases]]''' || Read our '''[[Alpine Linux:Privacy policy|Privacy Policy]]'''
|- style="color:white; background-color:#0D597F;"
| '''<big>MORE</big>'''
|-
|-
|  See our '''[[Alpine Linux:Releases|Current and Previous Releases]]''' || '''[[Alpine Linux:Listings|Links to other sites]]''' with information about Alpine
| '''[[Alpine Linux:Listings|Links to other sites]]''' with information about Alpine
|}
|}

Revision as of 12:17, 22 April 2023

This is a test area.

yes

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.

apk add busybox-static apk-tools-static

Changing repositories to v3.x

To begin, you need to update your /etc/apk/repositories file. Here are some shortcuts for doing so:

  • Launch

    setup-apkrepos

    Enter e to edit /etc/apk/repositories. Change the version number by hand.
  • Or, edit the file in place. This is how you'd change v2.7 to v3.0:

    sed -i -e 's/v2\.7/v3.0/g' /etc/apk/repositories

Upgrading system

Use statically linked version of apk to update content of repository:

apk.static update

Simulating upgrade is recommended in order to detect issues beforehand:

apk.static upgrade --no-self-upgrade --simulate

With no problems encountered or after resolving them, start proper upgrade:

apk.static upgrade --no-self-upgrade

Main Page Proposal

Welcome to the Alpine Linux Wiki

Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and Busybox.

Here is a more detailed overview of what makes our distribution distinctive; and a comparison with other distros.

Documentation

INSTALLATION FAQ
Start here to learn about installing Alpine Linux Read the Frequently Asked Questions
TUTORIALS GLOSSARY
A collection of Tutorials and Howto articles that cover basic and advanced configuration An extensive list of terms and Alpine Linux features for reference
DEVELOPERS CONTRIBUTE
Alpine Linux Developer Documentation Learn about how you can Contribute to Alpine Linux
RELEASES PRIVACY POLICY
Links to our Current and Previous Releases Read our Privacy Policy
MORE
Links to other sites with information about Alpine