您尚未登录。

楼主 # 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.

离线

#1 2022-06-05 13:20:04

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,387
积分: 1902
个人网站

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

whycan@ubuntu:/$ 
whycan@ubuntu:/$ sudo apt-get install mkbooting -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mkbooting
whycan@ubuntu:/$ 
whycan@ubuntu:/$ 
whycan@ubuntu:/$ 
whycan@ubuntu:/$ sudo apt-get install android-tools-mkbootimg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package android-tools-mkbootimg
whycan@ubuntu:/$ 
whycan@ubuntu:/$ 
whycan@ubuntu:/$ sudo apt-get update -y
Hit:1 http://mirrors.aliyun.com/ubuntu xenial InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu xenial-updates InRelease                 
Hit:3 http://mirrors.aliyun.com/ubuntu xenial-backports InRelease               
Hit:4 http://mirrors.aliyun.com/ubuntu xenial-security InRelease                
Reading package lists... Done
whycan@ubuntu:/$ 
whycan@ubuntu:/$ sudo apt-get install android-tools-mkbootimg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package android-tools-mkbootimg
whycan@ubuntu:/$ 

估计 ubuntu16.04 没这玩意。

https://linux-packages.com/ubuntu-xenial-xerus/all-packages?q=android-tools-mkbootimg

https://linux-packages.com/ubuntu-bionic-beaver/all-packages?q=android-tools-mkbootimg





离线

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

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

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

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

离线

#3 2023-02-15 00:03:07

looklike
会员
注册时间: 2023-02-14
已发帖子: 7
积分: 2

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

我找了下,好像即使是.deb的,它也标明要求的系统是18.04的额,你找的有提到这个吗?

离线

页脚

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

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