Your message dated Sun, 28 Jun 2015 22:52:03 +0000 with message-id <[email protected]> and subject line Bug#772598: fixed in steam 1.0.0.50-1 has caused the Debian Bug report #772598, regarding steam: install fails if debconf selections are already set 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 [email protected] immediately.) -- 772598: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772598 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: steam Version: 1.0.0.49-1 Severity: normal Tags: patch Hi maintainer, I'm trying to automate the installation of the steam package by preseeding the debconf selections needed to accept the license agreement. The installation fails every time I try: root@eruption:~# cat selections steam steam/question select I AGREE steam steam/license note root@eruption:~# debconf-set-selections < selections root@eruption:~# apt-get install steam Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: steam:i386 0 upgraded, 1 newly installed, 0 to remove and 149 not upgraded. Need to get 0 B/835 kB of archives. After this operation, 2,689 kB of additional disk space will be used. Preconfiguring packages ... Selecting previously unselected package steam. (Reading database ... 260307 files and directories currently installed.) Preparing to unpack .../steam_1.0.0.49-1_i386.deb ... dpkg: error processing archive /var/cache/apt/archives/steam_1.0.0.49-1_i386.deb (--unpack): subprocess new pre-installation script returned error exit status 30 Installation terminated: Steam License Agreement was DECLINED. Errors were encountered while processing: /var/cache/apt/archives/steam_1.0.0.49-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) I'm not prompted to accept the license agreement; the install just fails immediately. Bug #757524 had a similar issue, but I believe the resolution ("You have two spaces between select and I") was incorrect, as using a single space doesn't fix the problem. Additionally, I generated the selections from debconf-get-selections, so the formatting should be correct. My understanding of debconf might be flawed, but I believe this is because the db_input prompts will fail if the selection has already been preseeded (or if the user can't be prompted). The ``Debconf Programmer's Tutorial'' [1] uses `|| true` after each invocation of db_input. I've attached a patch that updates the steam package source to do this. With the patch applied, I am able to install steam both normally (no preseeds) and with the preseeded selections. Many thanks! Chris [1] http://www.fifi.org/doc/debconf-doc/tutorial.html -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages steam depends on: ii debconf [debconf-2.0] 1.5.54 ii libc6 2.19-13 ii libgl1-mesa-dri 10.3.2-1 ii libgl1-mesa-glx 10.3.2-1 ii libstdc++6 4.9.1-19 ii libtxc-dxtn-s2tc0 [libtxc-dxtn0] 0~git20131104-1.1 ii libudev1 215-7 ii libx11-6 2:1.6.2-3 ii libxinerama1 2:1.1.3-1+b1 ii xfce4-terminal [x-terminal-emulator] 0.6.3-1+b1 ii xterm [x-terminal-emulator] 312-1 ii xz-utils 5.1.1alpha+20120614-2+b2 Versions of packages steam recommends: ii fonts-liberation 1.07.4-1 ii zenity 3.14.0-1 steam suggests no packages. -- debconf information: * steam/question: I AGREE steam/purge: * steam/license:From: Chris Kuehl <[email protected]> Date: Mon, 8 Dec 2014 14:58:01 -0800 Subject: [PATCH] Allow dh_input to fail without aborting install dh_input will fail if the user has already preseeded debconf selections, or if the user can't be prompted during installation. Rather than fail the install script (since we set -e), we should proceed normally and allow the "I AGREE" check to fail (in case the user really couldn't be prompted). Without this change, preseeding debconf selections results in the install failing immediately every time. --- debian/postrm | 2 +- debian/preinst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/postrm b/debian/postrm index 9b38aec..2440320 100644 --- a/debian/postrm +++ b/debian/postrm @@ -10,7 +10,7 @@ if [ "$1" = "abort-install" ]; then fi if [ "$1" = "purge" ]; then - db_input high steam/purge + db_input high steam/purge || true db_go fi diff --git a/debian/preinst b/debian/preinst index e8479e6..36a330a 100644 --- a/debian/preinst +++ b/debian/preinst @@ -4,8 +4,8 @@ set -e . /usr/share/debconf/confmodule if [ "$1" = "install" ]; then - db_input high steam/license - db_input high steam/question + db_input high steam/license || true + db_input high steam/question || true db_go db_get steam/question test "$RET" = "I AGREE" -- 2.1.3
--- End Message ---
--- Begin Message ---Source: steam Source-Version: 1.0.0.50-1 We believe that the bug you reported is fixed in the latest version of steam, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Gilbert <[email protected]> (supplier of updated steam package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 28 Jun 2015 21:37:40 +0000 Source: steam Binary: steam Architecture: source Version: 1.0.0.50-1 Distribution: unstable Urgency: medium Maintainer: Debian Games Team <[email protected]> Changed-By: Michael Gilbert <[email protected]> Description: steam - Valve's Steam digital software delivery system Closes: 764311 772598 776183 781454 Changes: steam (1.0.0.50-1) unstable; urgency=medium . * New upstream release. * Use C locale by default (closes: #764311) * Better fix for steam including libstdc++ (closes: #781454). * Install steam executable to /usr/lib/steam (closes: #776183). * More robust handling of debconf selections (closes: #772598). - Thanks to Chris Kuehl. Checksums-Sha1: bfd4eb4186a41ee5db00032f6dabea4649b3d4e1 2472 steam_1.0.0.50-1.dsc 9a99ea5df8800f4b83a3114ba71458b40ec86074 1433456 steam_1.0.0.50.orig.tar.xz 2362042036eebb7c88eb2e961d86fd75787b5d09 8792 steam_1.0.0.50-1.debian.tar.xz Checksums-Sha256: 7c5f5ba9c694d9be6dfbf2cfea6f15009c03c1bfdef2789f225f64432f945de7 2472 steam_1.0.0.50-1.dsc 163bde1dc2514f6633663e03486d0cf3cd45c378226bb52bf63e03645eda23a0 1433456 steam_1.0.0.50.orig.tar.xz 4985b2d90ee92e4c850d92a1976ce80c5261540e84cacdbbe38479a472521a12 8792 steam_1.0.0.50-1.debian.tar.xz Files: 2e31fef8bf7ce041c9695187a518ae23 2472 non-free/games extra steam_1.0.0.50-1.dsc 57bb14f8b4e1d1e199dbc5010a10dc02 1433456 non-free/games extra steam_1.0.0.50.orig.tar.xz e9e6d456afea4b844d848d895abcba5c 8792 non-free/games extra steam_1.0.0.50-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQQcBAEBCgAGBQJVkHZ8AAoJELjWss0C1vRz1/Qf/R/lX4rTqUPoh4VglpDknqMw 17JvA30wP/eZzZheSKhXH2G5ZA6+AMjF466ZNYMWkuUzY+8Sq2z0BkNb9Qr7FBsO ZHT17gLqcIzDr7tWCk3dU7/Ss6/ZfUVE2mwpivSPLBknL3ezpsPRd0sV7rzC9vcD 2qHxDO7auW2OrC93Srp69YX4CRZTL148cHjnlxCIt96xxT0+AjYf1tlMbjZYZG6J E/lmqz0rwM9vefhM5FBZ0uD8R0Ww9FeeQVP6y2ZABqgKaXmNeeCqsM68pwc1F+bi SKArv1JLnyiwR2/LJKRNC71izLjWpgR8pemkTbc28QV9jksfBxJOHyhn3FMe/oDf mm72jjBQmACrZyF72Yweo+c26puh2REi5n7DjmWtu29Bv9RnXOBLrGZ0Wb/xLfeD AS1gr04zDkN4XP3nqrd7Gj6tMtiMrX2Vm4leeG9/FuBHF/j2SOgd0AiSjczxUxvu E2zngAo3rbc8geMSJBzq5x9fijv4onjxqZa/+hfAxAcxj6c6Qat9rM2TMBihNDCA pQIncgQn88q31uU5auhGaKMP2O7uQ+drUQvLyF364ZNjBrRUhZIc4GBLzTTbhzDw mQDnkce/IwijxYp3Xlb2y1lixM7PUJJX7aax6aTjNgmDU2iuQobLag80lsujzRI/ /VLVA4hbwtXmPv5D9o55SmIGC2jq164cHNZ2yaRjpfBsdZjYm+omp9vuv6do2zmV DYhDhBrWYJX0vjEguQFEAY7gZE1ihA2INslI8871O21NJgZIoEs6nbLHfExX9A44 E0ZPdF3TiVCgvAQ4VorU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