On 11/20/2012 10:49 AM, Gary Roach wrote:
Hi everyone:
I've had to restore one of my systems from cold iron. Aptitude seems to
be hanging up when trying to install / purge / update doc-base. I've
tried Aptitude, dpkg and apt-get including the -f switch with no joy.
Below is a typical example:
root@mycomputer:/home/gary# aptitude purge doc-base
The following packages will be REMOVED:
doc-base{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 504 kB will be freed.
Do you want to continue? [Y/n/?]
(Reading database ... 297009 files and directories currently installed.)
Removing doc-base ...
cannot find install-docs on path
dpkg: error processing doc-base (--purge):
subprocess installed pre-removal script returned error exit status 1
configured to not write apport reports
Errors were encountered while
processing:
doc-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
root@mycomputer:/home/gary#
I have tried cleaning and reloading the archives. That didn't help. The
whole dpkg process seems to be hung up at this point. If I try to
process any other packages, the installation process always returns to
some variation of the above. The package seems to be partially
installed. The C flag is set in aptitude. A not configured error is
sometime displayed. Any suggestions?
Thanks in advance
Gary R.
Since there has been no reply to my query, I am including more
information in hopes that someone will have an idea how to fix this
problem. I am completely stumped. This is a Debian Squeeze system using
KDE. When trying to fix the problem, I got the following:
root@mycomputer:/var/log# dpkg -C
The following packages are only half configured, probably due to
problems
configuring them the first time. The configuration should be retried
using
dpkg --configure <package> or the configure menu option in
dselect:
doc-base utilities to manage online documentation
root@mycomputer:/var/log# dpkg --configure doc-base
Setting up doc-base (0.9.5) ...
/var/lib/dpkg/info/doc-base.postinst: 45: install-docs: not found
dpkg: error processing doc-base (--configure):
subprocess installed post-installation script returned error exit
status 127
Errors were encountered while processing:
doc-base
root@mycomputer:/var/log# dpkg-query -s doc-base
Package: doc-base
Status: purge ok half-configured
Priority: optional
Section: doc
Installed-Size: 492
Maintainer: Robert Luberda <robert@debian.org>
Architecture: all
Version: 0.9.5
Config-Version: 0.9.5
Depends: perl, libuuid-perl, dpkg (>= 1.14.17), libmldbm-perl
Suggests: dhelp | dwww | doc-central | yelp | khelpcenter4,
rarian-compat
Conflicts: dhelp (<< 0.6.7), dwww (<< 1.10.13~)
Conffiles:
/etc/doc-base/documents/README efd9c153645bd3e0653eb5b0fbeda91f
Description: utilities to manage online documentation
This package contains utilities to manage documentation installed on
a Debian system. It generates a database of document metadata, which
other packages such as dwww, dhelp, doc-central, and rarian-compat
can use to provide a catalog of available documentation.
.
For additional information see the Debian doc-base Manual included in
this package.
root@mycomputer:/etc/doc-base# aptitude purge doc-base
The following packages will be REMOVED:
doc-base{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 504 kB will be freed.
Do you want to continue? [Y/n/?]
(Reading database ... 297009 files and directories currently installed.)
Removing doc-base ...
cannot find install-docs on path
dpkg: error processing doc-base (--purge):
subprocess installed pre-removal script returned error exit status 1
configured to not write apport reports
Errors were encountered while
processing:
doc-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
root@mycomputer:/etc/doc-base# aptitude reinstall doc-base
The following packages will be REINSTALLED:
doc-base
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and
0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up doc-base (0.9.5) ...
/var/lib/dpkg/info/doc-base.postinst: 45: install-docs: not found
dpkg: error processing doc-base (--configure):
subprocess installed post-installation script returned error exit
status 127
configured to not write apport reports
Errors were encountered while
processing:
doc-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
root@mycomputer:/etc/doc-base#
It seems that some files are missing (install-docs?) but I can't
determine what they are or where they are. Some help, pleeeeese.
Gary R.
|