From: "Daniel Shahaf" <danielsh@apache.org>
To: "Hauser, Felix (MRT)" <felix.hauser@kit.edu>,
"Oliver Kiddle" <okiddle@yahoo.co.uk>
Cc: zsh-workers@zsh.org, pkg-zsh-devel@alioth-lists.debian.net
Subject: Re: apt autocompletion issue
Date: Tue, 30 Jul 2019 13:02:54 +0000 [thread overview]
Message-ID: <325f29f5-fc1c-46fb-94eb-5c6589536652@www.fastmail.com> (raw)
In-Reply-To: <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>»?
next prev parent reply other threads:[~2019-07-30 13:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-26 16:20 Hauser, Felix (MRT)
2019-07-29 23:53 ` Oliver Kiddle
2019-07-30 11:49 ` Hauser, Felix (MRT)
2019-07-30 13:02 ` Daniel Shahaf [this message]
2019-07-30 14:53 ` Axel Beckert
2019-07-30 22:13 ` Oliver Kiddle
2019-07-30 23:21 ` aptitude vs apt vs apt-get (was: Re: [Pkg-zsh-devel] apt autocompletion issue) Axel Beckert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=325f29f5-fc1c-46fb-94eb-5c6589536652@www.fastmail.com \
--to=danielsh@apache.org \
--cc=felix.hauser@kit.edu \
--cc=okiddle@yahoo.co.uk \
--cc=pkg-zsh-devel@alioth-lists.debian.net \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).