[arch-general] pacman --assume-installed in a config file?
I often find myself using the `assume-installed`[1] option of pacman when doing upgrades, since I want to avoid some (for me) nonsensical dependencies to be installed. Is it possible to configure this in some config file, so I don't have to remember to type it all the time? [1] sudo pacman -Syu --assume-installed noto-fonts noto-fonts is pulled as a dependency of plasma-integration, but I don't want it installed since it takes over the default fonts (ships an aggressive fontconfig configuration) for many websites, and looks quite bad *for me* (on a 14" FHD display). It's also a 90MB package I don't need. -- damjan
On Thu, 18 Jun 2020 15:30:24 +0200 Damjan Georgievski via arch-general <arch-general@archlinux.org> wrote:
I often find myself using the `assume-installed`[1] option of pacman when doing upgrades, since I want to avoid some (for me) nonsensical dependencies to be installed.
Is it possible to configure this in some config file, so I don't have to remember to type it all the time?
[1] sudo pacman -Syu --assume-installed noto-fonts
noto-fonts is pulled as a dependency of plasma-integration, but I don't want it installed since it takes over the default fonts (ships an aggressive fontconfig configuration) for many websites, and looks quite bad *for me* (on a 14" FHD display). It's also a 90MB package I don't need.
Make a dummy package that provides it.
On Thu, 18 Jun 2020 at 14:31, Damjan Georgievski via arch-general < arch-general@archlinux.org> wrote:
I often find myself using the `assume-installed`[1] option of pacman when doing upgrades, since I want to avoid some (for me) nonsensical dependencies to be installed.
Is it possible to configure this in some config file, so I don't have to remember to type it all the time?
At the risk of sounding facetious: alias pacmans=pacman --asume-installed In your bashrc? Then you just need to type 1 extra letter
On 6/18/20 9:30 AM, Damjan Georgievski via arch-general wrote:
I often find myself using the `assume-installed`[1] option of pacman when doing upgrades, since I want to avoid some (for me) nonsensical dependencies to be installed.
Is it possible to configure this in some config file, so I don't have to remember to type it all the time?
You could create a dummy package for it, I guess.
noto-fonts is pulled as a dependency of plasma-integration, but I don't want it installed since it takes over the default fonts (ships an aggressive fontconfig configuration) for many websites, and looks quite bad *for me* (on a 14" FHD display). It's also a 90MB package I don't need.
Hmm, I wonder why it is a hard dependency instead of being used via ttf-font? -- Eli Schwartz Bug Wrangler and Trusted User
noto-fonts is pulled as a dependency of plasma-integration, but I don't want it installed since it takes over the default fonts (ships an aggressive fontconfig configuration) for many websites, and looks quite bad *for me* (on a 14" FHD display). It's also a 90MB package I don't need.
Hmm, I wonder why it is a hard dependency instead of being used via ttf-font?
I guess it's because plasma-integration ships a /usr/share/kconf_update/fonts_global.pl script that does some font replacements. https://github.com/KDE/plasma-integration/blob/master/src/platformtheme/font... -- damjan
On 6/18/20 9:56 AM, Damjan Georgievski via arch-general wrote:
noto-fonts is pulled as a dependency of plasma-integration, but I don't want it installed since it takes over the default fonts (ships an aggressive fontconfig configuration) for many websites, and looks quite bad *for me* (on a 14" FHD display). It's also a 90MB package I don't need.
Hmm, I wonder why it is a hard dependency instead of being used via ttf-font?
I guess it's because plasma-integration ships a /usr/share/kconf_update/fonts_global.pl script that does some font replacements.
https://github.com/KDE/plasma-integration/blob/master/src/platformtheme/font...
That seems a bit confusing :/ since it appears to only be used when migrating away from a previously configured Oxygen selection. Does anything else actually hardcode this? This dependency IMO should have been a post_upgrade message or a noto-fonts replaces=() or something. -- Eli Schwartz Bug Wrangler and Trusted User
Am 18.06.20 um 16:26 schrieb Eli Schwartz via arch-general:
That seems a bit confusing :/ since it appears to only be used when migrating away from a previously configured Oxygen selection. Does anything else actually hardcode this? This dependency IMO should have been a post_upgrade message or a noto-fonts replaces=() or something.
Noto Sans and Hack are set as the default fonts here: https://github.com/KDE/plasma-integration/blob/f30c8ca7c5c8576b8faf8e1d23cd5... Those fonts are also explicitly listed as dependencies in CMakeLists, but that could be disabled as well: https://github.com/KDE/plasma-integration/blob/663d13e9fe9ea61d368bb5de73d1e... -- Andy
participants (5)
-
Andy Pieters
-
Damjan Georgievski
-
Doug Newgard
-
Eli Schwartz
-
ProgAndy