package upgrade failed (Jaunty) in ubuntu-docs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-docs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubuntu-docs
Looks like a bug in package script
$ 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)
The <9.04.6> in the following lines needs to be quoted
because this is shell!
if [ -d "$link" ] && ! [ -L "$link" ] \
&& dpkg --compare-versions "$2" lt-nl <9.04.6>