On Monday 19 February 2001 10:21, Eivind Arnesen wrote:
> I was just beginning to feel comfortable with Debian, when my
> X configuration broke down.  I tried to remove XFree and install it
> again, but there is too many dependency problems.  It looks like the
> package database
> is really screwed up.  Just about whatever I try to do, I get some
> complaints
> about broken dependecies.  I think maybe some of the dependent files,

Don't give up ;) It is clear that a lot of things depend on x-packages 
when they run under X.

As we don't know hear, what you mean by 'X configuration broke down', 
we follow your way to install from scratch.

I don't know how you get your package files. apt from the net - sri, 
can't help. You have them stored locally - here we go:

As always, have a backup ;) and rtfm: man dpkg; 

You can force dpkg to do sth. even when dependency problems would 
normally not permit to do so. We assume you know what you're doing :)
I always try a command the normal way first, if dependancy-checks fail 
and i know it's the right thing to do, than use --force-depends.

To show what packages you have installed starting with x:
dpkg -l x\*

now remove what you think is broken (try normal first, then, if you 
have to):

dpkg --force-depends -P package

Now reinstall what is missing:

dpkg --force-depends -i debfilename

You can always check the state of your efforts

apt-get check

Hopefully the list of unmet dependancies is getting shorter over time 
you do that. You can not use apt-get before all dependancies are ok.

hth, martin

Reply via email to