为 Buildozer 安装缺少的可执行文件

Installing Missing executable for Buildozer

我是一般编码的新手,我开发了一个简单的应用程序,我想将其转换为 .apk 文件。

我使用 Windows 10,所以我已经将 Oracle VM VirtualBox 安装到 运行 buildozer 进行转换。

我遇到的错误比我想数的还要多,但问题的症结似乎是我缺少可执行文件:

[WARNING]: Missing executable: autoconf is not installed
[WARNING]: Missing executable: automake is not installed
[WARNING]: Missing executable: libtoolize is not installed

我尝试使用:

sudo apt-get install autoconf

但我得到以下信息:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  automake autotools-dev m4
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc libtool m4-doc
The following NEW packages will be installed:
  autoconf automake autotools-dev m4
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 870 kB/1,067 kB of archives.
After this operation, 3,943 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 http://fr.archive.ubuntu.com/ubuntu zesty/main amd64 autoconf all 2.69-10
Ign:2 http://fr.archive.ubuntu.com/ubuntu zesty/main amd64 autotools-dev all 20161112.1
Ign:3 http://fr.archive.ubuntu.com/ubuntu zesty/main amd64 automake all 1:1.15-5ubuntu1
Err:1 http://fr.archive.ubuntu.com/ubuntu zesty/main i386 autoconf all 2.69-10
  404  Not Found [IP: 194.158.119.186 80]
Err:2 http://fr.archive.ubuntu.com/ubuntu zesty/main i386 autotools-dev all 20161112.1
  404  Not Found [IP: 194.158.119.186 80]
Err:3 http://fr.archive.ubuntu.com/ubuntu zesty/main i386 automake all 1:1.15-5ubuntu1
  404  Not Found [IP: 194.158.119.186 80]
E: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/pool/main a/autoconf/autoconf_2.69-10_all.deb  404  Not Found [IP: 194.158.119.186 80]
E: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/pool/main/a/autotools-dev/autotools-dev_20161112.1_all.deb  404  Not Found [IP: 194.158.119.186 80]
E: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/pool/main/a/automake-1.15/automake_1.15-5ubuntu1_all.deb  404  Not Found [IP: 194.158.119.186 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

我在网上搜索了几天寻找解决方案后碰壁了,但我没有取得任何进展。

Ubuntu 17.04 (Zesty Zapus) 已于 2018 年 1 月 13 日结束生命周期。在 VM 上,您必须从 Ubuntu 17.04 Zesty 升级到 Ubuntu 18.04 LTS Bionic .请执行以下操作:

  1. sudo sed -i 's/zesty/bionic/g' /etc/apt/sources.list
  2. sudo apt update
  3. sudo apt upgrade
  4. sudo apt dist-upgrade
  5. sudo apt autoremove
  6. sudo apt clean
  7. 重启系统