View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#188
Originally Posted by linky View Post
When I try to install or remove applications I get the following error:

Nokia-N900:~# apt-get install speedpatch
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
speedpatch
0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.
5 not fully installed or removed.
Need to get 0B/2606B of archives.
After this operation, 69,6kB of additional disk space will be used.
dpkg: parse error, in file `/var/lib/dpkg/available' near line 29239 package `macchanger':
EOF during value of field `Maemo-Icon-26' (missing final newline)
E: Sub-process /usr/bin/dpkg returned an error code (2)

How do I fix this?
I am not sure which error must be corrected first, if nothing progresses, please swap the two dpkg commands
Code:
sudo gainroot
dpkg --configure -a
dpkg --clear-avail
apt-get update && apt-get install -f
post your errors here, please, do not retype the errror, but copy and paste!