LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-29-2007, 05:36 AM   #1
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Debian
Posts: 214

Rep: Reputation: 27
Slacker encounter with APT-get.


Hi all. I've been using Debian only since 4.0 came out, previously I've only really used Slackware. I'm liking Debian a lot but when reinstalling I'm encountering some problems (I re-reinstalled it this morning but broke down the process with a couple of reboots to try and avoid getting the error message again (reinstalled last night) as I thought I was maybe just trying to do too much at once). I set the sources & apt-get update first then set about installing some stuff:

$ apt-get install linux-image-2.6-k7 nvidia-kernel-2.6-k7 nvidia-settings nvidia-glx

Reboot.

$ apt-get install w32codecs libdvdcss2 flashplayer-mozilla totem totem-mozilla realplayer kaffeine

Reboot.

$ apt-get install gimp knetdockapp adept openoffice.org-calc openoffice.org-writer

All is ok until the last one, it gives the following messages:

[HTML]Setting up ttf-opensymbol (2.0.4.dfsg.2-5etch1) ...
Updating fontconfig cache...
/usr/share/fonts: failed to write cache
/usr/share/fonts/X11: failed to write cache
/usr/share/fonts/X11/100dpi: failed to write cache
/usr/share/fonts/X11/75dpi: failed to write cache
/usr/share/fonts/X11/Type1: failed to write cache
/usr/share/fonts/X11/encodings: failed to write cache
/usr/share/fonts/X11/encodings/large: failed to write cache
/usr/share/fonts/X11/misc: failed to write cache
/usr/share/fonts/X11/util: failed to write cache
/usr/share/fonts/truetype/dustin: failed to write cache
/usr/share/fonts/truetype/kochi: failed to write cache
/usr/share/fonts/truetype/sjfonts: failed to write cache
/usr/share/fonts/truetype/ttf-dejavu: failed to write cache
/usr/share/fonts/type1: failed to write cache
/usr/share/fonts/type1/gsfonts: failed to write cache
/usr/X11R6/lib/X11/fonts: failed to write cache
/usr/X11R6/lib/X11/fonts/encodings: failed to write cache
/usr/X11R6/lib/X11/fonts/encodings/large: failed to write cache
/usr/local/share/fonts: failed to write cache
/var/lib/defoma/fontconfig.d: failed to write cache
/var/lib/defoma/fontconfig.d/B: failed to write cache
/var/lib/defoma/fontconfig.d/C: failed to write cache
/var/lib/defoma/fontconfig.d/D: failed to write cache
/var/lib/defoma/fontconfig.d/E: failed to write cache
/var/lib/defoma/fontconfig.d/I: failed to write cache
/var/lib/defoma/fontconfig.d/J: failed to write cache
/var/lib/defoma/fontconfig.d/K: failed to write cache
/var/lib/defoma/fontconfig.d/M: failed to write cache
/var/lib/defoma/fontconfig.d/N: failed to write cache
/var/lib/defoma/fontconfig.d/P: failed to write cache
/var/lib/defoma/fontconfig.d/S: failed to write cache
/var/lib/defoma/fontconfig.d/U: failed to write cache
/var/lib/defoma/fontconfig.d/W: failed to write cache
/var/lib/defoma/fontconfig.d/f: failed to write cache
/var/lib/defoma/fontconfig.d/p: failed to write cache
dpkg: error processing ttf-opensymbol (--configure):
subprocess post-installation script returned error exit status 35
dpkg: dependency problems prevent configuration of openoffice.org-core:
openoffice.org-core depends on ttf-opensymbol; however:
Package ttf-opensymbol is not configured yet.
dpkg: error processing openoffice.org-core (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org-calc:
openoffice.org-calc depends on openoffice.org-core (= 2.0.4.dfsg.2-5etch1); how ever:
Package openoffice.org-core is not configured yet.
dpkg: error processing openoffice.org-calc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-uno:
python-uno depends on openoffice.org-core (= 2.0.4.dfsg.2-5etch1); however:
Package openoffice.org-core is not configured yet.
dpkg: error processing python-uno (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org-writer:
openoffice.org-writer depends on openoffice.org-core (= 2.0.4.dfsg.2-5etch1); h owever:
Package openoffice.org-core is not configured yet.
openoffice.org-writer depends on python-uno (>= 2.0.4.dfsg.2); however:
Package python-uno is not configured yet.
dpkg: error processing openoffice.org-writer (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ttf-opensymbol
openoffice.org-core
openoffice.org-calc
python-uno
openoffice.org-writer
E: Sub-process /usr/bin/dpkg returned an error code (1)
zippy:/home/murray# [/HTML]

Any ideas, I was even taking a note of the recommended & suggested packages to install them afterwards? I was hoping debian would take care of all dependency stuff magically, but there are messages about 'dependency problems' in that message.

Thanks.
 
Old 05-29-2007, 05:47 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Code:
dpkg-reconfigure fontconfig
This reconfigures the fontconfig package that's giving you problems. If it fails, use the force option: apt-get -f (no args)
 
Old 05-29-2007, 06:07 AM   #3
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Debian
Posts: 214

Original Poster
Rep: Reputation: 27
Thanks Duch Master, it looks like that did the job. I then re-ran the last apt-get line and it did the configuration part without any errors.

Thanks.
 
Old 05-29-2007, 11:35 AM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I hope you realize there's more to getting the nvidia drivers running that just installing those packages. In the "Configuring Debian Etch" section on the left of the page link below is a link to a good tutorial.
http://www.debiantutorials.org/
 
Old 05-29-2007, 01:22 PM   #5
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Debian
Posts: 214

Original Poster
Rep: Reputation: 27
Junior Hacker, 62.1FPS in DOOM3 says it does work. Beyond installing the above packages, all I need to do further is edit /etc/X11/xorg.conf as follows: change Driver "nv" to "nvivdia" & comment-out the line Load "dri" bit. I'm somewhat perplexed how all the nvidia guides I find for Debian are so lengthy. In Slackware its just a matter of running the nvidia .run file & then configuring xorg.conf, maybe reinstalling it if I've been playing with a new kernel but that's rare. I say my way is miles easier than most debian tutorials, although that one you pointed out seems marginally shorter than most. I don't appear to have nvidia-setting or glxinfo or glxgears, but they don't really do anything useful anyway & I'm refraining from chasing new driver versions (I did in Slackware) as ver.8776 works good for me.

Then again maybe I'm totally missing the point of that tutorial?

EDIT: oh, nvidia-settings is installed, just not in KDE menus.

Last edited by Mr Marmmalade; 05-29-2007 at 01:31 PM.
 
Old 05-29-2007, 02:05 PM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Hmmm!
Odd, that tutorial mentions using module assistant, maybe that has something to do with not ever having to do anything else when upgrading the kernel. If I remember correctly, I also ran 'dpkg-reconfigure xserver-xorg' to get everything right in xorg.conf including proper monitor settings. That tutorial also shows how to install the binaries from NVIDIA which is allot simpler. Below is my xorg.conf after going through 'dpkg-reconfigure xserver-xorg'. Not sure what the last section about DRI Mode does. (Number of the beast).
Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "Device"
	Identifier	"NVIDIA GeForce 6800"
	Driver		"nvidia"
EndSection

Section "Monitor"
	Identifier	"Generic"
	Option		"DPMS"
	HorizSync	30-70
	VertRefresh	50-160
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA GeForce 6800"
	Monitor		"Generic"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1920x1440"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1920x1440"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1920x1440"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1920x1440"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1920x1440"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1920x1440"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "DRI"
	Mode	0666
EndSection

Last edited by Junior Hacker; 05-29-2007 at 02:07 PM.
 
Old 05-29-2007, 02:27 PM   #7
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Debian
Posts: 214

Original Poster
Rep: Reputation: 27
I don't think I'd want to run 'dpkg-reconfigure xserver-xorg', if its anything like that xf86config program I remember. I learnt to avoid any automagical X setup stuff & do it myself in xorg.conf, its easy enough. Note the CursorShadow bit I like to add, I can't live without it. Well I quite probably could, I don't want to test it though, but you know what I mean.

[HTML]
Section "Device"
Identifier "nVidia Corporation NV40 [GeForce 6800]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "CursorShadow" "1"
EndSection
[/HTML]

NOTE: DRI 0666 is a special Linux variable for 'Devil Requires Ice-cream', often referred online to as the 'Speed Demon - Catcher of the Fry', to stop the graphics card from running so fast that it'd whoop the backside of the Window$ graphics system, unfortunately melting in the process. Hence the requirement for Ice-cream, rum & rasin preferrably. That's why Linux rarely matches Window$ graphics speeds.

Last edited by Mr Marmmalade; 05-29-2007 at 02:44 PM.
 
Old 05-29-2007, 06:05 PM   #8
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
The dpkg-reconfigure xserver-xorg asks you what are the settings (it does makes some suggestions but you have to choose the suggestions -or whatever is a better option.)

It's not like the X - xconfig or whatever it is. I know what you are talking about.
 
Old 05-29-2007, 08:38 PM   #9
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Sarge had x-free86, so probably this one --->dpkg-reconfigure xserver-xfree86
 
Old 05-30-2007, 02:51 PM   #10
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
Quote:
Originally Posted by Mr Marmmalade
...I don't appear to have nvidia-setting or glxinfo or glxgears
If you ever decide you have a use for glxinfo, just install the mesa-utils package.

There's nothing that says you can't just install the nvidia blob the way you did on Slackware btw, the only catch being whenever X.org or your kernel is updated, you'll have to (remove it first, then) install it again. If you're running Etch though, that shouldn't be too often.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network downed and mm encounter corrupt Connor.Xu Linux - Networking 0 12-25-2006 03:57 AM
Encounter problems when installing mcrypt chu2654 Linux - Server 1 11-19-2006 05:23 PM
Encounter a big problem while using phaser of Expat SybaseLu Linux - Software 2 05-31-2006 03:31 AM
RFC: Interesting Problems Users Encounter When First Setting Up Slackware vmt1 Slackware 10 01-06-2006 08:06 PM
<n00bie> FEAR (First Encounter Assault and Recon) ntgaston98 Linux - Games 1 10-20-2005 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration