Include:Upgrading to Edge

From Alpine Linux
Revision as of 03:55, 28 November 2025 by Prabuanand (talk | contribs) (fixed mistake)

An upgrade of Alpine Linux from a stable version to the rolling development version edge basically requires the same steps as Upgrading to latest release.

When editing the /etc/apk/repositories file, all referenced repository versions (such as v3.23 or latest-stable) therein need to be pointing to edge as follows.

Contents of /etc/apk/repositories

#/media/cdrom/apks http://dl-cdn.alpinelinux.org/alpine/edge/main http://dl-cdn.alpinelinux.org/alpine/edge/community @testing http://dl-cdn.alpinelinux.org/alpine/edge/testing

When the upgrade completes, edge currently issues a messege encouraging users to install merge-usr package, that would update the base filesystem hierarchy. Consult news release on usr-merge for background information including the rationale.

This update is currently not a requirement, but will be implemented in the future as part of standard system upgrade to a new release as mentioned in #17624.

Warning: If any error is reported on running $ doas merge-usr --dryrun, do not proceed with next steps, as this would break your system. Instead, it would be appreciated if you could kindly submit a bug report and provide all requested information when doing so.