[pacman-dev] [PATCH 0/1] Introduce "AssumeInstalled" option in the config file

Andrew Gregory andrew.gregory.8 at gmail.com
Fri Sep 4 01:35:31 UTC 2020


On 09/03/20 at 12:17pm, Damjan Georgievski wrote:
> On Sun, 30 Aug 2020 at 19:13, Eli Schwartz <eschwartz at archlinux.org> wrote:
> >
> > On 8/30/20 1:07 PM, Дамјан Георгиевски wrote:
> > > I have had at least two or three use cases for this option,
> > > * one has been since I always have to type
> > >   pacman -Syu --assume-installed noto-fonts when plasma-integration is updated
> > > * `pacman -Syu --assume-installed perl` since it's needlesly pulled by openssl
> > >   and I didn't need it for containers and similar
> > >
> > > Having this in the config file allows to use the option together with pacstrap too.
> > >
> > > Please review and if the change is acceptable suggest what else needs to be added
> >
> > I'm not sure it's a good idea to encourage this in the general case.
> > Supporting it only as a command-line option is still useful since it can
> > help resolve certain types of manual itervention.
> 
> maybe I should remove it from etc/pacman.conf.in so in essence it can
> be a hidden option?
> 
> I still think that CLI options should be able to be specified in a
> config file (or possibly env vars).

Without a better use case, I'm -1 on this.  --assume-installed was
intended for ignoring individual dependencies in exceptional
circumstances, not permanently ignore a dependency you don't like.
The preferred way of dealing with that, should you feel the need, is
with a meta package.


More information about the pacman-dev mailing list