Saturday, July 11, 2009

dpkg: unrecoverable fatal error, aborting: files list file for package `manslide' is missing final newline E: Sub-process /usr/bin/dpkg returned an e

Assalamualaikum, Allahumma Solli Ala Muhammad

dpkg: unrecoverable fatal error, aborting: files list file for package `manslide' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2

Bila terjadi masalah seperti ini, biasanya proses untuk kemaskini tidak boleh dibuat.

Jadi penyelesaiannya adalah

1. The package list files are in /var/lib/dpkg/info

In my case /var/lib/dpkg/info/libgtk1.2.list was corrupted
(its contents were binary cruft).

So the best way to go about this is to

2. Manually reinstall the affected package

# move the info dir containing corrupted data out of the
# way, and create a new 'info' dir
cd /var/lib/dpkg
sudo mv info info.bak
sudo mkdir info

3. Lepas tu try update, insyaALLAH boleh.


sumber asal: https://lists.ubuntu.com/archives/ubuntu-users/2007-January/104520.html


No comments:

Post a Comment