Skip to playerSkip to main content
  • 1 week ago
Transcript
00:00hello I made videos about upgrading packages on Arch Linux the last one was
00:05about resolving an issue that was with the bootloader when it comes to the
00:10bootloader what we're gonna discuss in this video doesn't matter since even if
00:15you update your bootloader there is a bunch of package there is a bunch of
00:19commands that need to be run in order to get the new bootloader working otherwise
00:24the old one is the one that's gonna keep running on your system so I haven't
00:31updated my system in a while and I need here to skip and the video is about
00:40skipping updating the packages so we're gonna choose some packages here some
00:46kind of randomly to show you how to skip the update of packages on Arch Linux
00:54let me tell you that if you do this thing was with some of the dependencies
01:00and a specific version is needed that may cause the packages that depend on those
01:07dependencies to be broken so be careful when you skip the update of the packages
01:13let's say we want to skip you can press N here and then we have this this first
01:29method which is by running it like this ignore and the package name let's say it's
01:38X term which is the terminal emulator so this will skip the update of this package let's try to run the command
01:50we should get a warning telling us that the package is gonna be
02:20be ignored let me see warning X term ignoring package upgrade from 401 to 402 and here since I don't need to update my system now if we want to ignore more than a package we can separate between them with commas let's say I want to ignore the update of Yelp
02:47another one comma and let's say we wanna skip Yelp which we have here and let's also skip
02:59webkit to GTK like this we try the we run the command again the warning now should be
03:11different and you can see that we got multiple warnings for each package to be sorry that's gonna be
03:26skip it here so we have four packages that we skip it external Yelp wine web to webkit to GTK and they are all
03:35mentioned in these warnings here and I'm not gonna update my system there is another method which is about the group
03:48of packages it's still the same method but when it comes to the group of packages I'm not sure if we have any
03:55group of packages to be updated here let's try with Linux firmware
04:04Linux firmware of course if you have another group of packages that you would like to ignore I'm not sure if VLC is considered a group of package since I see here VLC plugin etc many ones of them
04:21I'm not sure if it is considered a group of package I'm not sure of this command also so let's try with it and see if Linux firmware is considered a group of packages as well as VLC if it is in fact a group of packages and this command exists I mean this argument exists it should work
04:43it didn't work it didn't complain so there is this argument for our command we wish that these two ones are groups of packages it should warn us about them yeah I guess they aren't group of packages so the system simply ignored them let's try with GNOME it's a group of packages definitely if I'm not wrong let's see
05:11GNOME so the for example the download size download size here should be less so you can see that it is considered a group of packages and the whole update has been cancelled since we decided to ignore or skip the update of these packages this was the first method there is another method which is by going
05:41GNOME so you can see that it is a group of package to slash etc slash pacman dot conf we scroll down until we find ignore pkg this one and then if you want the whole group to be ignored you and command this one and you put whatever you want to put here let's say I want to ignore wine comma yelp as the one in the command
06:09or in the update that appeared or in the update that appeared for us comma web kit to gtk that's for the first one second one gnome is fine for us let me comment this first because the whole update is going to be cancelled save this one by pressing ctrl x for nano y and enter and let's try to update the system without this argument
06:35we should get a warning we should get a warning the second one when we edit the file this configuration file should be permanent as long as the file is not edited again to be without any packages to be skipped
06:54so yelp i believe i chose yelp as yelp as yelp no no that's
07:17let's try with only one
07:19let's try with only one package to be ignored
07:29and wine
07:35let's save
07:37and exit and run this command again i believe there is a warning that appears whenever a specific package is
07:43ignored even within the configuration file
07:49we had a warning let's see it
07:57no oh yeah yeah here it is
07:59here it is ignoring package upgrade
08:03let me check my command
08:06before
08:08yeah it wasn't it wasn't correct
08:11so there is there is there is there is something wrong with it and an enter here let's go back to the
08:18configuration file and try with
08:20maybe there is a space with uh maybe there is a space there that's required for
08:31it ignore packages here comma space
08:36and try again if we got an error about the syntax that's how we know that it is wrong if we didn't
08:55update it should tell us that a bunch of command has had a bunch of packages update
09:03a bunch of bucket packages are gonna be ignored when updating yeah so this one says that only this one is gonna be
09:11ignored which means that we may need to uh
09:20i'm not sure how but probably ignore package needs to be replicated if i can say
09:25so let's copy it and paste it here this and for each one of them we give it a different value let's
09:37let's say x term here let's save and exit and try to run this command again
09:52yes for every package that you would like to skip the update you need to replicate
10:01the in the configuration file that one that says ignore package
10:07and here let's go back now and try with
10:12so keep that in mind
10:14we don't need to ignore
10:16some specific packages but rather a whole group of them
10:21let's save now now we try with ignoring the group of gnome we save this and enter and exit
10:28and let's try to update the system i believe that the whole update as before is uh gonna be
10:34aborted since we decided to skip the update of the whole system or the whole group of packages so we
10:44have a group of packages which is gnome and since we decided to ignore it nothing is gonna be updated here
10:54that was how you skip updating packages on arch linux don't forget to subscribe like share and comment and peace
Be the first to comment
Add your comment

Recommended