我正在使用 getlibs 包来获取 aapt 工具的 Android 32 位依赖项。但是,当运行它时,我得到了以下内容 - 注意未找到在 ubuntu16 库上。我检查了服务器,果然它们不在那里。但是 ubuntu15 和 ubuntu17 在那里。怎么回事?
我甚至将 http 改为 ftp 并在此处查看了该网站:ftp://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/而 ubuntu16 似乎已经消失了。
即使我执行如下的 apt-get:
apt-get install ia32-libs
我仍然发现无法找到源。有什么想法吗?如果将它们移动到 *17 版本。我如何在本地从 16 更改为 17?
root@myserver:/opt/android-sdk/platforms/android-8/tools# getlibs aapt
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
lib32asound2 lib32bz2-1.0 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32v4l-0 lib32z1 libc-bin libc6 libc6-i386 libv4l-0
Suggested packages:
lib32asound2-plugins glibc-doc
The following NEW packages will be installed:
ia32-libs lib32asound2 lib32bz2-1.0 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32v4l-0 lib32z1 libc6-i386 libv4l-0
The following packages will be upgraded:
libc-bin libc6
2 upgraded, 10 newly installed, 0 to remove and 8 not upgraded.
Need to get 8661kB/39.1MB of archives.
After this operation, 145MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://archive.ubuntu.com karmic-updates/main libc-bin 2.10.1-0ubuntu16
404 Not Found [IP: 91.189.88.46 80]
Err http://archive.ubuntu.com karmic-updates/main libc6 2.10.1-0ubuntu16
404 Not Found [IP: 91.189.88.46 80]
Err http://archive.ubuntu.com karmic-updates/main libc6-i386 2.10.1-0ubuntu16
404 Not Found [IP: 91.189.88.46 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-bin_2.10.1-0ubuntu16_amd64.deb 404 Not Found [IP: 91.189.88.46 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.10.1-0ubuntu16_amd64.deb 404 Not Found [IP: 91.189.88.46 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-i386_2.10.1-0ubuntu16_amd64.deb 404 Not Found [IP: 91.189.88.46 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
This application isn't missing any dependencies
答案1
搞清楚了。我需要升级系统。我按照以下步骤操作:
apt-get update
然后我跑了:
getlibs aapt
...然后所有依赖项都被下载了。