Package: dpkg Version: 1.10.26 Severity: critical Justification: breaks unrelated software Tags: patch
Upgrading and installing packages on a recently installed sid system, I found that a package failed configuration with errors pointing to dpkg-preconfigure. It appears there is a mismatched quote on dpkg-preconfigure line 96, removed in the attached patch. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Do you want to continue? [Y/n] String found where operator expected at /usr/sbin/dpkg-preconfigure line 96, near "die sprintf(gettext("" (Might be a runaway multi-line "" string starting on line 94) (Missing semicolon on previous line?) Bareword found where operator expected at /usr/sbin/dpkg-preconfigure line 96, near "die sprintf(gettext("debconf" (Do you need to predeclare die?) Unquoted string "debconf" may clash with future reserved word at /usr/sbin/dpkg-preconfigure line 96. String found where operator expected at /usr/sbin/dpkg-preconfigure line 103, near "gettext("" (Might be a runaway multi-line "" string starting on line 96) (Missing semicolon on previous line?) Bareword found where operator expected at /usr/sbin/dpkg-preconfigure line 104, near "$package, $confmodule" (Might be a runaway multi-line ff string starting on line 103) (Missing operator before dule?) Unquoted string "dule" may clash with future reserved word at /usr/sbin/dpkg-preconfigure line 104. syntax error at /usr/sbin/dpkg-preconfigure line 96, near "die sprintf(gettext("" Unmatched right curly bracket at /usr/sbin/dpkg-preconfigure line 108, at end of line syntax error at /usr/sbin/dpkg-preconfigure line 108, near "}" Execution of /usr/sbin/dpkg-preconfigure aborted due to compilation errors. Setting up libgtk2.0-bin (2.6.1-2) ... Updating the IM modules list for GTK+-2.4.0...done. Updating the gdk-pixbuf loaders list for GTK+-2.4.0...done. Failed to write cache file: No such file or directory dpkg: error processing libgtk2.0-bin (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: libgtk2.0-bin E: Sub-process /usr/bin/dpkg returned an error code (1) Some errors occurred while unpacking. I'm going to configure the packages that were installed. This may result in duplicate errors or errors caused by missing dependencies. This is OK, only the errors above this message are important. Please fix them and run [I]nstall again Press enter to continue. Setting up libgtk2.0-bin (2.6.1-2) ... Updating the IM modules list for GTK+-2.4.0...done. Updating the gdk-pixbuf loaders list for GTK+-2.4.0...done. Failed to write cache file: No such file or directory dpkg: error processing libgtk2.0-bin (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: libgtk2.0-bin installation script returned error exit status 100. Press <enter> to continue. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: sparc (sparc64) Kernel: Linux 2.4.27-1-sparc64 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages dpkg depends on: ii dselect 1.10.26 a user tool to manage Debian packa ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an -- no debconf information -- Blars Blarson [EMAIL PROTECTED] http://www.blars.org/blars.html With Microsoft, failure is not an option. It is a standard feature.
--- /usr/sbin/dpkg-preconfigure~ 2005-02-03 18:22:01.000000000 -0800 +++ /usr/sbin/dpkg-preconfigure 2005-02-04 23:45:13.000000000 -0800 @@ -91,7 +91,7 @@ foreach my $line (@buffer) { ($package, $version, $template, $config)=split /\s/, $line; if (defined $config && length $config && -e $config) { - debug user => sprintf(gettext("preconfiguring %s (%s)",$package,$version))"; + debug user => sprintf(gettext("preconfiguring %s (%s)",$package,$version)); chmod(0755, $config) or die sprintf(gettext("debconf: can't chmod: %s"), $!); $frontend->default_title($package);