fc-cache : failed to write cache

pjm0616의 이미지

ubuntu feisty 사용중입니다.

sudo dpkg-reconfigure fontconfig
가 실패한 후부터 컴퓨터가 느려졌습니다

-----
pjm0616@pjm0616:~$ sudo dpkg-reconfigure fontconfig
Cleaning up font configuration of fontconfig...
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category type1..
Updating font configuration of fontconfig...
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category type1..
Updating category type1..
Updating category truetype..
Updating category cid..
Regenerating fonts cache... failed.
See /var/log/fontconfig.log for more information.
done.
pjm0616@pjm0616:~$
-----
/var/log/fontconfig.log 에는
...
/usr/share/fonts/truetype/unfonts: /usr/share/fonts/truetype/unfonts: failed to write cache
caching, 19 fonts, 0 dirs
/usr/share/fonts/truetype/winfonts: /usr/share/fonts/truetype/winfonts: failed to write cache
caching, 1 fonts, 0 dirs
...
이렇게 나옵니다.

sudo fc-cache 을 해보니
/usr/share/fonts/truetype/baekmuk: failed to write cache
/usr/share/fonts/truetype/freefont: failed to write cache
/usr/share/fonts/truetype/kochi: failed to write cache
/usr/share/fonts/truetype/openoffice: failed to write cache
이런식으로 나와서
google에서 검색해보니
fontconfig을 재설치하면 된다고 해서
재설치했는데
-----
pjm0616@pjm0616:~$ sudo aptitude reinstall fontconfig
꾸러미 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
Reading state information... 완료
Reading extended state information
Initializing package states... 완료
Building tag database... 완료
The following packages will be REINSTALLED:
fontconfig
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/136kB of archives. After unpacking 0B will be used.
Writing extended state information... 완료
(데이터베이스 읽는중 ...현재 115975개의 파일과 디렉토리가 설치되어 있습니다.)
fontconfig 2.4.2-1ubuntu1 꾸러미를 대체할 준비하는 중입니다 (.../fontconfig_2.4.2-1ubuntu1_i386.deb 사용) ...
Cleaning up font configuration of fontconfig...
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category type1..
대체되는 fontconfig 꾸러미를 푸는 중입니다 ...
fontconfig (2.4.2-1ubuntu1) 설정하는 중입니다 ...
Updating font configuration of fontconfig...
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category type1..
Updating category type1..
Updating category truetype..
Updating category cid..
Regenerating fonts cache... failed.
See /var/log/fontconfig.log for more information.
done.

pjm0616@pjm0616:~$
-----
안되네요.
/usr/share/fonts/ 안의 글꼴 파일들의 퍼미션 확인해보니 644입니다

fontconfig을 다시 컴파일하고 /etc/fonts/fonts.conf를 새것으로 바꿔도 똑같이 나옵니다.

재부팅했는데
gdm 화면 시작부터 엄청 느려졌네요.
평소에는 1초도 안걸렸는데
이제는 15 ~ 20초 정도 걸리는것 같습니다.
프로그램(gedit,firefox 등)실행할때도 평소보다 5배 정도 느립니다.

http://debianusers.org/jsboard/read.php?table=qna&no=31186&page=8
여기서는 나중에 다시 부팅하니 잘 된다는데
저는 몇번 재부팅해봐도 안되네요.

어떻게 해야 될까요?

제가 중학생이라 공부해야되는데
어제부터 이것때문에 컴퓨터하느라
공부 안한다고 부모님한테 혼나고 있습니다 :(

dofmind의 이미지

fc-cache 실행시 실패한 디렉토리 모두를
touch 명령어를 사용하여 modification times을 수정해 주었더니 잘 됩니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.