Kvm、VMware、Virtualbox、Xen、Qemu 等
-
kerrysu
- 帖子: 25
- 注册时间: 2016-03-29 9:56
- 系统: ubuntu
#1
帖子
由 kerrysu » 2017-02-09 22:43
代码: 全选
$sudo apt install virtinst
Reading package lists... Done
Building dependency tree
Reading state information... Done
virtinst is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
virtinst : Depends: python-ipaddr but it is not going to be installed
Depends: gir1.2-libosinfo-1.0 but it is not going to be installed
Recommends: virt-viewer but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
这个依赖问题怎么解决,望各位指点
-
vickycq
- 帖子: 4507
- 注册时间: 2011-03-20 13:12
- 系统: Debian
- 来自: 山东省寿光县
-
联系:
#2
帖子
由 vickycq » 2017-02-09 22:54
执行以下指令将结果全部复制贴上来
代码: 全选
cat /etc/issue
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*
apt-cache policy python-ipaddr
aptitude why-not python-ipaddr
-
kerrysu
- 帖子: 25
- 注册时间: 2016-03-29 9:56
- 系统: ubuntu
#3
帖子
由 kerrysu » 2017-02-09 23:01
代码: 全选
$ cat /etc/issue
Ubuntu 14.04.5 LTS \n \l
$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu-Server 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted
#deb cdrom:[Ubuntu-Server 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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://us.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## 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 trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main
$ cat /etc/apt/sources.list.d/*
cat: /etc/apt/sources.list.d/*: No such file or directory
$ apt-cache policy python-ipaddr
python-ipaddr:
Installed: (none)
Candidate: 2.1.10-1
Version table:
2.1.10-1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
$ aptitude why-not python-ipaddr
Unable to find a reason to remove python-ipaddr.
-
qadqingkong
- 帖子: 103
- 注册时间: 2011-07-02 11:08
#4
帖子
由 qadqingkong » 2017-03-21 9:29
16.04没有遇到依赖问题。。。 14.04不知道 是不是软件源的问题?因为太远了有断点
我都用 cn.archive.ubuntu.com