Re: removing gdm



On 2001.12.08 00:16 An-Dee wrote:
Hello

  I have a little problem. I use woody. I installed gdm, but
  unfortunately, I cannot use my keyboard and my mouse with it, so I
  installed kdm and forget to remove gdm.
  Now I dont have any working grafical login.
  When I try to remove gdm I got the following:

Reading Package Lists...
Building Dependency Tree...
The following packages will be REMOVED:
  gdm
0 packages upgraded, 0 newly installed, 1 to remove and 9  not upgraded.
2 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 3445kB will be freed.
Do you want to continue? [Y/n] (Reading database ... 54029 files and
directories currently installed.)
Removing gdm ...
Use of uninitialized value in exists at
/usr/share/perl5/Debconf/DbDriver/Cache.pm line 29.
Use of uninitialized value in hash element at
/usr/share/perl5/Debconf/DbDriver/Cache.pm line 29.
Use of uninitialized value in hash element at
/usr/share/perl5/Debconf/Template.pm line 53.
Use of uninitialized value in hash element at
/usr/share/perl5/Debconf/Template.pm line 53.
Use of uninitialized value in exists at
/usr/share/perl5/Debconf/Template.pm
line 49.
Use of uninitialized value in hash element at
/usr/share/perl5/Debconf/Template.pm line 49.
Use of uninitialized value in exists at
/usr/share/perl5/Debconf/DbDriver/Cache.pm line 40.
Use of uninitialized value in hash element at
/usr/share/perl5/Debconf/DbDriver/Cache.pm line 48.
Use of uninitialized value in hash element at
/usr/share/perl5/Debconf/DbDriver/Cache.pm line 116.
dpkg: error processing gdm (--remove):
 subprocess pre-removal script returned error exit status 10
Use of uninitialized value in exists at
/usr/share/perl5/Debconf/DbDriver/Cache.pm line 29.
Use of uninitialized value in hash element at
/usr/share/perl5/Debconf/DbDriver/Cache.pm line 29.
Use of uninitialized value in hash element at
/usr/share/perl5/Debconf/Template.pm line 53.
Use of uninitialized value in hash element at
/usr/share/perl5/Debconf/Template.pm line 53.
Use of uninitialized value in exists at
/usr/share/perl5/Debconf/Template.pm
line 49.
Use of uninitialized value in hash element at
/usr/share/perl5/Debconf/Template.pm line 49.
Use of uninitialized value in exists at
/usr/share/perl5/Debconf/DbDriver/Cache.pm line 40.
Use of uninitialized value in hash element at
/usr/share/perl5/Debconf/DbDriver/Cache.pm line 48.
Use of uninitialized value in hash element at
/usr/share/perl5/Debconf/DbDriver/Cache.pm line 116.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 10
Errors were encountered while processing:
 gdm
E: Sub-process /usr/bin/dpkg returned an error code (1)


   How can I remove gdm and make kdm working on my box?


I had this problem once and I tried installing the package I could not remove (I reinstalled it) then I tried removing it. That sometimes works, but what I would do in this case is to first disable the script by putting this on the first line after the line that has

#!/bin/sh

under that line add:

exit 0



that will disable the script so that perhaps kdm can start, then you can try to remove the gdm package.


--
Andrew



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]