[debian-edu-commits] debian-edu/ 01/03: Make installation more robust by allowing installation of our packages to remove packages during installation. If not, upgraded packages in APT sources might break the installer completely.
Petter Reinholdtsen
pere at moszumanska.debian.org
Wed Aug 27 10:43:19 UTC 2014
This is an automated email from the git hooks/post-receive script.
pere pushed a commit to branch master
in repository debian-edu-install.
commit 90433d795090db0e4d7981f26b8cafaa81d015d3
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Wed Aug 27 12:38:15 2014 +0200
Make installation more robust by allowing installation of our packages to remove packages during installation. If not, upgraded packages in APT sources might break the installer completely.
---
debian/changelog | 3 +++
pre-pkgsel | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index c3440f3..9dd2e0c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,8 @@
debian-edu-install (1.725) UNRELEASED; urgency=low
+ * Make installation more robust by allowing installation of our
+ packages to remove packages during installation. If not, upgraded
+ packages in APT sources might break the installer completely.
* Remove non-working mail addresses from the lv.po, se.po and vi.po
files after trying to reach the translators using podebconf-report-
po.
diff --git a/pre-pkgsel b/pre-pkgsel
index a21cbca..a085592 100755
--- a/pre-pkgsel
+++ b/pre-pkgsel
@@ -17,7 +17,7 @@ error() {
# Install required packages, report fatal error and reboot if it fail.
install_required_pkg() {
p="$1"
- if apt-install $p ; then
+ if apt-install --allow-remove $p ; then
:
else
template=debian-edu-install/errors-pkg-installation
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-install.git
More information about the debian-edu-commits
mailing list