UBUNTU软件中心无法安装软件
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 37
- 注册时间: 2012-02-06 12:01
UBUNTU软件中心无法安装软件
请救,我今天准备在ubuntu软件中心安装一个glade开发工具,点击安装后,提示有一个守护进程发生错误,无法安装,具体提示如下:aptdaemon 中似乎有编程错误,该软件用于安装、卸载软件并且执行其他的软件包管理任务。Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 972, in simulate
trans.unauthenticated = self._simulate_helper(trans)
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1096, in _simulate_helper
return depends, self._cache.required_download, \
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download
pm.get_archives(fetcher, self._list, self._records)
SystemError: E:Method has died unexpectedly!, E:Sub-process returned an error code (100), E:Method /usr/lib/apt/methods/ did not start correctly
我去尝试安装其它程序也一样,请问是什么问题,该如何解决?
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 972, in simulate
trans.unauthenticated = self._simulate_helper(trans)
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1096, in _simulate_helper
return depends, self._cache.required_download, \
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download
pm.get_archives(fetcher, self._list, self._records)
SystemError: E:Method has died unexpectedly!, E:Sub-process returned an error code (100), E:Method /usr/lib/apt/methods/ did not start correctly
我去尝试安装其它程序也一样,请问是什么问题,该如何解决?
-
- 论坛版主
- 帖子: 5211
- 注册时间: 2009-12-12 19:29
- 系统: Kubuntu
Re: UBUNTU软件中心无法安装软件
sudo apt-get install synaptic
-
- 帖子: 37
- 注册时间: 2012-02-06 12:01
Re: UBUNTU软件中心无法安装软件
我运行你的命令后,再去软件中心尝试,结果还是一样的。
-
- 论坛版主
- 帖子: 5211
- 注册时间: 2009-12-12 19:29
- 系统: Kubuntu
Re: UBUNTU软件中心无法安装软件
用新力得删了软件中心ZUOZHIBIAO1983 写了:我运行你的命令后,再去软件中心尝试,结果还是一样的。
-
- 帖子: 294
- 注册时间: 2007-06-02 20:00
Re: UBUNTU软件中心无法安装软件
代码: 全选
sudo apt-get purge software-center
sudo apt-get install software-center
-
- 帖子: 37
- 注册时间: 2012-02-06 12:01
Re: UBUNTU软件中心无法安装软件
sudo apt-get install software-center
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
software-center
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 2 个软件包未被升级。
Failed to exec method /usr/lib/apt/methods/
E: Method has died unexpectedly!
E: 子进程 返回了一个错误号 (100)
E: 获取软件包的渠道 /usr/lib/apt/methods/ 所需的驱动程序没有正常启动。
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
software-center
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 2 个软件包未被升级。
Failed to exec method /usr/lib/apt/methods/
E: Method has died unexpectedly!
E: 子进程 返回了一个错误号 (100)
E: 获取软件包的渠道 /usr/lib/apt/methods/ 所需的驱动程序没有正常启动。
- lainme
- 论坛版主
- 帖子: 7805
- 注册时间: 2008-09-13 19:17
- 系统: Arch Linux (x86_64)
- 联系:
Re: UBUNTU软件中心无法安装软件
贴一下/etc/apt/sources.list 和 /etc/apt/sources.list.d 下的文件看看
-
- 帖子: 37
- 注册时间: 2012-02-06 12:01
Re: UBUNTU软件中心无法安装软件
zuozhibiao@zuozhibiao-laptop:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main
-
- 帖子: 37
- 注册时间: 2012-02-06 12:01
Re: UBUNTU软件中心无法安装软件
uozhibiao@zuozhibiao-laptop:~$ cat /etc/apt/sources.list.d
cat: /etc/apt/sources.list.d: 是一个目录
zuozhibiao@zuozhibiao-laptop:~$ ls /etc/apt/sources.list.d
oneiric-partner.list
zuozhibiao@zuozhibiao-laptop:~$ cat /etc/apt/sources.list.d/oneiric-parner.list
cat: /etc/apt/sources.list.d/oneiric-parner.list: 没有那个文件或目录
zuozhibiao@zuozhibiao-laptop:~$ cat /etc/apt/sources.list.d/oneiric-partner.list
deb http://archive.canonical.com/ubuntu oneiric partner #Added by software-center
zuozhibiao@zuozhibiao-laptop:~$
cat: /etc/apt/sources.list.d: 是一个目录
zuozhibiao@zuozhibiao-laptop:~$ ls /etc/apt/sources.list.d
oneiric-partner.list
zuozhibiao@zuozhibiao-laptop:~$ cat /etc/apt/sources.list.d/oneiric-parner.list
cat: /etc/apt/sources.list.d/oneiric-parner.list: 没有那个文件或目录
zuozhibiao@zuozhibiao-laptop:~$ cat /etc/apt/sources.list.d/oneiric-partner.list
deb http://archive.canonical.com/ubuntu oneiric partner #Added by software-center
zuozhibiao@zuozhibiao-laptop:~$
- lainme
- 论坛版主
- 帖子: 7805
- 注册时间: 2008-09-13 19:17
- 系统: Arch Linux (x86_64)
- 联系:
Re: UBUNTU软件中心无法安装软件
那再试一下
sudo dpkg --configure -a
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get install -f
-
- 帖子: 37
- 注册时间: 2012-02-06 12:01
Re: UBUNTU软件中心无法安装软件
还是不行,哎,见鬼了
zuozhibiao@zuozhibiao-laptop:~$ sudo dpkg --configure -a
zuozhibiao@zuozhibiao-laptop:~$ sudo apt-get install -f
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
libglade2-0
使用'apt-get autoremove'来卸载它们
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
zuozhibiao@zuozhibiao-laptop:~$ sudo apt-get install software-center
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
libglade2-0
使用'apt-get autoremove'来卸载它们
下列【新】软件包将被安装:
software-center
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
Failed to exec method /usr/lib/apt/methods/
E: Method has died unexpectedly!
E: 子进程 返回了一个错误号 (100)
E: 获取软件包的渠道 /usr/lib/apt/methods/ 所需的驱动程序没有正常启动。
zuozhibiao@zuozhibiao-laptop:~$
zuozhibiao@zuozhibiao-laptop:~$ sudo dpkg --configure -a
zuozhibiao@zuozhibiao-laptop:~$ sudo apt-get install -f
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
libglade2-0
使用'apt-get autoremove'来卸载它们
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
zuozhibiao@zuozhibiao-laptop:~$ sudo apt-get install software-center
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
libglade2-0
使用'apt-get autoremove'来卸载它们
下列【新】软件包将被安装:
software-center
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
Failed to exec method /usr/lib/apt/methods/
E: Method has died unexpectedly!
E: 子进程 返回了一个错误号 (100)
E: 获取软件包的渠道 /usr/lib/apt/methods/ 所需的驱动程序没有正常启动。
zuozhibiao@zuozhibiao-laptop:~$
-
- 论坛版主
- 帖子: 5211
- 注册时间: 2009-12-12 19:29
- 系统: Kubuntu
- xw_y_am
- 帖子: 3333
- 注册时间: 2009-05-08 14:18
- 系统: Arch
- 来自: 河南新乡
- 联系:
Re: UBUNTU软件中心无法安装软件
个人认为,软件中心存在的价值在于教会用户如何卸载它



Linux 相关链接大杂烩
代码: 全选
if(read) {
if(practise) return g☘☘d;
else return w☘☘d;
} else {
return t☘☘d;
}
- lainme
- 论坛版主
- 帖子: 7805
- 注册时间: 2008-09-13 19:17
- 系统: Arch Linux (x86_64)
- 联系:
Re: UBUNTU软件中心无法安装软件
那就试下先把 libglade2-0 和 software-center 都卸载掉,可能是 libglade2-0 安装出错导致的。
-
- 帖子: 1555
- 注册时间: 2012-03-31 3:29
Re: UBUNTU软件中心无法安装软件
xw_y_am 写了:个人认为,软件中心存在的价值在于教会用户如何卸载它![]()

三年后终于回到16.04--稳定了!