当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装软件异常
帖子发表于 : 2017-07-24 8:54 

注册: 2017-07-09 23:43
帖子: 9
系统: ubuntu
送出感谢: 6
接收感谢: 0 次
安装软件时提示如下:
The package system is broken
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
按照提示输入apt-get install -f命令,好像不起作用啊!怎么解决?


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 安装软件异常
帖子发表于 : 2017-07-24 16:21 

注册: 2016-11-01 21:05
帖子: 11
系统: ubuntu16.04LTS
送出感谢: 3
接收感谢: 0 次
请把执行apt-get install -f后,终端的输出内容贴出来


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 安装软件异常
帖子发表于 : 2017-07-25 15:45 

注册: 2009-08-04 16:33
帖子: 16900
送出感谢: 21
接收感谢: 1830
引用:
安装软件时提示如下:

1. 安裝軟件 方法有許多種
請提供你的完整安裝指令及終端機完整回應文字
以免提供給你錯誤的建議 讓你白忙

2. 補充
養成習慣 安裝任何軟件以前 先執行
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade # 選項
然後再開始安裝軟件
2-1. 如果有任何錯誤訊息 先把錯誤訊息全部複製貼上來


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 安装软件异常
帖子发表于 : 2017-07-30 12:56 

注册: 2017-07-09 23:43
帖子: 9
系统: ubuntu
送出感谢: 6
接收感谢: 0 次
安装sysstat软件提示如下:
xiaoquan@xiaoquan:~$ sudo apt-get install sysstat
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
kde-telepathy-minimal : Depends: kde-config-telepathy-accounts (>= 15.04.0) 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命令提示如下:
xiaoquan@xiaoquan:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
kde-config-telepathy-accounts
The following NEW packages will be installed:
kde-config-telepathy-accounts
0 upgraded, 1 newly installed, 0 to remove and 139 not upgraded.
2 not fully installed or removed.
Need to get 0 B/148 kB of archives.
After this operation, 808 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 291432 files and directories currently installed.)
Preparing to unpack .../kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_i386.deb ...
Unpacking kde-config-telepathy-accounts (4:15.12.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_i386.deb (--unpack):
trying to overwrite '/usr/share/accounts/services/google-im.service', which is also in package account-plugin-google 0.12+16.04.20160126-0ubuntu1
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
/var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
问题如何解决?


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 安装软件异常
帖子发表于 : 2017-07-30 14:23 

注册: 2009-08-04 16:33
帖子: 16900
送出感谢: 21
接收感谢: 1830
1. 你沒有提供 Ubuntu 版本 以下以 Ubuntu 16.04 為準
引用:
sudo apt-get install sysstat
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
kde-telepathy-minimal : Depends: kde-config-telepathy-accounts (>= 15.04.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

2. 上面的 kde-* 套件 相依不滿足的訊息 跟你目前安裝 sysstat 沒有關係
2-1. sysstat 的 遞迴套件中 沒有 kde 開頭的套件
2-1-1. sudo apt-rdepends sysstat | grep kde

3. https://packages.ubuntu.com/xenial/kde- ... hy-minimal
Package: kde-telepathy-minimal (15.04.20ubuntu1) [universe]
3-1. 相依套件 :
kde-config-telepathy-accounts (>= 15.04.0)
KDE Control Module for managing Telepathy Accounts
3-2. 先把你的系統更新到最新狀態
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade # 選項
3-3. 然後 先安裝 套件 kde-config-telepathy-accounts
sudo apt install kde-config-telepathy-accounts
3-3-1. 看看 版本是不是 4:15.12.3-0ubuntu1
https://packages.ubuntu.com/xenial/kde- ... y-accounts
Package: kde-config-telepathy-accounts (4:15.12.3-0ubuntu1) [universe]
3-4. 再安裝 套件 kde-telepathy-minimal
sudo apt install kde-telepathy-minimal
3-4-1. 看看 版本是不是 15.04.20ubuntu1

4. 如果還有錯誤訊息 請全部複製貼上來
引用:
sudo apt-get -f install

5. 如果有其它方法 先試試其它方法 像 3-1
不要太相信 sudo apt-get -f install


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google [Bot] 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译