Author: Austin Godber Date: Subject: Help - apt-get upgrade and startx does not work!!
Mark Phillips wrote: > I ran apt-get update, then upgrade, then dist-upgrade and now startx
> will not work.
>
> I got the following error at the end of apt-get upgrade:
>
> Setting up xdm (4.3.0-2).
> /var/lib/dpkg/info/xdm.config line 645 "kdm" to "xdm": command not found
>
> dpkg: error processing xdm (-- configure) subprcess post-installation
> script returned error exit status 127
>
> Everything was running OK before I did this update and upgrade. I looked
> at line 645 in /var/lib/dpkg/info/xdm.config, but there are not
> references to "kdm" or "xdm" on that line. Line 645 is the last line in
> the script, so I think the error is occurring somewhere else and this is
> some sort of exit point from the script???
>
> Is there a way to back out all the changes and return to my previous
> configuration before I ran apt-get update??
>
> I need help to fix this problem. I have a project that I need to work on
> and it is being help hostage by xdm!!
First a word of caution. Don't use apt-get dist-upgrade unless you are
really upgrading from one distribution level to another.