* debian/apt.cron.daily:
authorMichael Vogt <michael.vogt@ubuntu.com>
Fri, 14 Sep 2007 12:32:02 +0000 (14:32 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Fri, 14 Sep 2007 12:32:02 +0000 (14:32 +0200)
  - move unattended-upgrade before apt-get autoclean
* fix "purge" commandline argument, closes LP: #125733
  (thanks to Julien Danjou for the patch)
* fix missing SetExecClose() call when the status-fd is used
* debian/apt.cron.daily:
  - move unattended-upgrade before apt-get autoclean
* fix "purge" commandline argument, closes: #133421
  (thanks to Julien Danjou for the patch)

cmdline/apt-get.cc
debian/apt.cron.daily
debian/changelog

index e7b7d5204004c99151013de697d26004e8b2b7a8..9389e7010a13d8eb38e2f36eb7972fab993c4310 100644 (file)
@@ -2779,6 +2779,7 @@ int main(int argc,const char *argv[])
                                    {"install",&DoInstall},
                                    {"remove",&DoInstall},
                                   {"autoremove",&DoInstall},
+                                  {"purge",&DoInstall},
                                    {"dist-upgrade",&DoDistUpgrade},
                                    {"dselect-upgrade",&DoDSelectUpgrade},
                                   {"build-dep",&DoBuildDep},
index 778e3cefefb9da48091f95aae9d6db9e91b18b83..34d6b164fafac04472e2260d035176dd03a5d477 100644 (file)
@@ -186,17 +186,17 @@ if check_stamp $DOWNLOAD_UPGRADEABLE_STAMP $DownloadUpgradeableInterval; then
     update_stamp $DOWNLOAD_UPGRADEABLE_STAMP
 fi
 
-AUTOCLEAN_STAMP=/var/lib/apt/periodic/autoclean-stamp
-if check_stamp $AUTOCLEAN_STAMP $AutocleanInterval; then
-    apt-get -qq autoclean
-    update_stamp $AUTOCLEAN_STAMP
-fi
-
 UPGRADE_STAMP=/var/lib/apt/periodic/upgrade-stamp
 if check_stamp $UPGRADE_STAMP $UnattendedUpgradeInterval; then
     unattended-upgrade
     update_stamp $UPGRADE_STAMP
 fi
 
+AUTOCLEAN_STAMP=/var/lib/apt/periodic/autoclean-stamp
+if check_stamp $AUTOCLEAN_STAMP $AutocleanInterval; then
+    apt-get -qq autoclean
+    update_stamp $AUTOCLEAN_STAMP
+fi
+
 # check cache size 
 check_size_constraints
index f811a4c0ca010ec3e2917f2e372b8b1e1ae4c9e9..c1b1f567605a70153ad1ce0e964a26da2a4b22ca 100644 (file)
@@ -5,6 +5,10 @@ apt (0.7.6ubuntu9) gutsy; urgency=low
   * make apt build with g++ 4.3
   * fix missing SetExecClose() call when the status-fd is used
     (LP: #136767)
+  * debian/apt.cron.daily:
+    - move unattended-upgrade before apt-get autoclean
+  * fix "purge" commandline argument, closes LP: #125733
+    (thanks to Julien Danjou for the patch)
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 11 Sep 2007 20:55:00 +0200
 
@@ -95,6 +99,11 @@ apt (0.7.6ubuntu1) gutsy; urgency=low
   * tests/local-repo:
     - added local repository testcase
   * make apt build with g++ 4.3
+  * fix missing SetExecClose() call when the status-fd is used
+  * debian/apt.cron.daily:
+    - move unattended-upgrade before apt-get autoclean
+  * fix "purge" commandline argument, closes: #133421
+    (thanks to Julien Danjou for the patch)
 
   [ Ian Jackson ]
   * dpkg-triggers: Deal properly with new package states.