error processing gdm

Asked by fred-allen

I recently ran the system updates and it returned an error while processing gdm... now I can only log in through the recovery mode and I do not know what to do to correct the problem. Here is my terminal output:

Setting up gdm (2.20.7-0ubuntu1.1) ...
dpkg: error processing gdm (--configure):
 failed in buffer_read(fd): md5hash: Input/output error
Errors were encountered while processing:
 gdm

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Felipe Xavier
Solved:
Last query:
Last reply:
Revision history for this message
fred-allen (faself) said :
#1

E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Felipe Xavier (lipe-loko94) said :
#2

Try this on the terminal:
dpkg --configure -a

Revision history for this message
fred-allen (faself) said :
#3

I tried it, but it brings back the exact same error...

Revision history for this message
Felipe Xavier (lipe-loko94) said :
#4

What Ubuntu version do you use?
Did you upgrade it from an older version or you made a clean install?

Revision history for this message
fred-allen (faself) said :
#5

Ubuntu Hardy 8.04. I made a clean install and the error happened when downloading and installing updates. I have used the recovery console to try and repair broken packages but get the same error back.

Revision history for this message
Best Felipe Xavier (lipe-loko94) said :
#6

Try this:
sudo dpkg-reconfigure gdm

If that doesn't work then it should be a bug or you can try to remove gdm and then install it again.

Revision history for this message
fred-allen (faself) said :
#7

Thanks Felipe Xavier, that solved my question.