package upgrade failed (Jaunty) in ubuntu-docs

Bug #353223 reported by Stephen Hemminger
2
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/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)

The <9.04.6> in the following lines needs to be quoted
because this is shell!

        link=/usr/share/gnome/help/libs
        if [ -d "$link" ] && ! [ -L "$link" ] \
           && dpkg --compare-versions "$2" lt-nl <9.04.6>

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.