当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 使用KVM遇到的问题,求助大神!
帖子发表于 : 2017-02-09 22:43 

注册: 2016-03-29 9:56
帖子: 25
系统: ubuntu
送出感谢: 11
接收感谢: 0 次
代码:
$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).


这个依赖问题怎么解决,望各位指点


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 使用KVM遇到的问题,求助大神!
帖子发表于 : 2017-02-09 22:54 
头像

注册: 2011-03-20 13:12
帖子: 4483
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 984
执行以下指令将结果全部复制贴上来
代码:
cat /etc/issue
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*
apt-cache policy python-ipaddr
aptitude why-not python-ipaddr


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户



_________________
评价: 3.7% kerrysu
 
页首
 用户资料  
 
3 楼 
 文章标题 : Re: 使用KVM遇到的问题,求助大神!
帖子发表于 : 2017-02-09 23:01 

注册: 2016-03-29 9:56
帖子: 25
系统: ubuntu
送出感谢: 11
接收感谢: 0 次
代码:
$ 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.


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 使用KVM遇到的问题,求助大神!
帖子发表于 : 2017-03-21 9:29 

注册: 2011-07-02 11:08
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
:Haha 16.04没有遇到依赖问题。。。 14.04不知道 是不是软件源的问题?因为太远了有断点

我都用 cn.archive.ubuntu.com


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

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


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

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

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