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

Re: Listing held packages for which there are upgrades




On 06/08/2009 02:55:42 PM, Florian Kulzer wrote:
On Mon, Jun 08, 2009 at 12:57:46 -0500, Karl O. Pinc wrote:
> On 06/08/2009 12:44:13 PM, Karl O. Pinc wrote:
>> On 06/08/2009 12:40:16 PM, Harry Rickards wrote:
>>> On 06/08/09 18:13, Karl O. Pinc wrote:
>>> > Hi,
>>> >
>>> > On etch when I did an 'aptitude upgrade' it would show
>>> > the packages on hold that would have been upgraded
>>> > but were held back.  On lenny this no longer happens.

Packages that could be upgraded and have been placed on hold:

aptitude search '~U~ahold'

Pakchages that could be upgraded:

aptitude search '~U'

(Assuming that, for your purposes, "could be upgraded" is equivalent
to
 "have been held back".)

Thanks very much.  I swear I read the docs, but I guess I
can't read.

For my purposes I think I want:

aptitude search '~U' -o Dir::Etc::sourcelist=/etc/apt/sources.list.securityonly

where sources.list.securityonly has just the security.debian.org
repositories.  (It makes me wonder if there's a way
to do this without having a separate sources.list file.)

Karl <kop@meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein


Reply to: