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).
问题,问什么没有自动安装需要依赖的包呢?