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

Bug#730214: marked as done (apt: Fix MinAgeSec typo)



Your message dated Thu, 28 Nov 2013 16:43:31 +0100
with message-id <20131128154331.GB27605@bod>
and subject line Re: Bug#730214: apt: Fix MinAgeSec typo
has caused the Debian Bug report #730214,
regarding apt: Fix MinAgeSec typo
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
730214: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730214
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.9.9.1
Severity: minor
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to fix a typo in the cron.daily script.  Apparently in the past, the MinAgeSec variable was renamed to just MinAge, but a couple debug echos didn't follow the change.  Patch by TJ Guthrie.

Thanks for considering it.


-- System Information:
Debian Release: wheezy/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.0-2-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru apt-0.9.9.1~ubuntu4/debian/apt.cron.daily apt-0.9.9.1~ubuntu5/debian/apt.cron.daily
--- apt-0.9.9.1~ubuntu4/debian/apt.cron.daily	2013-07-10 11:04:41.000000000 -0400
+++ apt-0.9.9.1~ubuntu5/debian/apt.cron.daily	2013-11-22 12:04:15.000000000 -0500
@@ -197,11 +197,11 @@
 		    delta=$(($now-$ctime))
 		fi
 		if [ $delta -le $MinAge ]; then
-		    debug_echo "skip remove by archive size:  $file, delta=$delta < $MinAgeSec"
+		    debug_echo "skip remove by archive size:  $file, delta=$delta < $MinAge"
 		    break
 		else
 		    # delete oldest file
-		    debug_echo "remove by archive size: $file, delta=$delta >= $MinAgeSec (sec), size=$size >= $MaxSize"
+		    debug_echo "remove by archive size: $file, delta=$delta >= $MinAge (sec), size=$size >= $MaxSize"
 		    rm -f $file
 		fi
 	    fi

--- End Message ---
--- Begin Message ---
On Fri, Nov 22, 2013 at 12:44:55PM -0500, Michael Terry wrote:
> Package: apt
> Version: 0.9.9.1
> Severity: minor
> Tags: patch
> User: ubuntu-devel@lists.ubuntu.com
> Usertags: origin-ubuntu trusty ubuntu-patch

Thanks for the bugreport and the patch.

This is merged as part of 0.9.13.

Cheers,
 Michael

 
> Dear Maintainer,
> 
> In Ubuntu, the attached patch was applied to fix a typo in the cron.daily script.  Apparently in the past, the MinAgeSec variable was renamed to just MinAge, but a couple debug echos didn't follow the change.  Patch by TJ Guthrie.
> 
> Thanks for considering it.
> 
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers trusty-updates
>   APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 3.12.0-2-generic (SMP w/4 CPU cores)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash

> diff -Nru apt-0.9.9.1~ubuntu4/debian/apt.cron.daily apt-0.9.9.1~ubuntu5/debian/apt.cron.daily
> --- apt-0.9.9.1~ubuntu4/debian/apt.cron.daily	2013-07-10 11:04:41.000000000 -0400
> +++ apt-0.9.9.1~ubuntu5/debian/apt.cron.daily	2013-11-22 12:04:15.000000000 -0500
> @@ -197,11 +197,11 @@
>  		    delta=$(($now-$ctime))
>  		fi
>  		if [ $delta -le $MinAge ]; then
> -		    debug_echo "skip remove by archive size:  $file, delta=$delta < $MinAgeSec"
> +		    debug_echo "skip remove by archive size:  $file, delta=$delta < $MinAge"
>  		    break
>  		else
>  		    # delete oldest file
> -		    debug_echo "remove by archive size: $file, delta=$delta >= $MinAgeSec (sec), size=$size >= $MaxSize"
> +		    debug_echo "remove by archive size: $file, delta=$delta >= $MinAge (sec), size=$size >= $MaxSize"
>  		    rm -f $file
>  		fi
>  	    fi

--- End Message ---

Reply to: