Include:Using Internet Repositories for apk-tools: Difference between revisions

From Alpine Linux
(restored back the template and added a comment)
(replaced content by redirect link and ensured page is not used anywhere)
Tag: New redirect
 
Line 1: Line 1:
<!--- Note that {{#expr:{{AlpineLatest}}}} will fail if there is a zero as the LSB like 3.10,3.20,3.30. So, when such releases are around, this page requires manual handling. -->
#REDIRECT [[Include:Upgrading to latest release]]
Edit the {{Path|/etc/apk/repositories}} file using any editor of your choice ({{Pkg|nano}} for instance).
{{Cat|/etc/apk/repositories|http://dl-3.alpinelinux.org/alpine/{{#expr:{{AlpineLatest}}-0.01}}/main
http://dl-3.alpinelinux.org/alpine/{{#expr:{{AlpineLatest}}-0.01}}/community}}
In the above file, to upgrade Alpine Linux from version {{#expr:{{AlpineLatest}}-0.01}} to {{#expr:{{AlpineLatest}}}}, simply replace the number {{#expr:{{AlpineLatest}}-0.01}} by {{#expr:{{AlpineLatest}}}} in all the places:
{{Cat|/etc/apk/repositories|http://dl-3.alpinelinux.org/alpine/{{#expr:{{AlpineLatest}}}}/main
http://dl-3.alpinelinux.org/alpine/{{#expr:{{AlpineLatest}}}}/community}}

Latest revision as of 10:43, 6 October 2025