Installation/removing any packages give error message: E: ubuntu-docs: subprocess post-installation script returned error exit status 2

Bug #353201 reported by max
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/info/ubuntu-docs.postinst: 21: Syntax error: newline unexpected
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
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-docs
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
max (mikhmv) wrote :
Revision history for this message
max (mikhmv) wrote :

Second example:
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://archive.ubuntu.com jaunty/universe libmcrypt4 2.5.7-5ubuntu1 [88.0kB]
Get:2 http://archive.ubuntu.com jaunty/main libmhash2 0.9.9-1 [100.0kB]
Get:3 http://archive.ubuntu.com jaunty/universe gpass 0.5.0-2 [132kB]
Fetched 320kB in 0s (350kB/s)
Selecting previously deselected package libmcrypt4.
(Reading database ... 250407 files and directories currently installed.)
Unpacking libmcrypt4 (from .../libmcrypt4_2.5.7-5ubuntu1_amd64.deb) ...
Selecting previously deselected package libmhash2.
Unpacking libmhash2 (from .../libmhash2_0.9.9-1_amd64.deb) ...
Selecting previously deselected package gpass.
Unpacking gpass (from .../gpass_0.5.0-2_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up ubuntu-docs (9.04.6) ...
/var/lib/dpkg/info/ubuntu-docs.postinst: 21: Syntax error: newline unexpected
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)

Revision history for this message
Santana (rigosantana3-gmx) wrote :

This report is complete and redy for dev team.

Changed in ubuntu-docs:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.