I run etch , and an issue i alway had and i never found an official solution is
Code:
E: Sub-process /usr/bin/dpkg returned an error code (1)
i sometimes get over it running
Code:
# apt-get -f install
but , most of the times even this is not enough that's the all output:
Code:
root@phone:~# apt-get install autofs
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed
autofs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 113kB of archives.
After unpacking 483kB of additional disk space will be used.
Get: 1 http://debian.fastweb.it etch/main autofs 4.1.4-13 [113kB]
Fetched 113kB in 24s (4688B/s)
Selecting previously deselected package autofs.
(Reading database ... 65245 files and directories currently installed.)
Unpacking autofs (from .../autofs_4.1.4-13_i386.deb) ...
Setting up nfs-common (1.0.10-6+etch.1) ...
Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, <GEN0> line 1.
dpkg: error processing nfs-common (--configure):
subprocess post-installation script returned error exit status 9
Setting up autofs (4.1.4-13) ...
Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, <GEN0> line 1.
Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, <GEN0> line 1.
Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, <GEN0> line 1.
Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, <GEN0> line 1.
Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, <GEN0> line 1.
Starting automounter: loading autofs4 kernel module, no automount maps defined.
Errors were encountered while processing:
nfs-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@phone:~# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
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.
Setting up nfs-common (1.0.10-6+etch.1) ...
Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, <GEN0> line 1.
dpkg: error processing nfs-common (--configure):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
nfs-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
autofs is the second package i was rying to install on this host the first was nfs-common as you can see , what shall i do ?