Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#611261: dpkg -i Error setting debconf flags

4 views
Skip to first unread message

Andreas Wisskirchen

unread,
Jan 27, 2011, 8:40:02 AM1/27/11
to
Package: dpkg
Version: 1.14.31
Severity: normal

-- System Information:
Debian Release: 5.0.8
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-kvm (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg depends on:
ii coreutils 6.10-6 The GNU core utilities
ii libc6 2.7-18lenny7 GNU C Library: Shared libraries
ii lzma 4.43-14 Compression method of 7z format in

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii apt 0.7.20.2+lenny2 Advanced front-end for dpkg

-- no debconf information

after install the new dpkg version i can't install a deb-package:

dpkg -i linux-image-2.6.37-kvm_2.6.37-kvm-10.00.Custom_i386.deb
(Lese Datenbank ... 67393 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereiten zum Ersetzen von linux-image-2.6.37-kvm 2.6.37-kvm-10.00.Custom (durch linux-image-2.6.37-kvm_2.6.37-kvm-10.00.Custom_i386.deb) ...
Error setting debconf flags in linux-image-2.6.37-kvm/preinst/overwriting-modules-2.6.37-kvm: linux-image-2.6.37-kvm/preinst/overwriting-modules-2.6.37-kvm doesn't exist at /var/lib/dpkg/tmp.ci/preinst line 424, <STDIN> line 3.
dpkg: Fehler beim Bearbeiten von linux-image-2.6.37-kvm_2.6.37-kvm-10.00.Custom_i386.deb (--install):
Unterprozess pre-installation script gab den Fehlerwert 9 zurück

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Raphael Hertzog

unread,
Jan 28, 2011, 5:30:02 AM1/28/11
to
On Thu, 27 Jan 2011, Manoj Srivastava wrote:
> The preinst scripts generated by kernel-package are generally
> not 424 lines long in recent versions of kernel-package. It does,
> however, seem like a kernel-package generated package (10.00.Custom
> part points to that); so it would be interesting to know which version
> of kernel-package was used.
>
> In any case, this is the section of code from the preinst that
> seems to be failing:
> --8<---------------cut here---------------start------------->8---
> my $question = "${package_name}/preinst/overwriting-modules-$version";
>
> ($ret,$seen) = fset ("$question", 'seen', 'false');
> die "Error setting debconf flags in $question: $seen" if $ret;
> --8<---------------cut here---------------end--------------->8---
> So, for some reason, trying to set debconf flags is failing in
> the preinst. Unfortunately, there is not enough detail here to figure
> out what is going wrong here.

Maybe the debconf templates have not yet been extracted ?

I'm not sure the perl binding has all the same magic that the debconf
shell include script does...

And given it's a direct dpkg call, there's no apt-extracttemplates
that has already done the work.

Cheers,
--
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
http://RaphaelHertzog.fr (Français)

0 new messages