使用ubuntu12.10 服务器作为Android的编译服务器实际操作
官网下载的12.04LTS-amd64.iso 出现load CD-ROM 文件不正确,无法安装。相信最新版发布应该解决更多兼容性也好还是不完整性也好。从
下载 /ubuntu-releases/12.10/ubuntu-12.10-server-amd64.iso.torrent
用ISO方试制作启动USB-HDD, 这样在安装过程中的sheel模式下可以看到 /cd-rom 的内容包含有的文件。
注意,我用PE 方式制作的U-HDD, 安装过程中,找到CD-ROM.
根据以往的经验,安装必要的开发包。
问题:
sudo apt-get install tofrodos python-markdown libxml2-utils uboot-mkimage
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libgd2-xpm:i386 : Depends: libfontconfig1:i386 (>= 2.9.0) but it is not going to be installed
Depends: libfreetype6:i386 (>= 2.2.1) but it is not going to be installed
Depends: libjpeg8:i386 (>= 8c) but it is not going to be installed
Depends: libpng12-0:i386 (>= 1.2.13-4) but it is not going to be installed
Depends: libxpm4:i386 but it is not going to be installed
uboot-mkimage : Depends: u-boot-tools but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
当某个库依赖的库与当前版本不一致时,aptitude 会尝试降级当前这个库的版本,
同时解决降级这个库对其它软件的依赖性的影响, 最终成功安装apt-get 没法安装的软件
$ sudo aptitude install libgd2-xmp:i386
Couldn't find any package whose name or description matched "libgd2-xmp:i386"
Couldn't find any package whose name or description matched "libgd2-xmp:i386"
The following partially installed packages will be configured:
libgd2-xpm:i386{b}
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 127 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
The following packages have unmet dependencies:
libgd2-xpm:i386 : Depends: libfontconfig1:i386 (>= 2.9.0) but it is not going to be installed.
Depends: libfreetype6:i386 (>= 2.2.1) but it is not going to be installed.
Depends: libjpeg8:i386 (>= 8c) but it is not going to be installed.
Depends: libpng12-0:i386 (>= 1.2.13-4) but it is not going to be installed.
Depends: libxpm4:i386 but it is not going to be installed.
The following actions will resolve these dependencies:
Remove the following packages:
1) libgd2-xpm:i386
Accept this solution? [Y/n/q/?] y
The following packages will be REMOV
ED:
libgd2-xpm:i386{a}
0 packages upgraded, 0 newly installed, 1 to remove and 127 not upgraded.
Need to get 0 B of archives. After unpackin