PDA

View Full Version : Update Failed - KDM Problem



Max
12-26-2003, 10:57 PM
Lately whenever I use Synaptic Package Manager to install anything I
usually get this feedback:


Selecting previously deselected package kdebase.
(Reading database ... 127539 files and directories currently installed.)
Unpacking kdebase (from .../kdebase_4%3a3.1.4-1_all.deb) ...
Setting up kdm (3.1.4-1) ...
dpkg: error processing kdm (--configure):
subprocess post-installation script returned error exit status 30
Setting up kdebase (3.1.4-1) ...

Update failed - Scroll in this buffer to see what went wrong

I seem to have some kind of kdm problem. I wonder what this is & what
I can do about it.
Max

Stephen
12-27-2003, 12:27 AM
Lately whenever I use Synaptic Package Manager to install anything I
usually get this feedback:


Selecting previously deselected package kdebase.
(Reading database ... 127539 files and directories currently installed.)
Unpacking kdebase (from .../kdebase_4%3a3.1.4-1_all.deb) ...
Setting up kdm (3.1.4-1) ...
dpkg: error processing kdm (--configure):
subprocess post-installation script returned error exit status 30
Setting up kdebase (3.1.4-1) ...

Update failed - Scroll in this buffer to see what went wrong

I seem to have some kind of kdm problem. I wonder what this is & what
I can do about it.
Max

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=224567 you could try to track down the patch mentioned in the last report I did a quick search but cannot seem to find it.

Max
12-27-2003, 08:29 AM
Thanks for your reply. If this is the answer I don't understand it:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=224574
Max

Stephen
12-27-2003, 09:38 AM
Thanks for your reply. If this is the answer I don't understand it:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=224574
Max

Easy enough now that I have seen the patch open a console window (clam shell Icon on the task bar) then su then enter key type in the root password and enter again you are now root. Now gvim /var/lib/dpkg/info/kdm.config to open the file needed for editing and go down to line 50 and add the || true to the end of the line seperated by a space from the last word and do the same on line 51 and save the file. Now apt-get install --reinstall kdm and it should reinstall with no problems at least it did here. I did get a warning "head: -1: invalid number of lines" but I think that is because I changed the file. The "||" in the || true are two pipe characters they are located on my keyboard above the "\" backslash key so use SHIFT+\ and you get the character.

Max
12-27-2003, 01:57 PM
Thanks for your reply. If this is the answer I don't understand it:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=224574
Max

Easy enough now that I have seen the patch open a console window (clam shell Icon on the task bar) then su then enter key type in the root password and enter again you are now root. Now gvim /var/lib/dpkg/info/kdm.config to open the file needed for editing and go down to line 50 and add the || true to the end of the line seperated by a space from the last word and do the same on line 51 and save the file. Now apt-get install --reinstall kdm and it should reinstall with no problems at least it did here. I did get a warning "head: -1: invalid number of lines" but I think that is because I changed the file. The "||" in the || true are two pipe characters they are located on my keyboard above the "\" backslash key so use SHIFT+\ and you get the character.
That seems to have fixed it. There was some kind of a problem with
installed packages not showing up on the Kmenu but now it looks like
they are all there & after the last upgrade instead of:

Update failed - Scroll in this buffer to see what went wrong
Synaptic Package Manager said:

Update finished - You can close the window now
Thank you very much. Now I just wish I knew what this meant:

Debian Configuration

Configuring mdadm

WARNING! Zero the superblock if you reuse hard disks.

WARNING! If you are using hard disks which have a md superblock from
an earlier installation, you MUST zero the superblock before
activating the autostart feature, Answer 'No' to the next question
and zero the superblock (mdadm --zero- superblock /dev/xxx), You can
then use 'dpkg-reconfigure mdadm' to activate the autostart feature.
Max

Stephen
12-27-2003, 08:10 PM
That seems to have fixed it. There was some kind of a problem with
installed packages not showing up on the Kmenu but now it looks like
they are all there & after the last upgrade instead of:

Update failed - Scroll in this buffer to see what went wrong
Synaptic Package Manager said:

Update finished - You can close the window now
Thank you very much. Now I just wish I knew what this meant:

Debian Configuration

Configuring mdadm

WARNING! Zero the superblock if you reuse hard disks.

WARNING! If you are using hard disks which have a md superblock from
an earlier installation, you MUST zero the superblock before
activating the autostart feature, Answer 'No' to the next question
and zero the superblock (mdadm --zero- superblock /dev/xxx), You can
then use 'dpkg-reconfigure mdadm' to activate the autostart feature.
Max

That is the RAID tool mdadm asking you a question it looks like it is not going to autostart but you should remove the package mdadm with either apt-get remove --purge mdadm or synaptic if you are not using a RAID on the system.

Max
12-27-2003, 10:07 PM
Removed mdadm with Synaptic. Thanks for all your help.
Max