1. 程式人生 > >ubuntu 14.10 安裝uboot-mkimage

ubuntu 14.10 安裝uboot-mkimage

在網上查了下,使用apt-get install uboot-mkimage時,彈出錯誤如下:

[email protected]:/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

按提示安裝u-boot-tools後,依然無法安裝或直接使用mkimage

最終在以下網站找到可以更新mkimage的地方:

http://packages.ubuntu.com/zh-cn/lucid/i386/uboot-mkimage/download

依該網頁提示,將/proc/apt下的source.list中的源裡面加入:

deb http://kr.archive.ubuntu.com/ubuntu lucid main

輸入sudo apt-get update後,再敲apt-get install uboot-mkimage就安裝成功了,如下:

[email protected]:/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) ...

[email protected]:/etc/apt# cat /proc/version
Linux version 3.13.0-24-generic ([email protected]) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014