Upgrading to Edge: Difference between revisions

From Alpine Linux
m (Removed wording that 1.10 is current stable)
m (updated)
Line 1: Line 1:
[[Category:Upgrade]]
An upgrade of Alpine Linux from a stable version to the rolling development version, ''edge'' can be done in a few simple steps.
This Document describes how to upgrade alpine from a stable 1.10.x version to the rolling development version, ''edge''. Please note that edge is under constant development so be careful using it in production.


{{Warning|Please note that the edge's version of uclibc with nptl (libc0.9.32) is not ABI compatible with v1.10. This means that you can not mix packages from edge and 1.10.x.}}
{{Warning|Edge is under constant development so be careful using it in production. It can break your system.}}


# Add the edge repository to ''/etc/apk/repositories'': {{Cmd|echo http://dl-3.alpinelinux.org/alpine/edge/packages/main >> /etc/apk/repositories}}
# Add the edge repository to ''/etc/apk/repositories'':
# Make sure that GNU wget is not installed since it will make the upgrade fail: {{Cmd|apk del wget}}
{{Cmd|echo http://dl-3.alpinelinux.org/alpine/edge/packages/main >> /etc/apk/repositories}}
# Upgrade all packages in one shot: {{Cmd|apk upgrade -a -U}}
or just edit the file in-place (replace '''v2.2''' with your release)
# Delete old uclibc package: {{Cmd|apk del uclibc}}
{{Cmd|sed -i -e 's/v2.2/edge/g' /etc/apk/repositories}}
# Upgrade all packages in one shot
{{Cmd|apk upgrade -a -U}}
# Check your current release
{{Cmd|cat /etc/alpine-release}}
You will see the build date attached to the release.
 
<!--
cat /etc/alpine-release | cut -c 0-3
This is not working at the moment
cat /etc/alpine-release | cut -c 0-3 | sed -i -e 's/v{}/edge/g' /etc/apk/repositories
-->

Revision as of 03:21, 18 June 2011

An upgrade of Alpine Linux from a stable version to the rolling development version, edge can be done in a few simple steps.

Warning: Edge is under constant development so be careful using it in production. It can break your system.


  1. Add the edge repository to /etc/apk/repositories:

echo http://dl-3.alpinelinux.org/alpine/edge/packages/main >> /etc/apk/repositories

or just edit the file in-place (replace v2.2 with your release)

sed -i -e 's/v2.2/edge/g' /etc/apk/repositories

  1. Upgrade all packages in one shot

apk upgrade -a -U

  1. Check your current release

cat /etc/alpine-release

You will see the build date attached to the release.