Results 1 to 3 of 3

Thread: g++ installation link broken

  1. #1
    Join Date
    2018-Mar
    Posts
    2

    g++ installation link broken

    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

  2. #2
    Join Date
    2016-Dec
    Posts
    806
    The cache is most likely out of date: Run 'apt-get update' before running that command. I also strongly suggest apt-get dist-upgrade before installing g++.

  3. #3
    Join Date
    2018-Mar
    Posts
    2
    Did a clean re install and followed Mister_X instructions

    Got a long list of errors. Some are reproduced.

    Do you want to continue? [Y/n] Y
    Err:1 http://http.kali.org/kali kali-rolling/main armhf e2fslibs armhf 1.43.7-1
    404 Not Found
    Err:2 http://http.kali.org/kali kali-rolling/main armhf e2fsprogs armhf 1.43.7-1
    404 Not Found
    Err:3 http://http.kali.org/kali kali-rolling/main armhf systemd-sysv armhf 236-1
    404 Not Found
    Err:4 http://http.kali.org/kali kali-rolling/main armhf libqt5dbus5 armhf 5.9.2+dfsg-6
    404 Not Found

    then tried apt-get update

    More errors

    then apt-get g++ gave the same issues as before.

Similar Threads

  1. link group libGL.so-master is broken
    By p0ooo0ya in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-01-27, 11:54
  2. GUI broken after installation of virtual box guest additions.
    By SavDad in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2017-10-24, 19:05
  3. Broken Link
    By stevwolf in forum General Archive
    Replies: 1
    Last Post: 2016-01-21, 15:40
  4. Missing or Broken Link for NetHunter Kali Linux Galaxy Note 10.1 ARM Image
    By WH33LJ4CK in forum NetHunter General Questions
    Replies: 0
    Last Post: 2015-08-16, 00:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •