Include:Upgrading to latest release

From Alpine Linux
Revision as of 02:32, 29 October 2012 by Dubiousjim (talk | contribs) (Migrate text from "Upgrading to latest release")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

An upgrade of a running Alpine Linux from a previous version to the latest stable version can be done in a few simple steps.

Update the /etc/apk/repositories file

  • Launch


  • Press 'e' to edit your /etc/apk/repositories file
  • Change the version number to match the latest version by hand
  • just edit the file in-place (replace v2.4 with your release):

    sed -i -e 's/v2.3/v2.4/g' /etc/apk/repositories

Upgrade all packages in one shot:

apk upgrade -a -U