<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rfraile</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rfraile"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Rfraile"/>
	<updated>2026-05-01T19:38:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Include:Upgrading_to_latest_release&amp;diff=16723</id>
		<title>Include:Upgrading to latest release</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Include:Upgrading_to_latest_release&amp;diff=16723"/>
		<updated>2019-12-20T10:10:49Z</updated>

		<summary type="html">&lt;p&gt;Rfraile: Add option to upgrade to last release without set the version number&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;When Alpine Linux is installed to hard drive, upgrading to a newer stable version is straightforward.&lt;br /&gt;
&lt;br /&gt;
To begin, you need to update your {{Path|/etc/apk/repositories}} file. Here are some shortcuts for doing so:&lt;br /&gt;
:* Launch {{Cmd|setup-apkrepos}} Enter {{Key|e}} to edit {{Path|/etc/apk/repositories}}. Change the version number by hand.&lt;br /&gt;
:* Or, edit the file in place. This is how you&#039;d change &amp;lt;var&amp;gt;v2.5&amp;lt;/var&amp;gt; to &amp;lt;var&amp;gt;v2.6&amp;lt;/var&amp;gt;: {{Cmd|sed -i -e &#039;s/&amp;lt;var&amp;gt;v2\.5&amp;lt;/var&amp;gt;/&amp;lt;var&amp;gt;v2.6&amp;lt;/var&amp;gt;/g&#039; /etc/apk/repositories}}&lt;br /&gt;
:* Or set directly the last stable release on the repository file {{Path|/etc/apk/repositories}} and avoid jump the release number each time: {{Cmd|http://dl-3.alpinelinux.org/alpine/latest-stable/main}} {{Cmd|http://dl-3.alpinelinux.org/alpine/latest-stable/comunity}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or you could do this manually: {{:Include:Using_Internet_Repositories_for_apk-tools}}&lt;br /&gt;
&lt;br /&gt;
If you&#039;re upgrading from a version of Alpine before 2.3.0_rc1, ensure you have the latest available version of the Alpine Linux Package Manager first before upgrading anything else:&lt;br /&gt;
{{Cmd|apk add --upgrade apk-tools}}&lt;br /&gt;
&lt;br /&gt;
Next, upgrade all your packages: {{Cmd|apk upgrade --available}}&lt;br /&gt;
The &amp;lt;code&amp;gt;--available&amp;lt;/code&amp;gt; switch is used to force all packages to be upgraded, even if they have the same version numbers. Sometimes changes in uClibc require doing this.&lt;br /&gt;
&lt;br /&gt;
{{Note|You will need to restart any services that have been upgraded to begin using the upgraded versions. If the kernel is upgraded, you will need to reboot to begin using the upgraded version:&lt;br /&gt;
{{Cmd|sync&lt;br /&gt;
reboot}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Package Manager]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Rfraile</name></author>
	</entry>
</feed>