Package 'gcc-aarch64-linux-gnu' has no installation candidate
Created by: boceng
# apt-get install -y --no-install-recommends gcc g++ git make wget python unzip
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version (4:5.3.1-1ubuntu1).
gcc is already the newest version (4:5.3.1-1ubuntu1).
make is already the newest version (4.1-6).
unzip is already the newest version (6.0-20ubuntu1).
git is already the newest version (1:2.7.4-0ubuntu1.9).
wget is already the newest version (1.17.1-1ubuntu1.5).
python is already the newest version (2.7.12-1~16.04).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
# apt-get install -y --no-install-recommends g++-arm-linux-gnueabi gcc-arm-linux-gnueabi g++-arm-linux-gnueabihf gcc-arm-linux-gnueabihf
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++-arm-linux-gnueabihf is already the newest version (4:5.3.1-1ubuntu1).
gcc-arm-linux-gnueabihf is already the newest version (4:5.3.1-1ubuntu1).
g++-arm-linux-gnueabi is already the newest version (4:5.3.1-1ubuntu1).
gcc-arm-linux-gnueabi is already the newest version (4:5.3.1-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
# apt-get install -y --no-install-recommends gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gcc-aarch64-linux-gnu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package g++-aarch64-linux-gnu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gcc-aarch64-linux-gnu' has no installation candidate
E: Package 'g++-aarch64-linux-gnu' has no installation candidate
您好,我这里在安装交叉编译环境时始终无法获取gcc-aarch64-linux-gnu的安装,我有尝试:修改镜像一些源/etc/apt/sources.list,更新apt-get update,apt-get upgrade都无法成功,请问有其它解决方法吗