买了个树莓派 折腾了几天 apt-get悲剧了……

Ubuntu国外衍生版本或其它衍生版本
回复
头像
Drdi
帖子: 257
注册时间: 2009-10-02 15:47
送出感谢: 0
接收感谢: 0

买了个树莓派 折腾了几天 apt-get悲剧了……

#1

帖子 Drdi » 2013-05-17 18:09

Reading package lists... Error!
W: Architecture: all package 'libpng12-0' can't be Multi-Arch: same
E: Problem parsing dependency Conflicts
E: Error occurred while processing libpng12-0 (NewVersion2)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

貌似一运行apt-get就会出现这个

现在装不了软件

:em19
头像
ceclinux
帖子: 308
注册时间: 2013-01-17 2:42
系统: Ubuntu 12.04LTS
送出感谢: 10 次
接收感谢: 1 次

Re: 买了个树莓派 折腾了几天 apt-get悲剧了……

#2

帖子 ceclinux » 2013-05-17 18:38

sudo apt-get update
一下
Ubuntu 12.04 LTS
laptop:Acer 4750G CPU:I5-2410
内存:2+2G 硬盘:500+750
http://www.ceclinux.org
头像
mjp123
帖子: 688
注册时间: 2009-04-09 15:06
送出感谢: 1 次
接收感谢: 12 次

Re: 买了个树莓派 折腾了几天 apt-get悲剧了……

#3

帖子 mjp123 » 2013-05-17 21:51

折腾xbmc吧,或者架一个自己用的服务器。
用debian,浏览一个网页,cpu就爆满,但是有用omxplayer看视频佷给力。
头像
Drdi
帖子: 257
注册时间: 2009-10-02 15:47
送出感谢: 0
接收感谢: 0

Re: 买了个树莓派 折腾了几天 apt-get悲剧了……

#4

帖子 Drdi » 2013-05-17 22:51

ceclinux 写了:sudo apt-get update
一下
apt-get clean/update/upgrade/remoev/autoremove
aptitude 都一样……最后都是那个悲剧的结果

不知道安了哪个软件导致的悲剧 :em20
头像
Drdi
帖子: 257
注册时间: 2009-10-02 15:47
送出感谢: 0
接收感谢: 0

Re: 买了个树莓派 折腾了几天 apt-get悲剧了……

#5

帖子 Drdi » 2013-05-18 13:30

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)


:em31

who can help?
头像
photor
论坛版主
帖子: 11003
注册时间: 2008-04-26 12:41
送出感谢: 8 次
接收感谢: 36 次

Re: 买了个树莓派 折腾了几天 apt-get悲剧了……

#6

帖子 photor » 2013-06-04 20:45

Drdi 写了: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)


:em31

who can help?
只用apt-get -f install,后面不要加libnewt0.52
回复

回到 “Ubuntu国外衍生版”