[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.42-69-g1159ca6

Andreas Beckmann debian at abeckmann.de
Thu May 17 11:46:01 UTC 2012


The following commit has been merged in the piatti branch:
commit 205fdcb5c7501cda877503975568f6810bb568ba
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Thu Apr 19 12:50:42 2012 +0200

    run 'apt-get dist-upgrade' during chroot setup
    
    with 'apt-get upgrade' some updates might be not performed
    
    in the log: ... packages have been kept back ...
    (noticed on the apt 0.9.0 update for sid)
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/debian/changelog b/debian/changelog
index 13fb08f..0adedee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ piuparts (0.44) UNRELEASED; urgency=low
     - Increase output limit to 3 MB (for dist-upgrading daptup).
     - Do not miss Pre-Depends in --warn-on-others mode.
     - Remove packages and reinstall missing ones in one apt-get call.
+    - Run 'apt-get dist-upgrade' (instead of upgrade) during chroot setup.
   * piupartslib/packagesdb.py:
     - Only consider the newest version of a package as test candidate.
       (Packages files may contain more than version of the same package.)
diff --git a/piuparts.py b/piuparts.py
index 4679cdb..9015aa4 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -738,7 +738,7 @@ class Chroot:
         self.mount_selinux()
         self.configure_chroot()
         if settings.basetgz:
-            self.run(["apt-get", "-yf", "upgrade"])
+            self.run(["apt-get", "-yf", "dist-upgrade"])
         self.minimize()
 
         # Copy scripts dirs into the chroot, merging all dirs together,

-- 
piuparts git repository



More information about the Piuparts-commits mailing list