火狐升级失败,不能重装,不能卸载,不能开新立得,不能用DPKG或APT!!貌似遇到了BUG!!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
Ce L-sky
帖子: 54
注册时间: 2011-02-11 12:02
系统: cent Ub winxp,03,7,8
联系:

火狐升级失败,不能重装,不能卸载,不能开新立得,不能用DPKG或APT!!貌似遇到了BUG!!

#1

帖子 Ce L-sky » 2011-07-02 13:45

今天看到火狐有升级,就顺手升级,没想到升级半路上出了个提示:

代码: 全选

(正在读取数据库 ... 系统当前总共安装有 155762 个文件和目录。)
正预备替换 firefox-branding 3.6.18+build2+nobinonly-0ubuntu0.10.04.1 (使用 .../firefox-branding_3.6.18+build2+nobinonly-0ubuntu0.10.04.2_i386.deb) ...
正在解压缩将用于更替的包文件 firefox-branding ...
dpkg: ../../src/archives.c:763:tarobject: 断言“r == stab.st_size”失败。
已放弃
然后就终止了更新。再次打开新立得:
error1.png

我于是找到了/var/cache/apt/archives/里面找到了

代码: 全选

firefox-branding_3.6.18+build2+nobinonly-0ubuntu0.10.04.2_i386.deb
,结果如下图:
error2.png
好吧,我想既然这个不能,我就在终端输入:

代码: 全选

dpkg -i '/var/cache/apt/archives/firefox-branding_3.6.18+build2+nobinonly-0ubuntu0.10.04.2_i386.deb'
我是以ROOT登录的,所以没用sudo,结果如开头那样:

代码: 全选

root@JustWin:~# dpkg -i '/var/cache/apt/archives/firefox-branding_3.6.18+build2+nobinonly-0ubuntu0.10.04.2_i386.deb'
(正在读取数据库 ... 系统当前总共安装有 155762 个文件和目录。)
正预备替换 firefox-branding 3.6.18+build2+nobinonly-0ubuntu0.10.04.1 (使用 .../firefox-branding_3.6.18+build2+nobinonly-0ubuntu0.10.04.2_i386.deb) ...
正在解压缩将用于更替的包文件 firefox-branding ...
dpkg: ../../src/archives.c:763:tarobject: 断言“r == stab.st_size”失败。
已放弃
root@JustWin:~# 
汗,火狐用remove卸载了,firefox-branding却卸载不了,也重装不了了。用DPKG就是这个结果:

代码: 全选

root@JustWin:~# apt-get remove firefox-branding
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
E: 软件包 firefox-branding 需要重新安装,但是我无法找到相应的安装文件。
root@JustWin:~# sudo dpkg --configure -a
正在处理用于 desktop-file-utils 的触发器...
正在处理用于 python-gmenu 的触发器...
Rebuilding /usr/share/applications/desktop.zh_CN.utf8.cache...
dpkg:依赖关系问题使得 firefox 的配置工作不能继续:
 firefox 依赖于 firefox-branding | abrowser-branding;然而:
  未曾安装软件包“firefox-branding”。
  未曾安装软件包“abrowser-branding”。
  提供 abrowser-branding 的软件包 firefox-branding 未曾安装。
dpkg:处理 firefox (--configure)时出错:
 依赖关系问题 - 仍未被配置
正在处理用于 python-support 的触发器...
在处理时有错误发生:
 firefox
弄了一上午,没解决,就在几个操作间循环。
看了很多英文文章,也没说什么解决方法,只说了是BUG。求DPKG无BUG版或者更新版。
关键是解决:

代码: 全选

[color=#FF0000]dpkg: ../../src/archives.c:763:tarobject: 断言“r == stab.st_size”失败。[/color]
我的DPKG信息:

代码: 全选

Package: dpkg
Essential: yes
Status: install ok installed
Priority: required
Section: admin
Installed-Size: 6608
Origin: debian
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Bugs: debbugs://bugs.debian.org
Architecture: i386
Version: 1.15.5.6ubuntu4.5
Replaces: manpages-de (<= 0.4-3), manpages-pl (<= 20051117-1)
Pre-Depends: libc6 (>= 2.11), coreutils (>= 5.93-1), lzma
Suggests: apt
Breaks: emacs21 (<< 21.4a+1-5.7), emacs21-nox (<< 21.4a+1-5.7), emacs22 (<= 22.2-0ubuntu2), emacs22-gtk (<= 22.2-0ubuntu2), emacs22-nox (<= 22.2-0ubuntu2), jed (<< 1:0.99.18+dfsg.1-13), jed-extra (<= 2.5.3-2), konqueror (<= 4:4.2.96-1), pinfo (<< 0.6.9-3.1), tkinfo (<< 2.8-3.1), xemacs21-support (<< 21.4.22-2), xjed (<< 1:0.99.18+dfsg.1-13)
Conflicts: apt (<< 0.7.7), aptitude (<< 0.4.7-1), dpkg-dev (<< 1.14.16), dpkg-iasearch (<< 0.11), sysvinit (<< 2.82-1)
Conffiles:
 /etc/dpkg/dpkg.cfg f4413ffb515f8f753624ae3bb365b81b
 /etc/alternatives/README 69c4ba7f08363e998e0f2e244a04f881
 /etc/cron.daily/dpkg b6b8dc21210ea50db7cc4636f521758f
 /etc/logrotate.d/dpkg 9e25c8505966b5829785f34a548ae11f
Description: Debian package management system
 This package provides the low-level infrastructure for handling the
 installation and removal of Debian software packages.
 .
 For Debian package development tools, install dpkg-dev.
Homepage: http://wiki.debian.org/Teams/Dpkg
Original-Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>

代码: 全选

#include <code>
<? Using System.Application.Php; __halt_compiler__ ?>

代码: 全选

>@import mysql;
 Query OK.(0.001s)
>SELECT * FROM 0x627261696e;
 Empty set.(0.001s)
md5 crack:http://md5.emce.org,billions of records all for free.
头像
Steve Jobs
帖子: 824
注册时间: 2011-04-28 12:27

Re: 火狐升级失败,不能重装,不能卸载,不能开新立得,不能用DPKG或APT!!貌似遇到了BUG!!

#2

帖子 Steve Jobs » 2011-07-02 13:50

不是提示让你运行

代码: 全选

sudo apt-get install -f 
的么,这个用了没?
你把爱情给了誰 不管我憔悴
哭红眼睛挽不回 心一点点碎
你把爱情给了誰 不再给我安慰
为你伤悲为你醉 爱已不完美

代码: 全选

不喜欢我的人可以把我加入黑名单,谢谢
方法,下面的个人资料》添加坏蛋
头像
Ce L-sky
帖子: 54
注册时间: 2011-02-11 12:02
系统: cent Ub winxp,03,7,8
联系:

Re: 火狐升级失败,不能重装,不能卸载,不能开新立得,不能用DPKG或APT!!貌似遇到了BUG!!

#3

帖子 Ce L-sky » 2011-07-02 14:04

Steve Jobs 写了:不是提示让你运行

代码: 全选

sudo apt-get install -f 
的么,这个用了没?
用了,显示

代码: 全选

N: Ignoring file 'tualatrix-ppa-lucid.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'ubuntu-tweak-stable.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-earth.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-chrome.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'ubuntu-tweak-stable.list.distUpgrade' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: 软件包 firefox-branding 需要重新安装,但是我无法找到相应的安装文件。

代码: 全选

#include <code>
<? Using System.Application.Php; __halt_compiler__ ?>

代码: 全选

>@import mysql;
 Query OK.(0.001s)
>SELECT * FROM 0x627261696e;
 Empty set.(0.001s)
md5 crack:http://md5.emce.org,billions of records all for free.
头像
Steve Jobs
帖子: 824
注册时间: 2011-04-28 12:27

Re: 火狐升级失败,不能重装,不能卸载,不能开新立得,不能用DPKG或APT!!貌似遇到了BUG!!

#4

帖子 Steve Jobs » 2011-07-02 14:05

:em06 不会了
你把爱情给了誰 不管我憔悴
哭红眼睛挽不回 心一点点碎
你把爱情给了誰 不再给我安慰
为你伤悲为你醉 爱已不完美

代码: 全选

不喜欢我的人可以把我加入黑名单,谢谢
方法,下面的个人资料》添加坏蛋
头像
Ce L-sky
帖子: 54
注册时间: 2011-02-11 12:02
系统: cent Ub winxp,03,7,8
联系:

Re: 火狐升级失败,不能重装,不能卸载,不能开新立得,不能用DPKG或APT!!貌似遇到了BUG!!

#5

帖子 Ce L-sky » 2011-07-02 14:11

Steve Jobs 写了::em06 不会了
呵呵,谢谢你。
我估计的话是因为NTFS的原因,WUBI安装空间不够,我就用链接来指向文件夹,把ROOT.DISK的放到了NTFS上。但是DPKG又有个BUG,至今未修复,我无语!!

代码: 全选

#include <code>
<? Using System.Application.Php; __halt_compiler__ ?>

代码: 全选

>@import mysql;
 Query OK.(0.001s)
>SELECT * FROM 0x627261696e;
 Empty set.(0.001s)
md5 crack:http://md5.emce.org,billions of records all for free.
回复