您尚未登录。

楼主 # 2022-06-05 11:53:15

liefyuan
会员
注册时间: 2021-05-30
已发帖子: 69
积分: 95

Buildroot的make过程中出现 mkbootimg: not found,如下网上找的方法全部安装失败,求教啊!

Ubuntu16.04

方法一:失败

$ sudo apt install mkbootimg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mkbootimg

方法二:失败

$ sudo apt install -y android-tools-mkbootimg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package android-tools-mkbootimg

方法三:失败

$ sudo apt-get install aptitude
Reading package lists... Done
Building dependency tree       
Reading state information... Done
aptitude is already the newest version (0.7.4-2ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

$ sudo aptitude install android-tools-mkbootimg
Couldn't find any package whose name or description matched "android-tools-mkbootimg"
Couldn't find any package whose name or description matched "android-tools-mkbootimg"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

方法四(Ubuntu换源):失败

$ sudo vim /etc/apt/sources.list
[sudo] password for liefyuan: 

$ sudo apt install -y android-tools-mkbootimg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package android-tools-mkbootimg

$ sudo aptitude install mkbootimg
Couldn't find any package whose name or description matched "mkbootimg"
Couldn't find any package whose name or description matched "mkbootimg"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

离线

楼主 #2 2022-06-06 00:57:53

liefyuan
会员
注册时间: 2021-05-30
已发帖子: 69
积分: 95

Re: Buildroot的make过程中出现 mkbootimg: not found,如下网上找的方法全部安装失败,求教啊!

后面解决了,我直接下载了.deb文件然后安装的

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn