当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ISO创建软件源遇到的问题
帖子发表于 : 2012-04-01 9:37 

注册: 2012-04-01 9:31
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
Hi,all

请教一个关于创建本地安装源的问题:

环境:ubuntu server 11.04

步骤:

[email protected]:#mv /etc/apt/sources.list /etc/apt/sources.list.bak

[email protected]:#mount -o loop /tmp/ubuntu-11.04-server-amd64.iso /media/iso

#编辑 sources.list

deb file:///media/iso/ natty main restricted

[email protected]:/etc/apt# apt-get update
Ign file: natty InRelease
Get:1 file: natty Release.gpg [198 B]
Get:2 file: natty Release [3,036 B]
Ign file: natty/main TranslationIndex
Ign file: natty/restricted TranslationIndex
Ign file: natty/main Translation-en_US
Ign file: natty/main Translation-en
Ign file: natty/restricted Translation-en_US
Ign file: natty/restricted Translation-en
Reading package lists... Done


执行完以上步骤后,安装alien

[email protected]:/etc/apt# apt-get install alien
Reading package lists... Done
Building dependency tree
Reading state information... Done
alien is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
alien : Depends: debhelper (>= 7) but it is not going to be installed
Depends: make but it is not going to be installed
dpkg-dev : Depends: libdpkg-perl (= 1.16.0~ubuntu7) but it is not going to be installed
Depends: make but it is not going to be installed
Depends: binutils but it is not going to be installed
Recommends: gcc but it is not going to be installed or
c-compiler
Recommends: build-essential but it is not going to be installed
Recommends: fakeroot but it is not going to be installed
Recommends: libalgorithm-merge-perl 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: ISO创建软件源遇到的问题
帖子发表于 : 2012-04-01 9:44 

注册: 2012-04-01 9:31
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
自问自答,不看仔细,后面提示apt-get -f install 修复。。。。 :em20


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

当前时区为 UTC + 8 小时


在线用户

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


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

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

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