Saturday, July 4, 2009

dpkg was interrupted

Semasa saya mahu update ubuntu, keluar

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

Kemudian saya pun taip sudo dpkg --configure -a di terminal

penahijau@penahijau-laptop:~$ sudo dpkg --configure -a

Keluar pula error ini.

dpkg: parse error, in file `/var/lib/dpkg/updates/0004' near line 1:
field name `libxml-sax-perl' must be followed by colon

Terjumpa artikel di http://kubuntuforums.net/forums/index.php?topic=3096180.0

maka saya taip di terminal sudo rm /var/lib/dpkg/updates/0004

ada lagi error

saya taip lagi sudo rm /var/lib/dpkg/updates/0005

Kemudian saya pun taip lagi sekali di terminal $ sudo dpkg --configure -a

Alhamdulillah, boleh. Ini hasilnya:

Setting up manslide (2.0.3-1~getdeb1) ...
penahijau@penahijau-laptop:~$

No comments:

Post a Comment