I am trying to install g++ compiler but am not able to. here is the screen printout. I am using Kali Linux on banana pi R2
apt-get install g++
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
dconf-editor dconf-tools libblas-common rename tcpd
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
g++-7 libstdc++-7-dev
Suggested packages:
gcc-7-doc libstdc++6-7-dbg libstdc++-7-doc
The following NEW packages will be installed:
g++ g++-7 libstdc++-7-dev
0 upgraded, 3 newly installed, 0 to remove and 74 not upgraded.
Need to get 7224 kB/7226 kB of archives.
After this operation, 28.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://http.kali.org/kali kali-rolling/main armhf libstdc++-7-dev armhf 7.2.0-18
404 Not Found
Err:2 http://http.kali.org/kali kali-rolling/main armhf g++-7 armhf 7.2.0-18
404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/...0-18_armhf.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/...0-18_armhf.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
In fact quite a few packages are giving this error.
running apt-get update does not help
Can someone explain to me how and what packages to install. Thanks, Haris