Help me. How to restore my ubuntu 6.06 because of faling to upgrade to 8.04

NoOp glgxg at sbcglobal.net
Wed Aug 13 04:19:20 UTC 2008


On 08/12/2008 07:34 PM, zhihang wang wrote:
> When I upgrade my 6.06 to 8.04 directly by update from the internet,
> an error occure. The error message is: Unpacking xfonts-scalable
> (from .../xfonts-scalable_1%3a1.0.0-6_all.deb) ...
> 
> Setting up xfonts-scalable (1:1.0.0-6) ... usage error: unrecognized
> option Usage: update-fonts-dir DIRECTORY ... update-fonts-dir { -h |
> --help } This program is a wrapper for mkfontdir(1x) that is
> primarily useful to Debian package maintainer scripts. See
> update-fonts-dir for more information. Options: -h, --help display
> this usage message and exitdpkg: error processing xfonts-scalable
> (--configure): subprocess post-installation script returned error
> exit status 2 Errors were encountered while processing: 
> xfonts-scalable E: Sub-process /usr/bin/dpkg returned an error code
> (1)
> 
> 
> Now I can't enter gnome. How to restore my 6.06 or continue to
> upgrade?
> 

This may help:

https://answers.launchpad.net/ubuntu/+question/40321
<quote>
 marcobra  said on 2008-08-06:

Try the same as here: https://answers.launchpad.net/ubuntu/+question/2591

Please open a Terminal from the menu Applications->Accessories->Terminal
and type:

sudo -i

give your user password when requested, you don't see nothing when you
type it, then press enter.

Then type a command similar to this echo -en '\n' | sudo tee -a
/var/lib/dpkg/info/gxine.list
substitute the path and the .list file

For example:
echo -en '\n' | sudo tee -a /var/lib/dpkg/info/thunar.list
</quote>

So in your case:

sudo -i
echo -en '\n' | sudo tee -a /var/lib/dpkg/info/xfonts-scalable.list

and then

apt-get install --reinstall xfonts-scalable





More information about the ubuntu-users mailing list