Include:Upgrading to Edge: Difference between revisions
m (Updated nag message) |
Prabuanand (talk | contribs) (added warning and links and removed nag message contents as usr-merge page has necessary info) |
||
| Line 1: | Line 1: | ||
An upgrade of Alpine Linux from a stable version to the rolling development version ''edge'' basically requires the same steps as [[Upgrading_Alpine#Upgrading_to_latest_release|Upgrading to latest release]]. | An upgrade of Alpine Linux from a stable version to the rolling development version ''edge'' basically requires the same steps as [[Upgrading_Alpine#Upgrading_to_latest_release|Upgrading to latest release]]. | ||
When editing the {{Path|/etc/apk/repositories}} file, all referenced repository versions (such as {{ic|v{{#expr:{{AlpineLatest}}}}}} or {{ic|latest-stable}}) therein need to be pointing to <code>'''edge'''</code> as follows. {{cat|/etc/apk/repositories|#/media/cdrom/apks | |||
http://dl-cdn.alpinelinux.org/alpine/edge/main | http://dl-cdn.alpinelinux.org/alpine/edge/main | ||
http://dl-cdn.alpinelinux.org/alpine/edge/community | http://dl-cdn.alpinelinux.org/alpine/edge/community | ||
@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing}} | @testing http://dl-cdn.alpinelinux.org/alpine/edge/testing}} | ||
When the upgrade completes, ''edge'' currently issues a messege encouraging users to migrate manually to install {{pkg|merge-usr}} package, that would update the base filesystem hierarchy. Consult [https://alpinelinux.org/posts/2025-10-01-usr-merge.html 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 [[Upgrading_Alpine#Upgrading_to_latest_release|new release]] as mentioned in {{Issue|17624}}. | |||
{{Warning|If any error is reported on running {{ic|$ 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 '''[https://gitlab.alpinelinux.org/alpine/aports/issues bug report]''' and provide all requested information when doing so.}} | |||
Revision as of 03:51, 28 November 2025
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
When the upgrade completes, edge currently issues a messege encouraging users to migrate manually 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.

$ 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.