Installation/removing any packages give error message: E: ubuntu-docs: subprocess post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-docs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubuntu-docs
Example of error message:
max@max-Work-NB:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up ubuntu-docs (9.04.6) ...
/var/lib/
dpkg: error processing ubuntu-docs (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
ubuntu-docs
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: ubuntu-docs 9.04.6
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-docs
Uname: Linux 2.6.28-11-generic x86_64
Second example: archive. ubuntu. com jaunty/universe libmcrypt4 2.5.7-5ubuntu1 [88.0kB] archive. ubuntu. com jaunty/main libmhash2 0.9.9-1 [100.0kB] archive. ubuntu. com jaunty/universe gpass 0.5.0-2 [132kB] 2.5.7-5ubuntu1_ amd64.deb) ... 0.9.9-1_ amd64.deb) ... 0.5.0-2_ amd64.deb) ... dpkg/info/ ubuntu- docs.postinst: 21: Syntax error: newline unexpected
max@max-Work-NB:~$ sudo apt-get install gpass
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
arj
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libmcrypt4 libmhash2
Suggested packages:
libmcrypt-dev mcrypt
The following NEW packages will be installed:
gpass libmcrypt4 libmhash2
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 320kB of archives.
After this operation, 1167kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Get:3 http://
Fetched 320kB in 0s (350kB/s)
Selecting previously deselected package libmcrypt4.
(Reading database ... 250407 files and directories currently installed.)
Unpacking libmcrypt4 (from .../libmcrypt4_
Selecting previously deselected package libmhash2.
Unpacking libmhash2 (from .../libmhash2_
Selecting previously deselected package gpass.
Unpacking gpass (from .../gpass_
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up ubuntu-docs (9.04.6) ...
/var/lib/
dpkg: error processing ubuntu-docs (--configure):
subprocess post-installation script returned error exit status 2
Setting up libmcrypt4 (2.5.7-5ubuntu1) ...
Setting up libmhash2 (0.9.9-1) ...
Setting up gpass (0.5.0-2) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for menu ...
Errors were encountered while processing:
ubuntu-docs
E: Sub-process /usr/bin/dpkg returned an error code (1)