1

I have Raspberry 2 B, installed the Raspbian image . Everything was good. However, when I ran

sudo apt-get upgrade

it took about 50minues, and after reboot, i have blank screen with blinking horizontal cursor. I can SSH and work commands, but no GUI.

Can anyone tell me why this is happening, how to avoid it, and possibly shed some information on this matter?

mgPePe
  • 161
  • 1
  • 4

2 Answers2

2

I just figured it out. I was trying to do sudo apt-get upgrade over WiFi dongle. However, the WiFi dongle didn't have good connection and things were dropping and apparently files were missing or were badly downloaded and as a result the os broke every time.

Also, my card was 16 GB, but the image was for 4 GB, so I had to expand the partition to take all the space (I saw somewhere errors for space too)

I connected it through Ethernet, ran again and everything was good.

techraf
  • 4,353
  • 10
  • 32
  • 43
mgPePe
  • 161
  • 1
  • 4
1

If none of those other options work, and you don't have any important files, you could always reformat the sd card and download a new version of raspian on it. However, I would only do this as a last resort if nothing else is working. You could also try and back up whatever you have left before you do this.

John Quincy
  • 313
  • 1
  • 2
  • 6