debconf failing for uswsusp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uswsusp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
uswsusp fails to upgrade from 10.04 to 12.04.01:
$ LC_ALL=C sudo apt-get install uswsusp
Reading package lists... Done
Building dependency tree
Reading state information... Done
uswsusp is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up uswsusp (1.0+20110509-
/usr/share/
dpkg: error processing uswsusp (--configure):
subprocess installed post-installation script returned error exit status 128
Errors were encountered while processing:
uswsusp
E: Sub-process /usr/bin/dpkg returned an error code (1)
Now when I add 'set -v' to /var/lib/
[..as before..]
Setting up uswsusp (1.0+20110509-
. /usr/share/
#!/bin/sh
# This is a shell library to interface to the Debian configuration management
# system.
#######
# Initialization.
# Check to see if a FrontEnd is running.
if [ ! "$DEBIAN_
export PERL_DL_NONLAZY
# Since there is no FrontEnd, this program execs a FrontEnd.
# It will then run a new copy of $0 that can talk to it.
if [ "$DEBCONF_
else
fi
fi
/usr/share/
dpkg: error processing uswsusp (--configure):
So now I launch debconf by hand:
# /usr/share/
# echo $?
128
Not much further, but the debconf manpage says:
"To debug a shell script that uses debconf, you might [set] DEBCONF_
Let's go then:
# DEBCONF_
debconf (developer): frontend started
debconf (developer): frontend running, package name is uswsusp
debconf (developer): starting /var/lib/
debconf (developer): <-- FSET uswsusp/no_swap hit false
debconf (developer): --> 0 false
debconf (developer): <-- FSET uswsusp/no_snapshot hit false
debconf (developer): --> 0 false
debconf (developer): <-- FSET uswsusp/
debconf (developer): --> 0 false
debconf (developer): <-- SET uswsusp/image_size 966427115
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/
debconf (developer): --> 0 string
debconf (developer): <-- SET uswsusp/
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/
debconf (developer): --> 0 boolean
debconf (developer): <-- SET uswsusp/
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/compress type
debconf (developer): --> 0 boolean
debconf (developer): <-- SET uswsusp/compress true
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/
debconf (developer): --> 0 boolean
debconf (developer): <-- SET uswsusp/
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/image_size type
debconf (developer): --> 0 string
debconf (developer): <-- SET uswsusp/image_size 3834414448
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/
debconf (developer): --> 0 string
debconf (developer): <-- SET uswsusp/
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/
debconf (developer): --> 0 string
debconf (developer): <-- SET uswsusp/
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/
debconf (developer): --> 0 select
debconf (developer): <-- SET uswsusp/
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/
debconf (developer): --> 0 select
debconf (developer): <-- SET uswsusp/
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/encrypt type
debconf (developer): --> 0 boolean
debconf (developer): <-- SET uswsusp/encrypt false
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/splash type
debconf (developer): --> 0 boolean
debconf (developer): <-- SET uswsusp/splash true
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/
debconf (developer): --> 0 string
debconf (developer): <-- SET uswsusp/
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/
debconf (developer): --> 0 select
debconf (developer): <-- SET uswsusp/
debconf (developer): --> 0 value set
debconf (developer): <-- METAGET uswsusp/
debconf (developer): --> 0 string
debconf (developer): <-- SET uswsusp/
debconf (developer): --> 0 value set
debconf (developer): <-- 26182734
debconf (developer): <-- GET uswsusp/
debconf (developer): --> 0 /dev/sdb5
I'm passing. Can you spot any possible problems there?
*t