[Piuparts-commits] [piuparts] 01/03: add script to upgrade apt first
Holger Levsen
holger at moszumanska.debian.org
Sat Feb 21 11:02:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit daca624ab9da6684cbaf25fb1fd417ac22504263
Author: Andreas Beckmann <anbe at debian.org>
Date: Fri Feb 20 13:58:26 2015 +0100
add script to upgrade apt first
lets the new apt compute the upgrade path for the remaining packages
Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
custom-scripts/scripts-apt-first/pre_distupgrade_zz_apt_first | 5 +++++
debian/changelog | 2 ++
2 files changed, 7 insertions(+)
diff --git a/custom-scripts/scripts-apt-first/pre_distupgrade_zz_apt_first b/custom-scripts/scripts-apt-first/pre_distupgrade_zz_apt_first
new file mode 100755
index 0000000..fa65699
--- /dev/null
+++ b/custom-scripts/scripts-apt-first/pre_distupgrade_zz_apt_first
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+
+apt-get update
+apt-get -y install apt
diff --git a/debian/changelog b/debian/changelog
index 2189b47..33b15cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,8 @@ piuparts (0.63) UNRELEASED; urgency=medium
* reschedule_oldest_logs:
- Fix gradual oldest-first recycling if nearly all logs are candidates.
- Recycle/expire pass/ logs only if the section is (recycle-)idle.
+ * scripts-apt-first/pre_distupgrade_zz_apt_first: New custom script for
+ upgrading apt first and having the new apt perform the remaining upgrade.
* scripts-sysvinit/pre_distupgrade_zz_sysvinit: New custom script for doing
wheezy->jessie upgrade tests while keeping sysvinit as init if possible.
* scripts/pre_remove_40_find_unowned_lib_links: Ignore /lib/ld-lsb.so.[123]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list