我一般都不熟悉编码,因此我开发了一个简单的应用程序,希望将其转换为.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?
在网上搜索了几天寻找解决方案后,我碰壁了,但没有取得任何进展。
答案 0 :(得分:0)
Ubuntu 17.04(Zesty Zapus)已于2018年1月13日终止生命。在VM上,您必须从Ubuntu 17.04 Zesty升级到Ubuntu 18.04 LTS Bionic。请执行以下操作:
sudo sed -i 's/zesty/bionic/g' /etc/apt/sources.list
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt autoremove
sudo apt clean