Debian Bug report logs - #323854
Bug in postinst script causes installation failure

version graph

Package: base-config; Maintainer for base-config is (unknown);

Reported by: "Paul C. Bryan" <email@pbryan.net>

Date: Thu, 18 Aug 2005 21:48:05 UTC

Severity: normal

Tags: patch

Merged with 323852, 323863, 323870, 323887, 323890, 323897, 323907, 323926, 323937, 324034, 324038

Found in version base-config/2.70

Fixed in versions 2.71, base-config/2.71, base-config/3.71

Done: Joey Hess <joeyh@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#323854; Package base-config. (full text, mbox, link).


Acknowledgement sent to "Paul C. Bryan" <email@pbryan.net>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Paul C. Bryan" <email@pbryan.net>
To: bugs@debian.org
Subject: Bug in postinst script causes installation failure
Date: Thu, 18 Aug 2005 14:38:49 -0700
Package: base-config
Version: 2.70
Severity: important
Tags: patch

Bug in base-config.postinst script causes installation failure:

Setting up base-config (2.70) ...
/var/lib/dpkg/info/base-config.postinst: line 59: syntax error near
unexpected token `db_fset'
dpkg: error processing base-config (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 base-config
E: Sub-process /usr/bin/dpkg returned an error code (1)

Solved with enclosed patch.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#323854; Package base-config. (full text, mbox, link).


Acknowledgement sent to "Paul C. Bryan" <email@pbryan.net>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #10 received at 323854@bugs.debian.org (full text, mbox, reply):

From: "Paul C. Bryan" <email@pbryan.net>
To: 323854@bugs.debian.org
Subject: The patch...
Date: Thu, 18 Aug 2005 14:52:31 -0700
[Message part 1 (text/plain, inline)]
And now, the patch.
[base-config.postinst.patch (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#323854; Package base-config. (full text, mbox, link).


Acknowledgement sent to 323854@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #15 received at 323854@bugs.debian.org (full text, mbox, reply):

From: Frans Pop <aragorn@tiscali.nl>
To: "Paul C. Bryan" <email@pbryan.net>, 323854@bugs.debian.org
Subject: Re: Bug#323854: Bug in postinst script causes installation failure
Date: Thu, 18 Aug 2005 23:57:40 +0200
[Message part 1 (text/plain, inline)]
On Thursday 18 August 2005 23:38, Paul C. Bryan wrote:
> Solved with enclosed patch.

Seems like you forgot to attach it...
[Message part 2 (application/pgp-signature, inline)]

Severity set to `serious'. Request was from Frans Pop <aragorn@tiscali.nl> to control@bugs.debian.org. (full text, mbox, link).


Merged 323852 323854. Request was from Frans Pop <aragorn@tiscali.nl> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#323854; Package base-config. (full text, mbox, link).


Acknowledgement sent to David Creelman <dave@geko.net.au>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #24 received at 323854@bugs.debian.org (full text, mbox, reply):

From: David Creelman <dave@geko.net.au>
To: Debian Bug Tracking System <323854@bugs.debian.org>
Subject: base-config: syntax error near db_fset
Date: Fri, 19 Aug 2005 09:56:43 +1000
Package: base-config
Version: 2.70
Followup-For: Bug #323854

<snip>
After unpacking 0B of additional disk space will be used.
Setting up base-config (2.70) ...
/var/lib/dpkg/info/base-config.postinst: line 59: syntax error near unexpected token `db_fset'
dpkg: error processing base-config (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 base-config
E: Sub-process /usr/bin/dpkg returned an error code (1)

Installation then ceases.

Regards
David

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages base-config depends on:
ii  adduser                 3.67             Add and remove users and groups
ii  apt                     0.6.40.1         Advanced front-end for dpkg
ii  bsdutils                1:2.12p-6        Basic utilities from 4.4BSD-Lite
ii  console-data            2002.12.04dbs-49 Keymaps, fonts, charset maps, fall
ii  console-tools           1:0.2.3dbs-56    Linux console and font utilities
ii  debconf                 1.4.57           Debian configuration management sy
ii  debianutils             2.14.2           Miscellaneous utilities specific t
ii  gettext-base            0.14.5-2         GNU Internationalization utilities
ii  passwd                  1:4.0.3-39       change and administer password and

base-config recommends no packages.

-- debconf information:
  base-config/menu/exit:
  apt-setup/another: false
  base-config/late_command:
  base-config/start-display-manager: true
  apt-setup/directory: /debian/
  base-config/menu/hostname:
  apt-setup/cd/another: false
  apt-setup/badedit:
  mirror/suite: unstable
  apt-setup/baddir:
  base-config/menu/pkgsel:
  base-config/menu/apt-get:
  base-config/menu/timezone:
  apt-setup/hostname: debian.ihug.com.au
  base-config/menu/pon:
  apt-setup/title:
  mirror/http/proxy: http://sydney.cache.telstra.net:3128
  apt-setup/contrib: false
  base-config/early_command:
  apt-setup/cd/dev: /dev/cdrom
  apt-setup/country: Australia
  apt-setup/uri_type: http
  apt-setup/not-mirror:
  apt-setup/security-updates-failed:
  apt-setup/cd/missing:
  apt-setup/cd/bad:
  base-config/menu/mta:
* base-config/intro:
  apt-setup/security-updates: true
  base-config/title:
  base-config/menu/finish:
  debian-installer/language: en
  apt-setup/mirror: debian.ihug.com.au
  base-config/menu/apt-setup:
  base-config/menu/keyboard:
  debian-installer/country: AU
* base-config/install-problem:
* base-config/pkgsel: aptitude - pick tasks or drill down to individual packages
  apt-setup/non-free: false
  base-config/menu/debconf-seed:
  base-config/menu/intro:
  base-config/menu/passwd:
* base-config/login:
  base-config/main-menu: Finish configuring the base system
  debian-installer/keymap: us
  apt-setup/badsource:
  base-config/use-ppp: false
  base-config/get-hostname: gauss
  base-config/menu/shell:
  base-config/invalid-hostname:



Reply sent to Joey Hess <joeyh@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to "Paul C. Bryan" <email@pbryan.net>:
Bug acknowledged by developer. (full text, mbox, link).


Message #29 received at 323854-done@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: "Paul C. Bryan" <email@pbryan.net>, 323854-done@bugs.debian.org
Subject: Re: Bug#323854: Bug in postinst script causes installation failure
Date: Thu, 18 Aug 2005 20:58:00 -0400
[Message part 1 (text/plain, inline)]
Paul C. Bryan wrote:
> Package: base-config
> Version: 2.70
> Severity: important
> Tags: patch
> 
> Bug in base-config.postinst script causes installation failure:
> 
> Setting up base-config (2.70) ...
> /var/lib/dpkg/info/base-config.postinst: line 59: syntax error near
> unexpected token `db_fset'
> dpkg: error processing base-config (--configure):
>  subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
>  base-config
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Solved with enclosed patch.

I independntly fixed this in 2.71 before seeing this bug report.

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Severity set to `grave'. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 323852 323854 323863. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 323852 323854 323863 323887. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 323852 323854 323863 323887 323890. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 323852 323854 323863 323887 323890 323897. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 323852 323854 323863 323887 323890 323897 323907. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 323852 323854 323863 323887 323890 323897 323907 323926. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `normal'. Request was from Joey Hess <joeyh@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 323852 323854 323863 323870 323887 323890 323897 323907 323926. Request was from Adeodato Simó <asp16@alu.ua.es> to control@bugs.debian.org. (full text, mbox, link).


Merged 323852 323854 323863 323870 323887 323890 323897 323907 323926 324038. Request was from Petter Reinholdtsen <pere@hungry.com> to control@bugs.debian.org. (full text, mbox, link).


Merged 323852 323854 323863 323870 323887 323890 323897 323907 323926 324034 324038. Request was from Petter Reinholdtsen <pere@hungry.com> to control@bugs.debian.org. (full text, mbox, link).


Merged 323852 323854 323863 323870 323887 323890 323897 323907 323926 323937 324034 324038. Request was from Petter Reinholdtsen <pere@hungry.com> to control@bugs.debian.org. (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 17 Jun 2007 12:14:23 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Aug 14 22:44:50 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.