Skip to playerSkip to main content
  • 2 months ago
Transcript
00:00what's up i haven't updated my gento system for a while and when i try to update it running
00:06the command emerge sudo emerge ask verbose update new use deep
00:16there is this argument that is yeah with bdeps this one is for updating more packages
00:25deeper goes deeper at world i get
00:33an error if we can say this one it's about the dependent the
00:40modules of apache that depend on the others this is a good opportunity for me to show you
00:47how to skip a specific package because if we try to run this command using the argument keep going
00:56keep going it doesn't
01:02resume the update after it gets interrupted by this
01:11you have two options the first one is the permanent option to skip
01:14this package which is going to slash etc slash portage slash package dot mask
01:22if it is a file simply go to package dot mask like this if it is a directory like me i have only one file
01:31in it you go to that file it can be anything you like to name it
01:36or you can name it with the name of the package or anything let's say we want to make call it
01:47apache for example let me copy the name and the category which is 3ws servers apache this one
01:57and we paste it here this should skip update in this package and when we save here and exit
02:10we should get a list of the packages that are gonna be updated
02:14however this is permanent
02:23the good thing about the package mask file or files is that you can also specify
02:30uh versions of packages that you would like to skip or i don't want to update for now there is this thing
02:40that asks for adding it to the package use never mind it i want to show you how to let's command this
02:52save and exit before that wait ctrl c we can specify for example a specific version let's say for example
03:022.02 for example if it is that one if you want the versions that are less than that
03:10it should be like this if you want the versions that are bigger it should be like this for us we simply
03:19commented since we want to run the command that updates the system and skips a specific package
03:26or packages in case they are more than one i have vmware here and it has some specific versions skip it
03:36the ones that are smaller or equal to 17.5.2 i showed you this in case the format of apache that i put in
03:45the file and the file is wrong so let's run this again double checking how the package will cause a
03:56conflict and we don't need keep going for now let me show you the argument that skips
04:07apache in my case it's this one you can put whatever you want you can have also here equal
04:16i don't know if you can have for example here commas let's try first with this it should
04:28skip apache for now okay let's say we want to skip another package i just wanted to test the commas there
04:39let's skip pte let's skip pte this one
04:51yes so here no n and try with commas like this
04:59yeah there is a problem in the syntax
05:09again i guess
05:11yes uh that's not the option we should specify exclude again like this
05:28i it's not as easy we have 299 upgrades let's see before
05:38i mean before we drop the update of
05:49vte so we have
05:52uh this is before and we have 340 which means vte is probably dropped its update as well as all its
06:04dependencies since it sounds like it says since it sounds like
06:08uh the the dependencies will update when the package itself is gonna update is updated as well so
06:22and here and i can finish the video please don't forget to subscribe like share and comment and peace
06:32um
06:45um
06:45um
06:46um
06:46um
06:46um
06:47um
06:47um
Be the first to comment
Add your comment

Recommended