[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: subprocess post-installation script returned error exit status 10



| I would suspect a broken /var/cache/debconf/config.dat (error code 10 in
| this context usually means a missing question, and if it isn't just an
| isolated case it often means the database is corrupt). What version of
| debconf do you have, and if you set DEBCONF_DEBUG='.*' in the
| environment what do you see when you try to install one of those
| packages?


cyberanarchy:~# dpkg -l debconf
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name               Version            Description
+++-==================-==================-==================================
==================
ii  debconf            1.0.22             Debian configuration management
system


cyberanarchy:~# env DEBCONF_DEBUG='.*' dpkg --configure ash
Setting up ash (0.3.8-35) ...
debconf (db): making DbDriver of type File
debconf (db configdb): started; filename is /var/cache/debconf/config.dat
debconf (db configdb): loading database
debconf (db): making DbDriver of type File
debconf (db templatedb): started; filename is
/var/cache/debconf/templates.dat
debconf (db templatedb): loading database
debconf (developer): frontend started
debconf (user): trying frontend Dialog
debconf (developer): frontend running, package name is ash
debconf (developer): starting /var/lib/dpkg/info/ash.config configure
0.3.8-32
debconf (developer): <-- INPUT low ash/sh
debconf (developer): --> 10 "ash/sh" doesn't exist
debconf (developer): <-- GO
debconf (developer): --> 0 ok
debconf (developer): starting /var/lib/dpkg/info/ash.postinst configure
0.3.8-32
debconf (developer): <-- GET ash/sh
debconf (developer): --> 10 ash/sh doesn't exist
debconf (db configdb): no database changes, not saving
debconf (db templatedb): saving database
dpkg: error processing ash (--configure):
 subprocess post-installation script returned error exit status 10
Errors were encountered while processing:
 ash


Okay, so "ash/sh" doesn't exist.  I extracted the data.tar.gz from the .deb,
and here is the list:

cyberanarchy:~/testarea# tar -tzvvf data.tar.gz
drwxr-xr-x root/root         0 2001-12-23 16:35:53 ./
drwxr-xr-x root/root         0 2001-12-23 16:35:54 ./bin/
-rwxr-xr-x root/root     82456 2001-12-23 16:35:54 ./bin/ash
drwxr-xr-x root/root         0 2001-12-23 16:35:52 ./usr/
drwxr-xr-x root/root         0 2001-12-23 16:35:53 ./usr/share/
drwxr-xr-x root/root         0 2001-12-23 16:35:52 ./usr/share/man/
drwxr-xr-x root/root         0 2001-12-23 16:35:54 ./usr/share/man/man1/
-rw-r--r-- root/root     17570 2001-12-23 16:35:53
./usr/share/man/man1/ash.1.gz
drwxr-xr-x root/root         0 2001-12-23 16:35:53 ./usr/share/doc/
drwxr-xr-x root/root         0 2001-12-23 16:35:54 ./usr/share/doc/ash/
-rw-r--r-- root/root       544 2000-08-04 06:33:48
./usr/share/doc/ash/README.Debian
-rw-r--r-- root/root       574 2000-08-04 06:48:49
./usr/share/doc/ash/copyright
-rw-r--r-- root/root      6625 2001-12-23 16:35:01
./usr/share/doc/ash/changelog.Debian.gz

I'm confused...

Help?

Thanks,

Brooks



Reply to: