Solution to failedtowritecache error in Ubuntu7.10

Source: Internet
Author: User
When the software m of Ubuntu7.10 is not completely updated, A failedtowritecache error will occur when the new software is installed again. Here are two solutions: copy the code to the terminal and run: 1. This script code test is feasible. Sudofc-cache-fv2 & gt; & amp; 1 | grepfailed | cut-f1-d ":" | xargs-isudotouch {} & amp; sudo

When the software m of Ubuntu 7.10 is not completely updated, a failed to write cache error will occur when the new software is installed again.
Here are two solutions: copy the code to the terminal and run it:
1. This script code test is feasible.
Sudo fc-cache-fv 2> & 1 | grep failed | cut-f1-d ":" | xargs-I sudo touch {}& sudo fc-cache-fv
2. This script code has not been tested in person, but has been used in Ubuntu Chinese forum.
#! /Bin/bash
#
# Fixed the Ubuntu fc-cache failed to write cache error.
#
Sudo touch/usr/share/fonts
Sudo touch/usr/share/fonts/X11
Sudo touch/usr/share/fonts/X11/100 dpi
Sudo touch/usr/share/fonts/X11/75 dpi
Sudo touch/usr/share/fonts/X11/Type1
Sudo touch/usr/share/fonts/X11/encodings
Sudo touch/usr/share/fonts/X11/encodings/large
Sudo touch/usr/share/fonts/X11/misc
Sudo touch/usr/share/fonts/X11/util
Sudo touch/usr/share/fonts/truetype
Sudo touch/usr/share/fonts/truetype/arphic
Sudo touch/usr/share/fonts/truetype/baekmuk
Sudo touch/usr/share/fonts/truetype/freefont
Sudo touch/usr/share/fonts/truetype/kochi
Sudo touch/usr/share/fonts/truetype/openoffice
Sudo touch/usr/share/fonts/truetype/thai
Sudo touch/usr/share/fonts/truetype/ttf-arabeyes
Sudo touch/usr/share/fonts/truetype/ttf-bengali-fonts
Sudo touch/usr/share/fonts/truetype/ttf-bitstream-vera
Sudo touch/usr/share/fonts/truetype/ttf-dejavu
Sudo touch/usr/share/fonts/truetype/ttf-devanagari-fonts
Sudo touch/usr/share/fonts/truetype/ttf-gentium
Sudo touch/usr/share/fonts/truetype/ttf-gujarati-fonts
Sudo touch/usr/share/fonts/truetype/ttf-kannada-fonts
Sudo touch/usr/share/fonts/truetype/ttf-lao
Sudo touch/usr/share/fonts/truetype/ttf-malayalam-fonts
Sudo touch/usr/share/fonts/truetype/ttf-mgopen
Sudo touch/usr/share/fonts/truetype/ttf-oriya-fonts
Sudo touch/usr/share/fonts/truetype/ttf-punjabi-fonts
Sudo touch/usr/share/fonts/truetype/ttf-tamil-fonts
Sudo touch/usr/share/fonts/truetype/ttf-telugu-fonts
Sudo touch/usr/share/fonts/type1
Sudo touch/usr/share/fonts/type1/gsfonts
Sudo touch/usr/share/X11/fonts
Sudo touch/usr/share/X11/fonts/100 dpi
Sudo touch/usr/share/X11/fonts/75 dpi
Sudo touch/usr/share/X11/fonts/Type1
Sudo touch/usr/share/X11/fonts/encodings
Sudo touch/usr/share/X11/fonts/encodings/large
Sudo touch/usr/share/X11/fonts/misc
Sudo touch/usr/share/X11/fonts/util
Sudo touch/usr/local/share/fonts
Sudo touch/var/lib/defoma/fontconfig. d
Sudo touch/var/lib/defoma/fontconfig. d/
Sudo touch/var/lib/defoma/fontconfig. d/B
Sudo touch/var/lib/defoma/fontconfig. d/C
Sudo touch/var/lib/defoma/fontconfig. d/D
Sudo touch/var/lib/defoma/fontconfig. d/E
Sudo touch/var/lib/defoma/fontconfig. d/F
Sudo touch/var/lib/defoma/fontconfig. d/G
Sudo touch/var/lib/defoma/fontconfig. d/H
Sudo touch/var/lib/defoma/fontconfig. d/J
Sudo touch/var/lib/defoma/fontconfig. d/K
Sudo touch/var/lib/defoma/fontconfig. d/L
Sudo touch/var/lib/defoma/fontconfig. d/M
Sudo touch/var/lib/defoma/fontconfig. d/N
Sudo touch/var/lib/defoma/fontconfig. d/O
Sudo touch/var/lib/defoma/fontconfig. d/P
Sudo touch/var/lib/defoma/fontconfig. d/R
Sudo touch/var/lib/defoma/fontconfig. d/S
Sudo touch/var/lib/defoma/fontconfig. d/T
Sudo touch/var/lib/defoma/fontconfig. d/U
Sudo touch/var/lib/defoma/fontconfig. d/V
Sudo touch/var/lib/defoma/fontconfig. d/
Sudo touch/var/lib/defoma/fontconfig. d/j
Sudo touch/var/lib/defoma/fontconfig. d/m
Sudo touch/var/lib/defoma/fontconfig. d/u

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.