Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-10-2006, 03:26 PM
|
#1
|
Member
Registered: Feb 2006
Location: Bristol, UK
Distribution: Debian
Posts: 76
Rep:
|
Dependency problems, how does one go about fixing?
Hi there,
Okay, I'll hold my hands up and say I moved to testing and broke my install! Why did I do it? I wanted to, thats why :-) Everything was working find and dandy and it was getting a bit boring, so I tried to get Xorg installed.
But now it's knackered.
So, my question is what exactly is the general (oxymoron?) procedure to fix a broken Debian install? I don't really want to just re-install, I want to get the satisfaction of fixing it!
I've managed to get XFree86 working, but that's it - I can start it by running /usr/X11R6/bin/XFree86 (or something) but it just displays the grey screen with the the cross mouse pointer.
Any help would be great!
|
|
|
03-10-2006, 03:42 PM
|
#2
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
You can do a lot of things:
1) dpkg-reconfigure xserver-xfree86
2) apt-get install --reinstall xserver-xfree86
3) apt-get remove --purge xserver-xfree86 and then apt-get install xserver-xorg
4) sometimes a good old apt-get dist-upgrade will fix a lot of problems
You can also try typing startkde (or whatever windowing system you're using) to see if that gets the desktop going. Then it's just a matter of finding the config file for starting that as default.
|
|
|
03-10-2006, 04:32 PM
|
#3
|
Member
Registered: Feb 2006
Location: Bristol, UK
Distribution: Debian
Posts: 76
Original Poster
Rep:
|
Well, that's something to go on.
Cheers for the help - i'll give it a whirl right now!
|
|
|
03-10-2006, 04:43 PM
|
#4
|
Member
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241
Rep:
|
The first step in upgrading to Etch is changing from XFree86 to X.org.
Follow the procedure in this page:
http://www.debian-administration.org/articles/185
Once done that you can change the sources.list, so that you can use the repositories for etch/testing and then do:
Code:
apt-get update
apt-get dist-upgrade
|
|
|
03-10-2006, 05:52 PM
|
#5
|
Member
Registered: Feb 2006
Location: Bristol, UK
Distribution: Debian
Posts: 76
Original Poster
Rep:
|
Wooh Hoo!
I'm back in the game! Got it working again now! Excitement all round!
I'm in the Testing branch - I guess that's also known as etch yeah?
AND i'm running Xorg (my symbolic link in etc/X11/X is pointing to Xorg
Few things aren't 100% yet, it doesn't boot straight into a graphical login but I kind of like what I'm learning having to scramble about in the CLI.
Anyway, cool, thanks for your help fellas :-)
bye for now!
|
|
|
03-10-2006, 06:06 PM
|
#6
|
Member
Registered: Feb 2006
Location: Bristol, UK
Distribution: Debian
Posts: 76
Original Poster
Rep:
|
Actually I take some of that back - I don't seem to have hardware acceleration anymore... :-(
Cube now runs like a dog, a lame dog with it's legs cut off...
|
|
|
03-10-2006, 06:11 PM
|
#7
|
Member
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423
Rep:
|
what video chipset do you have?
|
|
|
03-10-2006, 06:19 PM
|
#8
|
Member
Registered: Feb 2006
Location: Bristol, UK
Distribution: Debian
Posts: 76
Original Poster
Rep:
|
I have nvidia - a wickid Geforce4 4600Ti 128Meg ram.
I installed the nvidias drivers previously and they worked sweet as a nut.
But now, even though the Nvidia logo comes up, don't seem to be playing ball...
You got some ideas?
|
|
|
03-11-2006, 12:06 AM
|
#9
|
Member
Registered: Mar 2005
Location: University of Massachusetts - Lowell
Distribution: Ubuntu, Win 7 Pro, Win 7 Enterprise
Posts: 126
Rep:
|
Quote:
Originally Posted by miner49er
I have nvidia - a wickid Geforce4 4600Ti 128Meg ram.
I installed the nvidias drivers previously and they worked sweet as a nut.
But now, even though the Nvidia logo comes up, don't seem to be playing ball...
You got some ideas?
|
Have you compiled or installed a new kernel since the NVIDIA driver was installed? Anytime you upgrade the kernel, the NVIDIA driver needs to be reinstalled. What does the output of "cat /proc/driver/nvidia/agp/status" give you? I'm assuming you're using AGP here.
|
|
|
03-11-2006, 01:50 AM
|
#10
|
Member
Registered: Feb 2006
Location: Bristol, UK
Distribution: Debian
Posts: 76
Original Poster
Rep:
|
output is:
Status: Enabled
Driver: AGPGART
AGP Rate: 4x
Fast Writes: Disabled
SBA: Disabled
So, it'a working right?
I'll try re-installing the drivers (seems a lame way to go but still)
I haven't upgraded the kernel myself, unless it did when moving to testing?
|
|
|
03-11-2006, 03:38 AM
|
#11
|
Member
Registered: Mar 2005
Location: University of Massachusetts - Lowell
Distribution: Ubuntu, Win 7 Pro, Win 7 Enterprise
Posts: 126
Rep:
|
Quote:
Originally Posted by miner49er
output is:
Status: Enabled
Driver: AGPGART
AGP Rate: 4x
Fast Writes: Disabled
SBA: Disabled
So, it'a working right?
I'll try re-installing the drivers (seems a lame way to go but still)
I haven't upgraded the kernel myself, unless it did when moving to testing?
|
From my experience, upgrading to testing or unstable never upgrades the kernel automatically. Usually in Synaptic, the kernel packages will get moved into the "local or obsolete" section, and I'll upgrade the kernel myself. Before reinstalling the driver, you could try reconfiguring X with "dpkg-reconfigure xserver-xorg", and make sure all your settings are correct.
|
|
|
03-11-2006, 04:34 AM
|
#12
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Rep: 
|
You might need to make changes in /etc/X11/xorg.conf since the file might have changed after you did the upgrade.
On a general note: yes, upgrading Debian sometimes breaks a few things in "testing" but never so critically as it renders the system unusable. And there are ways to get it back working, usually by running dpkg-reconfigure on affected packages.
|
|
|
03-14-2006, 02:04 PM
|
#13
|
Member
Registered: Feb 2006
Location: Bristol, UK
Distribution: Debian
Posts: 76
Original Poster
Rep:
|
Just to put this thread to an end:
In the end, I rebuilt my kernel and then re-installed my NVIDIA driver. I had to rebuild my kernel, as I had GCC 4.0 installed (and didn't want to downgrad) but my kernel was built with GCC 3.3 and NVIDIA required a kernel built with the current GCC installed.
It works now, but i've lost sound, if nobody can suggest anything i'll start a new thread.
Thanks for all your help everyone!
|
|
|
03-14-2006, 02:39 PM
|
#14
|
Member
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423
Rep:
|
Just so you know, you can have multiple versions of gcc installed. You sound issue is probably due to something left out of your kernel build. What hardware do you have and can you post the relevant .config options for your soundcard?
|
|
|
03-14-2006, 02:46 PM
|
#15
|
Member
Registered: Feb 2006
Location: Bristol, UK
Distribution: Debian
Posts: 76
Original Poster
Rep:
|
I don't know what .config options I need to post????
I have SBLive! it used to happily use EMU10K1, when i do lspci, it's listed
0000:00:06.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
when I do lsmod, it shows ac_97 in there? Could that be conflicting? I'm sure it wasn't there before (could be wrong though)
What else can I do?
I used the standard debian kernel config file to build the kernel, so there was loads of extra rubbish in there I probably don't need.
|
|
|
All times are GMT -5. The time now is 01:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|