Skip to playerSkip to main contentSkip to footer
  • 4 days ago
Transcript
00:00Hi friends, I have an installation of Alpine Linux, it's a permanent one and it's the version, let me clear this out, cat etc os release version 3.19.1
00:23I thought of upgrading to a newer version like 3.20 or 21, I guess the newest one is 3.22
00:32Yes, it says here current Alpine version 3.22
00:37However, I'm not sure if we skip for example a specific major version to another, like for example I have 3.19
00:48Let's say I go to 3.21, I don't know if there is any potential issue from that
00:56However, I'm not gonna definitely update to the newest one, upgrade, upgrade to the newest one which is 3.22
01:04I'm gonna simply go with 3.21 for example
01:08To see if I can
01:10I mean
01:12To
01:13I'm just gonna do it like that
01:16Alright, so we run do as set up apk repos
01:31Alright, so we should press E here and enter
01:36This reminds me of the upgrade of Debian which
01:41Like has a step where you upgrade the or you change the repository files
01:53So I'm gonna quit out of this
01:56Since I wanna show you the second method which is not any different with this
02:01So Q if possible or Ctrl C
02:07Yes, so that script simply takes you to the repository files which you edit
02:14And then save and exit
02:18Since it is using VI, you can save by pressing ESC, colon, W, Q
02:26And it will exit
02:28Ok, so
02:30I'm gonna try with the second one
02:35Which is stream editor called
02:40Like this
02:41Like this
02:42Home
02:43Sudo
02:44And then I am not using 320 but 319
02:53And enter
02:55Not sudo sorry
02:57This needs to be aliased
02:59Aliased needs to have aliased
03:01Where whenever I type sudo it becomes do as inside of the system
03:07Alright, let's check our repositories
03:12APK repositories
03:16Yes
03:17Now we are able
03:19There is a third method which is simply going to
03:23The file which is by running the command do as
03:28If you have nano
03:30It exists
03:32Or you can use Vim
03:37Or VI
03:38And then etc
03:41APK
03:42Repositories
03:43So you have three methods
03:45The first one is
03:46Using the
03:47Script
03:49Which is
03:51Setup-apk-repos
03:56Second one is using
03:59Something called
04:00Stream editor
04:01Same editor
04:02Or
04:03Simply said
04:05Like an acronym
04:06And the third one
04:08Is
04:09By going manually
04:13And replacing the version
04:16With another one
04:22Now
04:23We can simply run do as apk update
04:28Update
04:29Then
04:31Upgrade
04:32Then
04:33Upgrade
04:34I made a mistake here before running upgrade we should run another command which should be
04:49Do as apk
04:50Do as apk
04:51Add
04:52Upgrade
04:54apk
04:56dash tools
05:00And then
05:04Upgrade
05:05Available instead of upgrade only
05:10And
05:12Upgrade only
05:13Upgrade
05:14Only
05:15And it should do
05:16The
05:17Work
05:18Okay
05:19So apk upgrade
05:20Command is done executing
05:23Let's see what else we have
05:25Says that we are supposed to reboot
05:29supposed to reboot okay so do as sync
05:41again
05:53and then we reboot okay so my system is rebooted I mean my Alpine Linux and
06:07it's error free there is no issue so far now I can prove to you that it is the
06:18version that I decided to upgrade to I wanted to make sure that it's possible
06:23to skip one of the major releases and the plan was in case there was any error
06:31after the upgrade we try to resolve it somehow however it's fine so far and it's
06:40successful I mean the upgrade and I guess that's it for this video please don't
06:46forget to subscribe hit the thumbs up to support me leave a comment with
06:51something you would like to tell me and share this video with your friends peace