WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.900 --> 00:00:07.700
In this lesson, we are going to learn about updating

1
00:00:07.700 --> 00:00:08.400
 packages.

2
00:00:10.300 --> 00:00:14.200
So why do we need to update packages there

3
00:00:13.200 --> 00:00:16.400
 could be possible many reasons to it.

4
00:00:17.400 --> 00:00:21.000
There is a new version of that specific package with added

5
00:00:20.400 --> 00:00:23.400
 features or was there any

6
00:00:23.400 --> 00:00:26.500
 bug or any security issue that

7
00:00:26.500 --> 00:00:29.400
 was fixed? So we should always keep our

8
00:00:29.400 --> 00:00:32.300
 packages updated to the latest version.

9
00:00:33.800 --> 00:00:36.200
Now we are going to update the

10
00:00:36.200 --> 00:00:36.900
 packages.

11
00:00:37.700 --> 00:00:40.700
And also going to update our repositories.

12
00:00:41.400 --> 00:00:43.700
So when we run the command apt update.

13
00:00:44.500 --> 00:00:45.400
What does it do?

14
00:00:45.900 --> 00:00:48.700
It basically updates the repo first,

15
00:00:48.700 --> 00:00:51.300
 which is the sources.list file

16
00:00:51.300 --> 00:00:54.000
 then it checks. What are the

17
00:00:54.200 --> 00:00:57.900
 new versions available for the installed packages in

18
00:00:57.900 --> 00:00:58.300
 your system?

19
00:00:59.600 --> 00:01:02.700
So it's a practical time and let's see how to

20
00:01:02.700 --> 00:01:04.600
 practically use this command.

21
00:01:05.800 --> 00:01:08.200
So I want to my terminal and I'm going to use

22
00:01:08.200 --> 00:01:11.000
 the command apt update.

23
00:01:11.700 --> 00:01:14.000
When I do this, the first thing that is going

24
00:01:14.100 --> 00:01:17.900
 to happen is it is going to update all the sources

25
00:01:17.900 --> 00:01:20.300
 start list file that is being added

26
00:01:20.300 --> 00:01:23.400
 in my system to verify if there are

27
00:01:23.400 --> 00:01:26.400
 any new updates for any packages that

28
00:01:26.400 --> 00:01:28.200
 are currently installed in my system.

29
00:01:29.200 --> 00:01:33.200
As you can see it has sanded request to Google Sublime

30
00:01:32.200 --> 00:01:35.300
 Text proton VPN Etc

31
00:01:35.300 --> 00:01:39.000
 and the default source.list package

32
00:01:38.700 --> 00:01:40.600
 repository of Kali Linux.

33
00:01:41.900 --> 00:01:44.600
It is fetched the data from here and you

34
00:01:44.600 --> 00:01:47.900
 can see the result if it says 332 packages

35
00:01:47.900 --> 00:01:49.400
 can be upgraded.

36
00:01:50.300 --> 00:01:53.700
Here we can confirm that there are newer versions

37
00:01:53.700 --> 00:01:56.300
 for already installed packages in

38
00:01:56.300 --> 00:01:56.900
 our system.

39
00:01:57.700 --> 00:02:00.500
Let's run the command once more and here

40
00:02:00.500 --> 00:02:03.500
 you can see this time. It has only sent request

41
00:02:03.500 --> 00:02:07.000
 to these new sources.list to verify

42
00:02:06.400 --> 00:02:09.800
 if there are any available packages because

43
00:02:09.800 --> 00:02:12.700
 it has already verified any new

44
00:02:12.700 --> 00:02:15.800
 updates from the official repo of

45
00:02:15.800 --> 00:02:16.400
 Kali.

46
00:02:17.300 --> 00:02:20.700
Here we can confirm that there are 332 packages, and

47
00:02:20.700 --> 00:02:23.200
 if you want you can update those packages to the latest

48
00:02:23.200 --> 00:02:24.500
 version. Thank you.
