[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: just show which packages have updates available?

On 2005-10-24 10:34:19, Matthew Lenz wrote:
> is there a set of command parameters to aptitude or the apt-* utils to
> just output which packages have updates available?  i'd like something
> like "aptitude -V -n dist-upgrade" .. where -n is default 'no' to all
> questions. But -n doesn't exist from what I can see. :)
> -Matt


You could use -P to force a prompt and use
  # echo n | aptitude -P -s <command>
to simulate <command> and say no, e.g.
  # echo n | aptitude -P -s upgrade


Felix C. Stegerman <flx@hccnet.nl>

"Any sufficiently advanced bug is indistiguishable from a feature."
 -- R. Kulawiec

Reply to: