[25886] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r25278 - trunk/debathena/config/auto-update/debian

daemon@ATHENA.MIT.EDU (Jonathan Reed)
Tue Jul 26 19:37:10 2011

Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Jonathan Reed <jdreed@MIT.EDU>
In-Reply-To: <201107262333.p6QNXjYs031430@drugstore.mit.edu>
Date: Tue, 26 Jul 2011 19:37:02 -0400
Cc: source-commits@mit.edu
Message-Id: <7FDE1218-FABF-4360-9D23-729281564201@mit.edu>
To: Geoffrey Thomas <geofft@mit.edu>
Content-Transfer-Encoding: 8bit

ACK (tested that the new syntax does not result in false positive on natty).

On Jul 26, 2011, at 7:33 PM, Geoffrey Thomas wrote:

> Author: geofft
> Date: 2011-07-26 19:33:45 -0400 (Tue, 26 Jul 2011)
> New Revision: 25278
> 
> Modified:
>   trunk/debathena/config/auto-update/debian/athena-auto-update
>   trunk/debathena/config/auto-update/debian/changelog
> Log:
> In auto-update:
>  * Use the aptitude search predicate for removed packages, instead of
>    writing our own thing based on package versions/states that's
>    fragile (Trac: #987).
> 
> 
> Modified: trunk/debathena/config/auto-update/debian/athena-auto-update
> ===================================================================
> --- trunk/debathena/config/auto-update/debian/athena-auto-update	2011-07-26 20:52:14 UTC (rev 25277)
> +++ trunk/debathena/config/auto-update/debian/athena-auto-update	2011-07-26 23:33:45 UTC (rev 25278)
> @@ -325,7 +325,7 @@
> # metapackage, so be paranoid about that.
> v aptitude --quiet --assume-yes keep-all
> v aptitude --quiet --assume-yes --download-only dist-upgrade
> -if result=$(aptitude -F "%p" search '~i!~VTARGET(^debathena-cluster$ | ^debathena-workstation$ | ^debathena-login$ | ^debathena-standard$ | ^openafs-modules-~D^linux-image-)')
> +if result=$(aptitude -F "%p" search '?action(remove) (^debathena-cluster$ | ^debathena-workstation$ | ^debathena-login$ | ^debathena-standard$ | ^openafs-modules-~D^linux-image-)')
>   [ -n "$result" ]; then
>   echo "** metapackages would be removed by the update, aborting:" $result
>   v aptitude --quiet --assume-yes keep-all
> 
> Modified: trunk/debathena/config/auto-update/debian/changelog
> ===================================================================
> --- trunk/debathena/config/auto-update/debian/changelog	2011-07-26 20:52:14 UTC (rev 25277)
> +++ trunk/debathena/config/auto-update/debian/changelog	2011-07-26 23:33:45 UTC (rev 25278)
> @@ -1,3 +1,11 @@
> +debathena-auto-update (1.25) unstable; urgency=low
> +
> +  * Use the aptitude search predicate for removed packages, instead of
> +    writing our own thing based on package versions/states that's
> +    fragile (Trac: #987).
> +
> + -- Geoffrey Thomas <geofft@mit.edu>  Tue, 26 Jul 2011 19:30:45 -0400
> +
> debathena-auto-update (1.24) unstable; urgency=low
> 
>   * Fix bug which results in update status never recovering from 'warning'
> 



home help back first fref pref prev next nref lref last post