https://wiki.alpinelinux.org/w/index.php?title=Include:Upgrading_Alpine_executeupgradescript&feed=atom&action=historyInclude:Upgrading Alpine executeupgradescript - Revision history2024-03-29T11:10:49ZRevision history for this page on the wikiMediaWiki 1.40.0https://wiki.alpinelinux.org/w/index.php?title=Include:Upgrading_Alpine_executeupgradescript&diff=16404&oldid=prevInnsill: +category:Package Manager2019-09-14T07:25:57Z<p>+<a href="/wiki/Category:Package_Manager" title="Category:Package Manager">category:Package Manager</a></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 07:25, 14 September 2019</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l17">Line 17:</td>
<td colspan="2" class="diff-lineno">Line 17:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** ''':q''' = Quit editor</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** ''':q''' = Quit editor</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** ''':q!''' = Force quit even if you have changes that is still not saved</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** ''':q!''' = Force quit even if you have changes that is still not saved</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[category:Package Manager]]</ins></div></td></tr>
</table>Innsillhttps://wiki.alpinelinux.org/w/index.php?title=Include:Upgrading_Alpine_executeupgradescript&diff=8640&oldid=prevDubiousjim: Migrate text from "Template:..."2012-10-29T02:28:39Z<p>Migrate text from "Template:..."</p>
<p><b>New page</b></p><div>== Execute upgrade script ==<br />
The new media has a 'upgrade' script found on root level on media. This 'upgrade' script needs to be executed and walked through.<br />
{{Cmd|/media/$LBU_MEDIA/upgrade}}<br />
<br />
You will be informed about various changes and you will be able to choose if you want to keep your old config-files or if you want to use a new.<BR><br />
Each setup is different, so it's hard to say what needs to be upgraded and what should be kept.<br />
<br />
When the new media holds a updated version of configfile, you will be prompted with something that looks like this:<BR><br />
Quit, Next, Show diff, Edit new, Zap new, Use new (q/n/s/e/z/u) [s]:<br />
<br />
If you choose to 'Edit new' you will use the 'vi' editor.<BR><br />
A short note on how you use that editor:<br />
* '''i''' = Enter "insert" mode so you can edit the content<br />
* '''[esc]''' = Enter CMD-mode where you can chose to save/quit<br />
** CMD-mode has these options<br />
*** ''':w''' = Write your changes<br />
*** ''':q''' = Quit editor<br />
*** ''':q!''' = Force quit even if you have changes that is still not saved</div>Dubiousjim