Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [EXTERNAL] Re: Unexpected installation of SQLite during "sudo dnf autoremove" command
- X-seq: zsh-workers 51923
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Mirko Matošin <mirko.matosin@xxxxxxxxxxxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: [EXTERNAL] Re: Unexpected installation of SQLite during "sudo dnf autoremove" command
- Date: Tue, 11 Jul 2023 22:53:04 +0200
- Archived-at: <https://zsh.org/workers/51923>
- In-reply-to: <CAH+w=7bu8RaA4pMw4mm1+Z4vekWxx7QsBc1VjDfuavMJBSspRA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <66435637-82c1-464e-85fb-bd3cd485052e.f0af137d-67f0-47ab-b7f8-5e0e70df6b34.3dfd4d24-34e4-4553-a1f5-ce63b21694b3@emailsignatures365.codetwo.com> <66435637-82c1-464e-85fb-bd3cd485052e.95e17f34-409d-4b8c-b99b-e6635451f7ff.245922ee-0718-4a4c-94a2-58ad892ba0fd@emailsignatures365.codetwo.com> <BE1P281MB259319CA403736568BBE4F92DC31A@BE1P281MB2593.DEUP281.PROD.OUTLOOK.COM> <CAN=4vMo+b6zzrfshTOW=Ju5=80JjbDLj5ACkH0Q+FQvbkwLYaw@mail.gmail.com> <BE1P281MB2593EBF3C354B13BB73BF4A3DC31A@BE1P281MB2593.DEUP281.PROD.OUTLOOK.COM> <CAH+w=7bu8RaA4pMw4mm1+Z4vekWxx7QsBc1VjDfuavMJBSspRA@mail.gmail.com>
On Tue, Jul 11, 2023 at 6:26 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Tue, Jul 11, 2023 at 1:12 AM Mirko Matošin
> <mirko.matosin@xxxxxxxxxxxxxxxx> wrote:
> >
> > As soon as i hit tab after autoremove it wants to install sqlite
>
> I'm reasonably sure this is not a problem with zsh or completion per
> se, but rather that the packaged OS vendor installation includes a
> command-not-found handler that invokes the package manager.
_dnf invokes sqlite3 as an optimization. There is a fallback branch
that does not require this command. However, the optimization branch
may be taken even when sqlite3 is missing. This is a bug in _dnf.
Either of the two patches posted here will fix it.
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author