转载来自:http://blog.csdn.net/r_jimy/article/details/39290585@H_301_1@
在网上查了下,使用apt-get install uboot-mkimage时,弹出错误如下:@H_301_1@
jim@jim-vm:/etc/apt$ sudo apt-get install uboot-mkimage
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package uboot-mkimage is not available,but is referred to by another package.
This may mean that the package is missing,has been obsoleted,or
is only available from another source
However the following packages replace it:
u-boot-tools
E: Package 'uboot-mkimage' has no installation candidate@H_301_1@
按提示安装u-boot-tools后,依然无法安装或直接使用mkimage@H_301_1@
最终在以下网站找到可以更新mkimage的地方:@H_301_1@
http://packages.ubuntu.com/zh-cn/lucid/i386/uboot-mkimage/download@H_301_1@
依该网页提示,将/proc/apt下的source.list中的源里面加入:@H_301_1@
deb http://kr.archive.ubuntu.com/ubuntu lucid main@H_301_1@
输入sudo apt-get update后,再敲apt-get install uboot-mkimage就安装成功了,如下:@H_301_1@
root@jim-vm:/etc/apt# apt-get install uboot-mkimage Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: u-boot-tools The following NEW packages will be installed: uboot-mkimage 0 upgraded,1 newly installed,1 to remove and 4 not upgraded. Need to get 9,876 B of archives. After this operation,139 kB disk space will be freed. Do you want to continue? [Y/n] Get:1 http://kr.archive.ubuntu.com/ubuntu/ lucid/main uboot-mkimage i386 0.4build1 [9,876 B] Fetched 9,876 B in 0s (29.0 kB/s) (Reading database ... 170797 files and directories currently installed.) Removing u-boot-tools (2013.10-3) ... Processing triggers for man-db (2.6.7.1-1) ... Selecting prevIoUsly unselected package uboot-mkimage. (Reading database ... 170775 files and directories currently installed.) Preparing to unpack .../uboot-mkimage_0.4build1_i386.deb ... Unpacking uboot-mkimage (0.4build1) ... Setting up uboot-mkimage (0.4build1) ... root@jim-vm:/etc/apt# cat /proc/version Linux version 3.13.0-24-generic (buildd@roseapple) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014@H_301_1@