ubuntuusers.de

~/.fontconfig sagt "invalid cache file"; Verstehe ich nicht

Status: Gelöst | Ubuntu-Version: Ubuntu 8.04 (Hardy Heron)
Antworten |

xrolly

Avatar von xrolly

Anmeldungsdatum:
26. September 2007

Beiträge: 4322

Wohnort: NRW; 51° 39′ N, 7° 21′ O

Hallo Users, folg. Problem welches ich nicht verstehe:
Im Ordner ~/.fonts/truetype habe ich gerade aus den urwfonts, die Fonts Garamonds zum erstellen fuer PDF-Files unter OO.org installiert.
Nach ausfuehren des Befehls:

1
sudo fc-cache -f -v

.. kam folg. Durchlauf:

/usr/share/fonts: caching, new cache contents: 0 fonts, 4 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 43 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 26 dirs
/usr/share/fonts/truetype/Visitor_TT2_BRK: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/conkyforecast: caching, new cache contents: 7 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/thai: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/truetype/ttf--devil-inside: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf--openlogos: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-arabeyes: caching, new cache contents: 39 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bengali-fonts: caching, new cache contents: 5 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bitstream-vera: caching, new cache contents: 10 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-dejavu: caching, new cache contents: 21 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-devanagari-fonts: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-droids: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-gujarati-fonts: caching, new cache contents: 5 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-indic-fonts-core: caching, new cache contents: 11 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-kannada-fonts: caching, new cache contents: 7 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-lao: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-liberation: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-malayalam-fonts: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-mgopen: caching, new cache contents: 16 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-oriya-fonts: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-punjabi-fonts: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-sil-gentium: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-tamil-fonts: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-telugu-fonts: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/X11/fonts: skipping, no such directory
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/home/chrishe/.fonts: caching, new cache contents: 0 fonts, 2 dirs
/home/chrishe/.fonts/truetype: caching, new cache contents: 13 fonts, 0 dirs
/home/chrishe/.fonts/type1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-gentium: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/home/chrishe/.fontconfig: cleaning cache directory
/home/chrishe/.fontconfig: invalid cache file: d7a34a017cebec3ee90330ed7f8b6456-x86.cache-2
/home/chrishe/.fontconfig: invalid cache file: 5994b307d0712e634b442f89f31228f2-x86.cache-2
fc-cache: succeeded

.. also succeeded heist soviel, wie gelungen.
Nur verstehe ich dann die beiden vorletzten Zeilen nicht, wie koennen das ungueltige bzw. falsche cache files sein, wenn sie nicht im Ordner von ~/.fontconfig zu finden sind, siehe:

/home/chrishe/.fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-x86.cache-2
/home/chrishe/.fontconfig/7fa615a39d0cd00137bf5d968be3858c-x86.cache-2
/home/chrishe/.fontconfig/57e423e26b20ab21d0f2f29c145174c3-x86.cache-2
/home/chrishe/.fontconfig/3830d5c3ddfd5cd38a049b759396e72e-x86.cache-2
/home/chrishe/.fontconfig/a0bc891bc7373970b7870670a8b3555f-x86.cache-2
/home/chrishe/.fontconfig/aa9d52507442cf2770ad6519cb1a0990-x86.cache-2
/home/chrishe/.fontconfig/b8fb5cb42b32886c15631c2a47720f8f-x86.cache-2
/home/chrishe/.fontconfig/bbfe06131451dbcf959963256fb11f0b-x86.cache-2
/home/chrishe/.fontconfig/c0e9a903b0f7cf5e6a43547c3d3b50cb-x86.cache-2
/home/chrishe/.fontconfig/cabbd14511b9e8a55e92af97fb3a0461-x86.cache-2
/home/chrishe/.fontconfig/e13b20fdb08344e0e664864cc2ede53d-x86.cache-2
/home/chrishe/.fontconfig/e431134e6e0bb94cf6a0acd7895c84c3-x86.cache-2
/home/chrishe/.fontconfig/f1e409ea4aa670c339a0598ae51ab26a-x86.cache-2
/home/chrishe/.fontconfig/fb089a5ea7bc357ccdbd16147806173b-x86.cache-2
/home/chrishe/.fontconfig/fbe418aa3e851505526dcd40a48969ec-x86.cache-2

Hat dafuer vllt. jmd. eine Erklaerung fuer mich ?

–>OT Begin:
Ich habe gerade gelesen das Garamonds oder Times New Roman wohl die beste Schriftart zum lesen laengerer Texte sein sollte (?).
OT End<–

PS: .. das sieht mit Garamonds ja fuerchterlich aus ..


.. und Times New Roman geht ja eben noch so:
Ungültiges Makro

Dieses Makro ist nicht verfügbar

kedmanee

Avatar von kedmanee

Anmeldungsdatum:
28. September 2009

Beiträge: 354

Wohnort: Thüringen

Ich persönlich habe mit Adminrechten einen Ordner /meineschriften unter /usr/share/fonts/truetype erstellt und dorthin die TTF's kopiert die ich systemweit haben möchte. Dann dein besagtes "sudo fc-cache -f -v" ausgeführt.

Bei dir scheint es mir als ob der Prozess eine Chache-Datei erstellen möchte und aufgrund fehlender Schreibrechte scheitert. Das ist aber jetzt ins Blaue geraten.

Es grüßt ... Hardy

kedmanee

Avatar von kedmanee

Anmeldungsdatum:
28. September 2009

Beiträge: 354

Wohnort: Thüringen

p.s. und OT: Die Garamond gefällt mir auch sehr gut. Ich benutze Sie für Briefe, Bewerbungen etc.

xrolly

(Themenstarter)
Avatar von xrolly

Anmeldungsdatum:
26. September 2007

Beiträge: 4322

Wohnort: NRW; 51° 39′ N, 7° 21′ O

kedmanee schrieb:

Bei dir scheint es mir als ob der Prozess eine Chache-Datei erstellen möchte und aufgrund fehlender Schreibrechte scheitert. Das ist aber jetzt ins Blaue geraten.

.. Nein, du hattest gar nicht mal so unrecht.
Ich habe die Rechte u. Besitzer der einzelnen Ordner u. *.ttf - Dateien mal gecheckt.
Es war das reinste Chaos, vereinzelnd gehoerten Ordner in /usr/share/fonts noch mir statt root, dann teilweise hatten sie den Ausfuehrbit, weiss der Geier warum. Jetzt hat alles seine Ordnung, wie gut das man mit chmod und chown umgehen kann. Hat mal seine Zeit gedauert bis ich verstanden habe wie die Rechte und Besitzer zu verteilen sind. Nun jetzt scheint alles seine Ordnung zu haben, der Durchlauf mit

1
sudo fc-cache -f -v

.. sieht schon ganz anders aus:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/usr/share/fonts: caching, new cache contents: 0 fonts, 4 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 43 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 26 dirs
/usr/share/fonts/truetype/Visitor_TT2_BRK: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/conkyforecast: caching, new cache contents: 7 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/thai: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/truetype/ttf--devil-inside: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf--openlogos: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-arabeyes: caching, new cache contents: 39 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bengali-fonts: caching, new cache contents: 5 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bitstream-vera: caching, new cache contents: 10 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-dejavu: caching, new cache contents: 21 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-devanagari-fonts: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-droids: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-gujarati-fonts: caching, new cache contents: 5 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-indic-fonts-core: caching, new cache contents: 11 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-kannada-fonts: caching, new cache contents: 7 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-lao: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-liberation: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-malayalam-fonts: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-mgopen: caching, new cache contents: 16 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-oriya-fonts: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-punjabi-fonts: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-sil-gentium: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-tamil-fonts: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-telugu-fonts: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/X11/fonts: skipping, no such directory
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/home/chrishe/.fonts: caching, new cache contents: 0 fonts, 2 dirs
/home/chrishe/.fonts/truetype: caching, new cache contents: 13 fonts, 0 dirs
/home/chrishe/.fonts/type1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-gentium: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/home/chrishe/.fontconfig: cleaning cache directory
fc-cache: succeeded

Damit scheint der Fall geloest zu sein.
Danke dir kedmanee fuer deinen Tipp .. 👍

axt

Anmeldungsdatum:
22. November 2006

Beiträge: 34254

xrolly schrieb:

Es war das reinste Chaos, vereinzelnd gehoerten Ordner in /usr/share/fonts noch mir statt root, dann teilweise hatten sie den Ausfuehrbit,

Der Grund kann dies aber nicht gewesen sein. Du hast den Befehl fc-cache mit sudo durchgeführt, da ist es völlig egal, ob .ttf-Files Dir oder root gehören, ob sie ausführbar sind, ist eh völlig ohne Belang.

xrolly

(Themenstarter)
Avatar von xrolly

Anmeldungsdatum:
26. September 2007

Beiträge: 4322

Wohnort: NRW; 51° 39′ N, 7° 21′ O

axt schrieb:

Der Grund kann dies aber nicht gewesen sein.

Welchen kann/koennte es den dann deiner Meinung nach gehabt haben ?
Der Durchlauf scheint seltsamerweise nach den Aenderungen in Ordnung zu sein.
Ausser einem Neustart von gestern auf Heute und den chown u. chmod Aenderungen, habe ich keine anderen Dinge getan.

axt

Anmeldungsdatum:
22. November 2006

Beiträge: 34254

xrolly schrieb:

Welchen kann/koennte es den dann deiner Meinung nach gehabt haben?

Das ist eine andere Frage. Der angenommene Grund kann es aber wie begründet nicht sein.

Ausser einem Neustart von gestern auf Heute

Sind beide beanstandeten .cache-2 noch vorhanden?

xrolly

(Themenstarter)
Avatar von xrolly

Anmeldungsdatum:
26. September 2007

Beiträge: 4322

Wohnort: NRW; 51° 39′ N, 7° 21′ O

axt schrieb:

Sind beide beanstandeten .cache-2 noch vorhanden?

.. sie waren gestern ja nicht vorhanden, wie im ersten Beitrag zu ersehen ist.
Seltsamerweise ist heute einer davon im Ordner ~/.fontconfig zu sehen:

~/.fontconfig/d7a34a017cebec3ee90330ed7f8b6456-x86.cache-2

Den anderen:

/home/chrishe/.fontconfig: invalid cache file: 5994b307d0712e634b442f89f31228f2-x86.cache-2

gibt es nicht.

axt

Anmeldungsdatum:
22. November 2006

Beiträge: 34254

xrolly schrieb:

.. sie waren gestern ja nicht vorhanden, wie im ersten Beitrag zu ersehen ist.

invalid heißt nicht "nicht vorhanden", sondern ungültig. Ein Löschen beider beanstandeter .cache-2-Files hätte sehr wahrscheinlich genügt.

Btw.: Laß doch bitte Umbrüche den Browser entscheiden und die ständigen "\\" weg - danke!

xrolly

(Themenstarter)
Avatar von xrolly

Anmeldungsdatum:
26. September 2007

Beiträge: 4322

Wohnort: NRW; 51° 39′ N, 7° 21′ O

axt schrieb:

xrolly schrieb:

.. sie waren gestern ja nicht vorhanden, wie im ersten Beitrag zu ersehen ist.

invalid heißt nicht "nicht vorhanden", sondern ungültig. Ein Löschen beider beanstandeter .cache-2-Files hätte sehr wahrscheinlich genügt.

Wie soll ich sie den loeschen wenn sie gestern nicht da gewesen sind ?

Sie waren gestern nicht da und heute gibt es davon einen, der aber im Durchlauf des Befehls:

1
sudo fc-cache -f -v

.. nicht zu einer Beanstandung fuehrt.

Reden, schreiben wir hier aneinander vorbei ?

Antworten |