0

My system: 32 bit, PIV 2.4 Ghz, 1GB RAM, No Graphic Card, Windows / Ubuntu dual boot system.

Two days ago, I did upgrade, which went smoothly. After restarting system, and doing login, I see only blank desktop, no Unity launcher or task bar, no gui, nothing. I can press Ctrl+Alt+T and open programs, but graphics looks very old.

I was trying solutions posted on this forums, one of command sudo apt-get install -f gave following error, which I was getting previously also.

Below error:

Preconfiguring packages . . .
dpkg: error: parsing file '/var/lib/dpkg/available' near line 59
missing package name

A fatal error occurred.
Please report this as a bug and include the files.
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in your report. The upgrade has aborted.
Your original sources list was saved in 
/etc/apt/sources list.distUpgrade

System Error E: sub-process /usr/bin/dpkg/ returned an error code (2)
  • Try re-installing Unity - Also, what is on line 59 of /var/lib/dpkg/available? - you can use cat -n /var/lib/dpkg/available to find it. – Wilf Dec 6 '13 at 22:50
  • I checked, it is blank. – msinfo Dec 7 '13 at 17:04
  • There are a few methods listed here to remedy the dpkg thing - try that, and only if that does not work, run sudo cp /var/lib/dpkg/available /var/lib/dpkg/available.bak, and then sudo nano /var/lib/dpkg/available, remove the 59th line, save with Ctrl+O and Enter, and then exit with Ctrl+X - then try apt-get again. Then you should be able to reinstall Unity to restore the graphics. – Wilf Dec 7 '13 at 17:32
  • @wilf : Thanks, did what you said, and it resolved my problem. I have now my desktop and icons. But whole UI is now very very slow. Even in browser keys are getting send late by 2secs. Windows also lag in response. I don't have any graphics card. At login screen I can see only Ubuntu option for Desktop Environment. Do you have an idea about this? And how could I mark your response as answer? – msinfo Dec 8 '13 at 15:19
  • If Windows is also lagging, as well, it is likely to be a hardware problem. :-( - Does lspci -v show anything different to what you normally expect? I will add my comment as an answer anyway – Wilf Dec 8 '13 at 15:22
0

There are a few methods listed here to remedy the dpkg thing.

Only if the above does not help you, try this: run sudo cp /var/lib/dpkg/available /var/lib/dpkg/available.bak, and then sudo nano /var/lib/dpkg/available, remove the 59th line, save with Ctrl+O and , and then exit with Ctrl+X - then try apt-get again. Then you should be able to reinstall Unity to restore the graphics.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.