http://ubuntuforums.org/showthread.php?t=1816855
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.broken
sudo mv /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo apt-get update
sudo apt-get upgrade
姑且算是修复好了吧 总之可以安装软件了
但是每次都有一个新的error提示 相当恶心了……
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
whiptail : Depends: libnewt0.52 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
然后试了apt-get -f install libnewt0.52
得到这个
root@raspberrypi:/var/lib/apt/lists# apt-get -f install libnewt0.52
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
libfribidi0
The following NEW packages will be installed:
libnewt0.52
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
3 not fully installed or removed.
Need to get 71.9 kB of archives.
After this operation, 795 kB of additional disk space will be used.
Get:1
http://mirrordirector.raspbian.org/raspbian/ wheezy/main libnewt0.52 armhf 0.52.14-11.1 [71.9 kB]
Fetched 71.9 kB in 2s (25.9 kB/s)
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 2550.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6446.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6465.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6467.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6468.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6469.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <$__ANONIO__> chunk 6471.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6485.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6486.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6487.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6488.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6491.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 6492.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <$__ANONIO__> chunk 6494.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <$__ANONIO__> chunk 6528.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <$__ANONIO__> line 9583.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <$__ANONIO__> chunk 9583.
dpkg: error: parsing file '/var/lib/dpkg/status' near line 6093 package 'poppler-data':
duplicate value for `Provides' field
E: Sub-process /usr/bin/dpkg returned an error code (2)
who can help?