Sure, but it's very very unlikely that something will actually break because some KDE libs are a few patch versions behind.
As an example, the libkmahjongg 18.12.1-1 I have installed provides /usr/lib/libKF5KMahjongglib.so.5.0.0. I'm extremely confident that libkmahjongg 18.12.2-1 will provide the same file (or in the very worst case, something 100% ABI compatible).
I'd be happy to use IgnoreGroup (although I wish to ignore patch version changes only), but many KDE packages don't belong to any group.
Eventually I wrote a script that --ignores all the packages whose major.minor version is the same as KDE's stuff. It's a ugly hack, but I think it'll do it.
You don't need to restart if you don't care about the changes
Often you do need to re-login.
So so many times, after upgrading KDE packages, many functionalities of my plasma desktop broke until the next login.
I lost the count of how many times I had to log in on TTY2 to run loginctl unlock-sessions because KDE's screensaver stopped working properly.
Am I the only one?
Thanks for the tip, but unfortunately it only reduces the download size (as long as you have an older version of the same packages installed).
I'd prefer to just avoid upgrading KDE packages at all.
Eventually I decided to compute the list of KDE packages and --ignore them using a bash script (see here).
This will upgrade everything except those packages whose MAJOR.MINOR version is the same as the installed libkmahjongg (I just needed any package from the KDE suite).
I just tried to grep in my pacman.log one completely random package that pacman is trying to upgrade, just to have an idea of how many times this happens.
Yeah... You know, I think I might even prefer an ARM CPU or a passively cooled pentium/celeron to this AMD A8... But I couldn't find any comparably good deals for Chromebooks.
The laptop I'm looking at is a 14", with 8GB of RAM (expandable to 16) and a 1080p display. These are hard requirements for me.
It costs between 200$ and 250$ refurbished, depending on its condition.
Sometimes those packages change, yes. An example is pcmciautils, which was removed from base (and from the repos altogether) in June this year.
In any case, I mostly want these meta packages in order to have a cleaner pacman database. I often look at the explicitly installed packages (pacman -Qe) and remove the stuff I'm no longer using. I don't want the packages from base to be listed there, since it's 49 of them (+26 for base-devel), and I don't even know what many are.
So why there's no meta package for those groups? I want the software leaving base to be no longer explicitly installed on my system, and the software joining base to get automatically installed...
It's way way more readable, just like normal text is more readable. Have you ever tried to read a blog post or an article written in a monospaced font? Code is 90% words, and once you get used to proportional font it feels so much easier to read.
As a bonus it saves some space, because proportional font tends to save space (some letters like W are usually wider, but most ones are narrower than monospaced chars).
Somebody claims that monospaced fonts are needed in order to vertically select text (something that I personally never do), or to vertically align text (like aligning variable names/values, comments or the fields of a markdouwn/latex table), and this can achieved with elastic tabstops.
Unless you have some artificial restriction on the relative length of code (e.g. a line limit of 80 chars) a proportional font makes code easier to read (just like it makes text easier to read, since code is mostly text) and fits more characters in the width of a line. You can easily even have vertical alignment and selection and stuff like nicely aligned markdown/latex tables with something like elastic tabstops.
Yes, the --onlydeps would do exactly what groups let you do now, and I suggested it because it would offer exactly the same functionality some people want while simplifying things a little (e.g. the whole concept of groups would be no longer needed, as well with a few options) and would be more powerful/generic (since it could also be used for non-meta packages).
I understand your points. I think that if you want to install base without xfsprogs you should do that, and you should have tools to do it easily and quickly.
Still I and a bunch of other people (the 2 other commenters of this thread, the people who started this thread and this one, and possibly many more) prefer meta packages to groups, and I can't understand why we should rely to hand-crafted scripts to run manually or hard to maintain AUR packages rather than having an official tool that would be trivial to implement.
Often I see people installing whole groups (heck, the installation guide suggests to install the whole base; google finds 5k results for "pacman -S base-devel"), and if that's the trend, I'd rather go with a meta package...
The whole points of groups is being able to selectively uninstall members after installing the group?
Wouldn't it be easier and more generic and powerful to have meta-packages and an option for pacman to request the installation of all the dependencies of a package without the package itself? Something like pacman --sync --onlydeps $package (or pacman -So $package). It would be functionally identical to installing a group, could deprecate some then-unnecessary options and symbols from pacman and libalpm and well, we'd have meta-packages for who prefers them.
One small thing that bothers me about groups is seeing a huge list of explicitly installed packages (pacman -Qe), most of which I never even heard of. I had 503, and after some hours of cleanup went down to 73 packages: now I know each of them, actively want them all installed and it would be so easy to install what I need on a new system. I'm OK with having lots of useless packages installed as dependencies, but care a lot about knowing what I chose to install on my systems.
If I'm installing(/removing) a whole group is because I don't really care about cherry picking its content: I'm needing some of it now, will likely happen to use something else in the future, and don't care if I'm never gonna use the rest. I want it to stay up to date and want every small sub package to be a dependency of the group, not a first class explicitly installed package. This is true for every group: for KDE (I'm even considering to make a kde-meta package that requires the 15 meta packages I have installed for the KDE stuff, gee...) as much as for base.
I understand that people might prefer groups, and for this reason I think groups should exist. I'd be very weirded out if I were the only person wishing a base-meta package though.
/dev/dri/card1 doesn't appear after I unbind the card from VFIO, although dmesg confirms the card was freed, I can load nvidia and this makes /dev/nvidia0 appear.
Also I was unable to run an X server using the nvidia card: X keeps spawning on the monitor connected to the intel one!
In case anybody wants to keep digging, here is what I did so far:
bumblebee seems to work out of the box: configuring it was trivial for me (just had to add my user to the bumblebee group and start the bumblebeed service). It won't let you use the PCIe VGA's video output, but rather have it render in a framebuffer that is then displayed on the Xorg display handled by the iGPU.
nvidia-libgl is probably not needed, so mesa-libgl can be installed: all the modules and libraries necessary for nvidia to run are already installed by libglvnd (dependencies of the nvidia package). I believe that in order to have the hardware-accelerated applications use them you should set LD_LIBRARY_PATH=/usr/lib/nvidia/.
An xorg configuration file should also be created, and it should have a "Files" section containing ModulePath "/usr/lib/nvidia/xorg/modules". It might then be possible to start a new Xorg display with something like startx /usr/bin/xterm -- -config xorg.nvidia.conf :1 (where /usr/bin/xterm is the program you want to run as root window for the new display, and xorg.nvidia.conf is the Xorg configuration file: it's a path relative to /etc/X11.)
I'm planning to use PCI passthrough and let a virtual machine (running a windows guest) take full control of the GTX to play some games.
This would force me to use the integrated for the Linux host. If I want to use the GTX for a Linux system, I either need to find a way to use both VGAs or I'd need to set up a Linux guest in a virtual machine and give it the GTX. I'd prefer to go with the first option, if possible.
I just tried using
xf86-input-synapticsand it works fine with it.Sure, but it's very very unlikely that something will actually break because some KDE libs are a few patch versions behind.
As an example, the
libkmahjongg 18.12.1-1I have installed provides/usr/lib/libKF5KMahjongglib.so.5.0.0. I'm extremely confident thatlibkmahjongg 18.12.2-1will provide the same file (or in the very worst case, something 100% ABI compatible).I'd be happy to use
IgnoreGroup(although I wish to ignore patch version changes only), but many KDE packages don't belong to any group.Eventually I wrote a script that
--ignores all the packages whose major.minor version is the same as KDE's stuff. It's a ugly hack, but I think it'll do it.Often you do need to re-login.
So so many times, after upgrading KDE packages, many functionalities of my plasma desktop broke until the next login.
I lost the count of how many times I had to log in on TTY2 to run
loginctl unlock-sessionsbecause KDE's screensaver stopped working properly.Am I the only one?
Thanks for the tip, but unfortunately it only reduces the download size (as long as you have an older version of the same packages installed).
I'd prefer to just avoid upgrading KDE packages at all.
Eventually I decided to compute the list of KDE packages and
--ignorethem using a bash script (see here).In case somebody else is bothered by this, I wrote the following script to upgrade my system:
This will upgrade everything except those packages whose
MAJOR.MINORversion is the same as the installedlibkmahjongg(I just needed any package from the KDE suite).There are tons of other things to a distribution, than the release process of KDE packages.
I just tried to grep in my pacman.log one completely random package that pacman is trying to upgrade, just to have an idea of how many times this happens.
The result is once a month, pretty reliably...
Install earlyoom from AUR and start/enable it:
It's a script running in user space that will kill memory hungry processes when you're close to run out of RAM.
I'm not sure why Linux OOM killer is so buggy... I've had problems with it for longer than a decade, but earlyoom is now protecting my system.
Yeah... You know, I think I might even prefer an ARM CPU or a passively cooled pentium/celeron to this AMD A8... But I couldn't find any comparably good deals for Chromebooks.
The laptop I'm looking at is a 14", with 8GB of RAM (expandable to 16) and a 1080p display. These are hard requirements for me.
It costs between 200$ and 250$ refurbished, depending on its condition.
I'm aware that the CPU is quite old, but I'm looking for a budget laptop...
Sometimes those packages change, yes. An example is
pcmciautils, which was removed frombase(and from the repos altogether) in June this year.In any case, I mostly want these meta packages in order to have a cleaner pacman database. I often look at the explicitly installed packages (
pacman -Qe) and remove the stuff I'm no longer using. I don't want the packages frombaseto be listed there, since it's 49 of them (+26 forbase-devel), and I don't even know what many are.I'm arriving late, but what about...
You're supposed to always have all the packages from
baseinstalled (and frombase-develif you're planning to build something). And everybody always gives apacman -S basewhen first installing they system.So why there's no meta package for those groups? I want the software leaving
baseto be no longer explicitly installed on my system, and the software joiningbaseto get automatically installed...It's way way more readable, just like normal text is more readable. Have you ever tried to read a blog post or an article written in a monospaced font? Code is 90% words, and once you get used to proportional font it feels so much easier to read.
As a bonus it saves some space, because proportional font tends to save space (some letters like
Ware usually wider, but most ones are narrower than monospaced chars).Here a couple of screenshots to see a comparison: proportional font and monospaced font taken from this StackOverflow answer about the topic.
Somebody claims that monospaced fonts are needed in order to vertically select text (something that I personally never do), or to vertically align text (like aligning variable names/values, comments or the fields of a markdouwn/latex table), and this can achieved with elastic tabstops.
Why do you prefer a monospaced font?
Because I don't program in ascii art.
Unless you have some artificial restriction on the relative length of code (e.g. a line limit of 80 chars) a proportional font makes code easier to read (just like it makes text easier to read, since code is mostly text) and fits more characters in the width of a line. You can easily even have vertical alignment and selection and stuff like nicely aligned markdown/latex tables with something like elastic tabstops.
Google has half a million links on the topic.
Why exactly do you use a monospaced font?
Uh. I'm an idiot.
Apparently "fixed-width" is a synonym for "monospaced", while I thought it meant the opposite.
I'm looking for a proportional font.
It looks like that's a monospaced font though.
I'm looking for some fixed-width or proportional ones.
Yes, the
--onlydepswould do exactly what groups let you do now, and I suggested it because it would offer exactly the same functionality some people want while simplifying things a little (e.g. the whole concept of groups would be no longer needed, as well with a few options) and would be more powerful/generic (since it could also be used for non-meta packages).I understand your points. I think that if you want to install
basewithoutxfsprogsyou should do that, and you should have tools to do it easily and quickly.Still I and a bunch of other people (the 2 other commenters of this thread, the people who started this thread and this one, and possibly many more) prefer meta packages to groups, and I can't understand why we should rely to hand-crafted scripts to run manually or hard to maintain AUR packages rather than having an official tool that would be trivial to implement.
Often I see people installing whole groups (heck, the installation guide suggests to install the whole
base; google finds 5k results for"pacman -S base-devel"), and if that's the trend, I'd rather go with a meta package...The whole points of groups is being able to selectively uninstall members after installing the group?
Wouldn't it be easier and more generic and powerful to have meta-packages and an option for pacman to request the installation of all the dependencies of a package without the package itself? Something like
pacman --sync --onlydeps $package(orpacman -So $package). It would be functionally identical to installing a group, could deprecate some then-unnecessary options and symbols from pacman and libalpm and well, we'd have meta-packages for who prefers them.Great to hear I'm not the only one! I also found this forum post asking for the same thing.
Check out base-meta and base-devel-meta from AUR.
I'd love it if they were officially supported.
One small thing that bothers me about groups is seeing a huge list of explicitly installed packages (
pacman -Qe), most of which I never even heard of. I had 503, and after some hours of cleanup went down to 73 packages: now I know each of them, actively want them all installed and it would be so easy to install what I need on a new system. I'm OK with having lots of useless packages installed as dependencies, but care a lot about knowing what I chose to install on my systems.If I'm installing(/removing) a whole group is because I don't really care about cherry picking its content: I'm needing some of it now, will likely happen to use something else in the future, and don't care if I'm never gonna use the rest. I want it to stay up to date and want every small sub package to be a dependency of the group, not a first class explicitly installed package. This is true for every group: for KDE (I'm even considering to make a
kde-metapackage that requires the 15 meta packages I have installed for the KDE stuff, gee...) as much as forbase.I understand that people might prefer groups, and for this reason I think groups should exist. I'd be very weirded out if I were the only person wishing a
base-metapackage though.Sorry for the rant :3
It shouldn't be tough to automatically generate a
${group}-metapackage for each group. I can work on that.Would it be useful though? If I'm the only one caring about this I wouldn't bother.
Thanks for the help!
Sadly I can't get it working...
/dev/dri/card1doesn't appear after I unbind the card from VFIO, althoughdmesgconfirms the card was freed, I can loadnvidiaand this makes/dev/nvidia0appear.Also I was unable to run an X server using the nvidia card: X keeps spawning on the monitor connected to the intel one!
I am using UEFI.
I'm (temporarily?) giving up since the ArchWiki seems to suggest it would be tough to use the PCIe both on the host and on the guest.
In case anybody wants to keep digging, here is what I did so far:
bumblebeegroup and start thebumblebeedservice). It won't let you use the PCIe VGA's video output, but rather have it render in a framebuffer that is then displayed on the Xorg display handled by the iGPU.nvidia-libglis probably not needed, somesa-libglcan be installed: all the modules and libraries necessary fornvidiato run are already installed bylibglvnd(dependencies of thenvidiapackage). I believe that in order to have the hardware-accelerated applications use them you should setLD_LIBRARY_PATH=/usr/lib/nvidia/.An xorg configuration file should also be created, and it should have a
"Files"section containingModulePath "/usr/lib/nvidia/xorg/modules". It might then be possible to start a new Xorg display with something likestartx /usr/bin/xterm -- -config xorg.nvidia.conf :1(where/usr/bin/xtermis the program you want to run as root window for the new display, andxorg.nvidia.confis the Xorg configuration file: it's a path relative to/etc/X11.)I didn't manage to have two Xorg displays (one handled by the intel iGPU and one by the nvidia) running at the same time because (maybe?) of this error:
VGA arbiter: cannot open kernel arbiter, no multi-card support: it looks like using two video cards at the same time might be tough, require extra kernel modules, and degrade performances on the iGPU.I'm planning to use PCI passthrough and let a virtual machine (running a windows guest) take full control of the GTX to play some games.
This would force me to use the integrated for the Linux host. If I want to use the GTX for a Linux system, I either need to find a way to use both VGAs or I'd need to set up a Linux guest in a virtual machine and give it the GTX. I'd prefer to go with the first option, if possible.