Skip to content

u/oroep

In this archive from May 2014 to Jul 2019

16
posts
37
comments
0
media
338
score

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.

1 points

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?

1 points

In case somebody else is bothered by this, I wrote the following script to upgrade my system:

#!/bin/bash
pacman -Sy
KDE_MINOR_VERSION="$(pacman -Q libkmahjongg | sed -r 's/^libkmahjongg ([0-9]+\.[0-9]+)\.[0-9]+-[0-9]+/\1/g')"
IGNORE_PKGS="$(pacman -Qu | grep -E "${KDE_MINOR_VERSION}\.[0-9]+-[0-9]+" | cut -d' ' -f1 | tr '\n' ',')"
pacman -Su --ignore "${IGNORE_PKGS}"

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).

1 points

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...

[2012-08-07 10:41] upgraded kdegames-libkmahjongg (4.8.4-1 -> 4.9.0-1)
[2012-09-06 16:35] upgraded kdegames-libkmahjongg (4.9.0-1 -> 4.9.1-1)
[2012-10-04 14:53] upgraded kdegames-libkmahjongg (4.9.1-1 -> 4.9.2-1)
[2012-12-06 23:13] upgraded kdegames-libkmahjongg (4.9.3-1 -> 4.9.4-1)
[2013-01-07 20:35] upgraded kdegames-libkmahjongg (4.9.4-1 -> 4.9.5-1)
[2013-02-11 18:49] removed kdegames-libkmahjongg (4.9.5-1)
[2013-02-11 18:52] installed libkmahjongg (4.10.0-1)
[2013-03-11 03:20] upgraded libkmahjongg (4.10.0-1 -> 4.10.1-1)
[2013-04-07 14:41] [PACMAN] upgraded libkmahjongg (4.10.1-1 -> 4.10.2-1)
[2013-05-10 00:58] [PACMAN] upgraded libkmahjongg (4.10.2-1 -> 4.10.3-1)
[2013-06-10 02:50] [PACMAN] upgraded libkmahjongg (4.10.3-1 -> 4.10.4-1)
[2013-07-04 00:12] [PACMAN] upgraded libkmahjongg (4.10.4-1 -> 4.10.5-1)
[2013-08-22 14:58] [PACMAN] upgraded libkmahjongg (4.10.5-1 -> 4.11.0-1)
[2013-09-15 18:30] [PACMAN] upgraded libkmahjongg (4.11.0-1 -> 4.11.1-1)
[2013-10-06 23:12] [PACMAN] upgraded libkmahjongg (4.11.1-1 -> 4.11.2-1)
[2013-11-08 01:59] [PACMAN] upgraded libkmahjongg (4.11.2-1 -> 4.11.3-1)
[2013-12-10 02:16] [PACMAN] upgraded libkmahjongg (4.11.3-1 -> 4.11.4-1)
[2013-12-26 01:00] [PACMAN] upgraded libkmahjongg (4.11.4-1 -> 4.12.0-1)
[2014-01-18 05:16] [PACMAN] upgraded libkmahjongg (4.12.0-1 -> 4.12.1-1)
[2014-03-05 23:25] [PACMAN] upgraded libkmahjongg (4.12.1-1 -> 4.12.2-1)
[2014-03-30 08:02] [PACMAN] upgraded libkmahjongg (4.12.2-1 -> 4.12.3-1)
[2014-04-08 03:34] [PACMAN] upgraded libkmahjongg (4.12.3-1 -> 4.12.4-1)
[2014-04-24 23:47] [PACMAN] upgraded libkmahjongg (4.12.4-1 -> 4.13.0-1)
[2014-05-22 18:08] [PACMAN] upgraded libkmahjongg (4.13.0-1 -> 4.13.1-1)
[2014-06-14 01:25] [PACMAN] upgraded libkmahjongg (4.13.1-1 -> 4.13.2-1)
[2014-07-23 00:49] [PACMAN] upgraded libkmahjongg (4.13.2-1 -> 4.13.3-1)
[2014-08-22 18:15] [PACMAN] upgraded libkmahjongg (4.13.3-1 -> 4.14.0-1)
[2014-09-28 16:49] [PACMAN] upgraded libkmahjongg (4.14.0-1 -> 4.14.1-1)
[2014-11-28 13:55] [PACMAN] upgraded libkmahjongg (4.14.1-1 -> 4.14.3-1)
[2015-02-14 18:30] [ALPM] upgraded libkmahjongg (4.14.3-1 -> 14.12.2-1)
[2015-03-12 02:58] [ALPM] upgraded libkmahjongg (14.12.2-1 -> 14.12.3-1)
[2015-07-11 20:18] [ALPM] installed libkmahjongg4 (14.12.3-2)
[2015-07-11 20:18] [ALPM] upgraded libkmahjongg (14.12.3-1 -> 15.04.3-1)
[2015-08-30 23:44] [ALPM] upgraded libkmahjongg (15.04.3-1 -> 15.08.0-1)
[2015-11-05 22:21] [ALPM] upgraded libkmahjongg (15.08.0-1 -> 15.08.2-1)
[2016-04-02 18:37] [ALPM] upgraded libkmahjongg4 (14.12.3-2 -> 14.12.3-3)
[2016-04-02 18:37] [ALPM] upgraded libkmahjongg (15.08.2-1 -> 15.12.3-1)
[2016-04-23 23:17] [ALPM] removed libkmahjongg4 (14.12.3-3)
[2016-04-23 23:17] [ALPM] upgraded libkmahjongg (15.12.3-1 -> 16.04.0-1)
[2016-05-12 21:19] [ALPM] upgraded libkmahjongg (16.04.0-1 -> 16.04.1-1)
[2016-06-16 18:58] [ALPM] upgraded libkmahjongg (16.04.1-1 -> 16.04.2-1)
[2016-07-13 02:08] [ALPM] upgraded libkmahjongg (16.04.2-1 -> 16.04.3-1)
[2016-09-02 12:54] [ALPM] upgraded libkmahjongg (16.04.3-1 -> 16.08.0-1)
[2016-09-09 09:24] [ALPM] upgraded libkmahjongg (16.08.0-1 -> 16.08.1-1)
[2016-10-15 01:23] [ALPM] upgraded libkmahjongg (16.08.1-1 -> 16.08.2-1)
[2016-11-15 02:08] [ALPM] upgraded libkmahjongg (16.08.2-1 -> 16.08.3-1)
[2016-12-18 21:59] [ALPM] upgraded libkmahjongg (16.08.3-1 -> 16.12.0-1)
[2017-01-16 19:47] [ALPM] upgraded libkmahjongg (16.12.0-1 -> 16.12.1-1)
[2017-02-18 17:50] [ALPM] upgraded libkmahjongg (16.12.1-1 -> 16.12.2-1)
[2017-03-22 11:41] [ALPM] upgraded libkmahjongg (16.12.2-1 -> 16.12.3-1)
[2017-04-26 23:05] [ALPM] upgraded libkmahjongg (16.12.3-1 -> 17.04.0-1)
[2017-05-12 04:12] [ALPM] upgraded libkmahjongg (17.04.0-1 -> 17.04.1-1)
[2017-06-24 11:52] [ALPM] upgraded libkmahjongg (17.04.1-1 -> 17.04.2-1)
[2017-07-18 16:05] [ALPM] upgraded libkmahjongg (17.04.2-1 -> 17.04.3-1)
[2017-08-22 11:22] [ALPM] upgraded libkmahjongg (17.04.3-1 -> 17.08.0-1)
[2017-09-08 01:25] [ALPM] upgraded libkmahjongg (17.08.0-1 -> 17.08.1-1)
[2017-10-19 22:16] [ALPM] upgraded libkmahjongg (17.08.1-1 -> 17.08.2-1)
[2017-11-19 12:15] [ALPM] upgraded libkmahjongg (17.08.2-1 -> 17.08.3-1)
[2017-12-17 22:22] [ALPM] upgraded libkmahjongg (17.08.3-1 -> 17.12.0-1)
[2018-01-11 21:48] [ALPM] upgraded libkmahjongg (17.12.0-1 -> 17.12.1-1)
[2018-02-09 06:43] [ALPM] upgraded libkmahjongg (17.12.1-1 -> 17.12.2-1)
[2018-03-08 16:32] [ALPM] upgraded libkmahjongg (17.12.2-1 -> 17.12.3-1)
[2018-04-23 22:28] [ALPM] upgraded libkmahjongg (17.12.3-1 -> 18.04.0-1)
[2018-05-12 10:59] [ALPM] upgraded libkmahjongg (18.04.0-1 -> 18.04.1-1)
[2018-06-10 11:13] [ALPM] upgraded libkmahjongg (18.04.1-1 -> 18.04.2-1)
[2018-07-13 14:15] [ALPM] upgraded libkmahjongg (18.04.2-1 -> 18.04.3-1)
[2018-08-20 01:13] [ALPM] upgraded libkmahjongg (18.04.3-1 -> 18.08.0-1)
[2018-09-06 20:13] [ALPM] upgraded libkmahjongg (18.08.0-1 -> 18.08.1-1)
[2018-10-12 00:03] [ALPM] upgraded libkmahjongg (18.08.1-1 -> 18.08.2-1)
[2018-11-08 18:07] [ALPM] upgraded libkmahjongg (18.08.2-1 -> 18.08.3-1)
[2018-12-15 02:13] [ALPM] upgraded libkmahjongg (18.08.3-1 -> 18.12.0-1)
[2019-01-10 16:30] [ALPM] upgraded libkmahjongg (18.12.0-1 -> 18.12.1-1)
1 points

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.

2 points

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.

3 points

I'm arriving late, but what about...

You're supposed to always have all the packages from base installed (and from base-devel if you're planning to build something). And everybody always gives a pacman -S base when first installing they system.

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...

13 points

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).

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?

1 points

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?

1 points

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.

1 points

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.

2 points

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.

Sorry for the rant :3

2 points

Thanks for the help!

Sadly I can't get it working...

/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!

1 points

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:

  • 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 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.

3 points

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.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.