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

Damjan Georgievski gdamjan at gmail.com
Sun Aug 30 17:18:54 UTC 2020


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.

I agree that the option is a bit heavy handed (the cli one too) - but
these situations will arise (unneeded deps),
and I was wondering about the pacstrap use-case and couldn't think of
anything better.

> One alternative would be to create a dummy package providing it.
>
> That being said, I'm not necessarily saying this must be rejected...
>
> aside: for perl, see https://bugs.archlinux.org/task/54887

I know that issue (hint: see the reporter)
:)


-- 
damjan


More information about the pacman-dev mailing list