hhi@hhi-ubuntu12:~$sudo apt-get install uuid-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... hh完成
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:
下列软件包有未满足的依赖关系:
uuid-dev : 依赖: libuuid1 (= 2.20.1-1ubuntu3) 但是 2.20.1-1ubuntu3.1 正要被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
//////尝试删除libuuid1,也失败了;
hhi@hhi-ubuntu12:~$ sudo apt-get remove libuuid1
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:
下列软件包有未满足的依赖关系:
openssh-client : 依赖: adduser (>= 3.10) 但是它将不会被安装
依赖: passwd 但是它将不会被安装
E: 错误,pkgProblemResolver::Resolve 发生故障,这可能是有软件包被要求保持现状的缘故。
//////请问有什么办法能解决吗?
ubuntu12.04.5无法安装uuid-dev
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 2
- 注册时间: 2015-06-27 15:52
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: ubuntu12.04.5无法安装uuid-dev
養成習慣 要安裝套件前 先把你已安裝的套件更新到最新版本sudo apt-get install uuid-dev
下列软件包有未满足的依赖关系:
uuid-dev : 依赖: libuuid1 (= 2.20.1-1ubuntu3) 但是 2.20.1-1ubuntu3.1 正要被安装
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade # 選項
然後
sudo apt-get install uuid-dev
如果還有錯誤訊息
全部複製貼上來
移除 libuuid1//////尝试删除libuuid1,也失败了;
sudo apt-get remove libuuid1
會同時移除許多依賴於 libuuid1 的已安裝套件
影響 Ubuntu 系統的穩定
Ubuntu / Debian 作業系統有特殊的套件依賴關係
新手 避免任意移除已安裝套件
除非知道移除該套件 沒有什麼風險
安全的移除已安裝套件指令
sudo apt-get autoremove
可以安全移除不再被依賴的無風險套件
參閱下列软件包有未满足的依赖关系:
openssh-client : 依赖: adduser (>= 3.10) 但是它将不会被安装
依赖: passwd 但是它将不会被安装
E: 错误,pkgProblemResolver::Resolve 发生故障,这可能是有软件包被要求保持现状的缘故。
ttps://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/932581
解決方法
ttps://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/932581/comments/8
如果沒有 解決 請再貼文
-
- 帖子: 2
- 注册时间: 2015-06-27 15:52
Re: ubuntu12.04.5无法安装uuid-dev
非常感谢poloshiao的回复;
按照你的方法试了还是不行;不过我参照你给的"openssh-client : 依赖: adduser (>= 3.10)"的方法,最后还是安装成功了。
先降级libuuid1:
sudo apt-get install libuuid1=2.20.1-1ubuntu3
再安装uuid:
sudo apt-get install uuid-dev
按照你的方法试了还是不行;不过我参照你给的"openssh-client : 依赖: adduser (>= 3.10)"的方法,最后还是安装成功了。
先降级libuuid1:
sudo apt-get install libuuid1=2.20.1-1ubuntu3
再安装uuid:
sudo apt-get install uuid-dev
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: ubuntu12.04.5无法安装uuid-dev
sudo apt-get install uuid-dev
下列软件包有未满足的依赖关系:
uuid-dev : 依赖: libuuid1 (= 2.20.1-1ubuntu3) 但是 2.20.1-1ubuntu3.1 正要被安装
http://packages.ubuntu.com/search?suite ... chon=names先降级libuuid1:
sudo apt-get install libuuid1=2.20.1-1ubuntu3
再安装uuid:
sudo apt-get install uuid-dev
套件 libuuid1
precise (12.04LTS) (libs): Universally Unique ID library
2.20.1-1ubuntu3: amd64 i386
precise-updates (libs): Universally Unique ID library
2.20.1-1ubuntu3.1: amd64 i386
看看 你的軟體來源中 有沒有 precise-updates 套件庫
這個方法 是 暫時解決方案先降级libuuid1:
sudo apt-get install libuuid1=2.20.1-1ubuntu3
因為會造成日後所有依賴於 libuuid1 的全部套件
升級都會出現類似的錯誤訊息
-
- 帖子: 1
- 注册时间: 2021-04-20 12:35
- 系统: ubuntu160403×64
Re: ubuntu12.04.5无法安装uuid-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
uuid-dev : Depends: libuuid1 (= 2.27.1-6ubuntu3) but 2.27.1-6ubuntu3.3 is to be installed
E: Unable to correct problems, you have held broken packages.
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
uuid-dev : Depends: libuuid1 (= 2.27.1-6ubuntu3) but 2.27.1-6ubuntu3.3 is to be installed
E: Unable to correct problems, you have held broken packages.
- astolia
- 论坛版主
- 帖子: 6703
- 注册时间: 2008-09-18 13:11
Re: ubuntu12.04.5无法安装uuid-dev
源数据过时了,先sudo apt-get update更新再安装13260581121 写了: ↑2021-04-20 12:36 Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
uuid-dev : Depends: libuuid1 (= 2.27.1-6ubuntu3) but 2.27.1-6ubuntu3.3 is to be installed
E: Unable to correct problems, you have held broken packages.