Skip to player
Skip to main content
Search
Connect
Watch fullscreen
Like
Bookmark
Share
More
Add to Playlist
Report
Skip package update/install during gentoo update (includes package masking)
IT techni
Follow
2 months ago
Category
🤖
Tech
Transcript
Display full video transcript
00:00
what's up i haven't updated my gento system for a while and when i try to update it running
00:06
the command emerge sudo emerge ask verbose update new use deep
00:16
there is this argument that is yeah with bdeps this one is for updating more packages
00:25
deeper goes deeper at world i get
00:33
an error if we can say this one it's about the dependent the
00:40
modules of apache that depend on the others this is a good opportunity for me to show you
00:47
how to skip a specific package because if we try to run this command using the argument keep going
00:56
keep going it doesn't
01:02
resume the update after it gets interrupted by this
01:11
you have two options the first one is the permanent option to skip
01:14
this package which is going to slash etc slash portage slash package dot mask
01:22
if 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:31
in it you go to that file it can be anything you like to name it
01:36
or you can name it with the name of the package or anything let's say we want to make call it
01:47
apache for example let me copy the name and the category which is 3ws servers apache this one
01:57
and we paste it here this should skip update in this package and when we save here and exit
02:10
we should get a list of the packages that are gonna be updated
02:14
however this is permanent
02:23
the good thing about the package mask file or files is that you can also specify
02:30
uh versions of packages that you would like to skip or i don't want to update for now there is this thing
02:40
that asks for adding it to the package use never mind it i want to show you how to let's command this
02:52
save and exit before that wait ctrl c we can specify for example a specific version let's say for example
03:02
2.02 for example if it is that one if you want the versions that are less than that
03:10
it should be like this if you want the versions that are bigger it should be like this for us we simply
03:19
commented since we want to run the command that updates the system and skips a specific package
03:26
or packages in case they are more than one i have vmware here and it has some specific versions skip it
03:36
the 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:45
the file and the file is wrong so let's run this again double checking how the package will cause a
03:56
conflict and we don't need keep going for now let me show you the argument that skips
04:07
apache in my case it's this one you can put whatever you want you can have also here equal
04:16
i don't know if you can have for example here commas let's try first with this it should
04:28
skip apache for now okay let's say we want to skip another package i just wanted to test the commas there
04:39
let's skip pte let's skip pte this one
04:51
yes so here no n and try with commas like this
04:59
yeah there is a problem in the syntax
05:09
again i guess
05:11
yes uh that's not the option we should specify exclude again like this
05:28
i it's not as easy we have 299 upgrades let's see before
05:38
i mean before we drop the update of
05:49
vte so we have
05:52
uh this is before and we have 340 which means vte is probably dropped its update as well as all its
06:04
dependencies since it sounds like it says since it sounds like
06:08
uh the the dependencies will update when the package itself is gonna update is updated as well so
06:22
and here and i can finish the video please don't forget to subscribe like share and comment and peace
06:32
um
06:45
um
06:45
um
06:46
um
06:46
um
06:46
um
06:47
um
06:47
um
Be the first to comment
Add your comment
Recommended
5:13
|
Up next
Skip the emerge of failing packages during gentoo upgrade
IT techni
1 year ago
15:57
Mate desktop environment installation on gentoo
IT techni
1 year ago
3:27
Dbus error failed to open connection to session bus resolution on gentoo
IT techni
1 year ago
11:20
Turbo pascal on dosbox
IT techni
5 days ago
2:06
A potential fix for openshot crashing when importing mp4 file
IT techni
1 week ago
2:51
Run ikemen-go (mugen) on macOS
IT techni
1 week ago
20:51
Build your own fighting game on linux using mugen (ikemen-go)
IT techni
1 week ago
9:30
gtk-gnutella a cross-platform peer-to-peer client/server (with its installation on arch linux here)
IT techni
1 week ago
1:19
Fixing yay error while loading ... libalpm... no such file or directory
IT techni
1 week ago
13:51
Geomyidae gopher server setup and compilation on macos (not the best results)
IT techni
3 weeks ago
10:40
Brave browser setup using xbps-src on void linux (includes xbps-src setup)
IT techni
3 weeks ago
6:17
brave browser setup on void linux
IT techni
4 weeks ago
9:03
telnet client and server setup on gentoo
IT techni
4 weeks ago
9:09
Geomyidae gopher server setup on gentoo
IT techni
4 weeks ago
11:10
Geomyidae gopher server setup and compilation on linux
IT techni
5 weeks ago
8:11
Gophernicus gopher server setup and compilation on macos (didn't go well)
IT techni
5 weeks ago
11:00
xdeb-install: install any deb package on your void linux from anywhere
IT techni
5 weeks ago
3:11
retrieve netstat arp ifconfig etc commands on linux
IT techni
6 weeks ago
10:12
PL/I aka pl/1 compiler setup on linux
IT techni
6 weeks ago
6:23
Removing older kernels using vkpurge and generating initramfs for new ones (void linux)
IT techni
7 weeks ago
0:46
Fixing curl symbol lookup error undefined symbol /.../libcurl.so ngtcp2.... on void linux
IT techni
7 weeks ago
5:01
fixing error could not execute exec WPrefs
IT techni
2 months ago
5:12
windowmaker setup on archlinux
IT techni
2 months ago
7:34
VLC setup on slackware
IT techni
2 months ago
8:35
Fixing stuck at "loading linux....."
IT techni
2 months ago
Be the first to comment