Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: apt autocompletion issue
- X-seq: zsh-workers 44589
- From: "Daniel Shahaf" <danielsh@xxxxxxxxxx>
- To: "Hauser, Felix (MRT)" <felix.hauser@xxxxxxx>, "Oliver Kiddle" <okiddle@xxxxxxxxxxx>
- Subject: Re: apt autocompletion issue
- Date: Tue, 30 Jul 2019 13:02:54 +0000
- Cc: zsh-workers@xxxxxxx, pkg-zsh-devel@xxxxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=uitlk2zdIlO+JMNVyJm8K7xhEprs7aE2P1LAJ4VF0 2A=; b=LQY1bohyIJAORJOErEqg75Vb3EG2l0zz+ufe/tjbHoZ9pF7LzKHFM2jTf sT85tpbHFUXkQEvygghYuYmuFlT2/mCsIPCklseij+oyiIF8iYnD5c9lc3bgFnmz moKCDF6ITHFuJSPCAB8YjZNESvzchXvu2JxvKDsYHEQjo643rmEz+nTtBZ4Zzc0a ThiXbDJfjDzXtdh8yy4Hdt3q7mY8qxBPDiDToZVXTbkCrz9sYW5ARE6IjPfrX6G/ tSJ0r4m92B7P3WCtbZiRFit9S1UNKpKJLRdnwyf61XwudOVfp/LhAqHrqmmSkwEy 2ZHAqJRUtbsnLymzTkGW8OwtZfjeQ==
- In-reply-to: <5fb63e1b-7dc1-63cf-9a55-31fa5b4b423a@kit.edu>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <71694f56-b34d-d1d7-51a4-16aa937a26cc@kit.edu> <79188-1564444425.709181@h-V7.a7lO.lIR7> <5fb63e1b-7dc1-63cf-9a55-31fa5b4b423a@kit.edu>
Hauser, Felix (MRT) wrote on Tue, 30 Jul 2019 11:50 +00:00:
> --upgradeable Do not know the option for this one. Result should be a
> list of all packages that can be updated by "apt upgrade".
«aptitude search -F %p '?upgradable'» would print the right set of
packages, I think, but aptitude isn't part of a minimal installation so
can't be assumed available.
I'm not sure what's the best way to answer this question on a minimal
installation. One _could_ parse the output of «apt-cache policy \*»,
but I hope there's a better way...
Cc += Debian zsh packagers. tl;dr: What apt(7) command generates
the right set of packages to be completed after «apt list --upgradable <TAB>»?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author