Results 1 to 9 of 9

Thread: Help with Error for apt-get update

  1. #1
    Junior Member
    Join Date
    Jun 2013
    Posts
    6

    Unhappy Help with Error for apt-get update

    Help to solve for this problem

    The following error Occured everytime.............
    __________________________________________________ ___________________________________________


    root@kali:~# apt-get update
    Err http://http.kali.org kali Release.gpg
    Could not connect to on24.com:8080 (199.83.44.153). - connect (111: Connection refused)
    Err http://http.kali.org kali-dev Release.gpg
    Unable to connect to on24.com:8080:
    Err http://security.kali.org kali/updates Release.gpg
    Could not connect to on24.com:8080 (199.83.44.153). - connect (111: Connection refused)
    Reading package lists... Done
    W: Failed to fetch http://security.kali.org/kali-securi...es/Release.gpg Could not connect to on24.com:8080 (199.83.44.153). - connect (111: Connection refused)

    W: Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg Could not connect to on24.com:8080 (199.83.44.153). - connect (111: Connection refused)

    W: Failed to fetch http://http.kali.org/kali/dists/kali-dev/Release.gpg Unable to connect to on24.com:8080:

    W: Some index files failed to download. They have been ignored, or old ones used instead.

  2. #2
    Senior Member
    Join Date
    Mar 2013
    Posts
    266
    Can you show us what your sources.list file looks like?
    Fact, Science and the Pursuit of Knowledge. Working to secure your networks from threats; Outside and Within.

  3. #3
    Junior Member
    Join Date
    Jun 2013
    Posts
    6
    Its like the following
    __________________________________________________ _______________

    ## Kali Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free

    ## Kali
    deb http://http.kali.org/kali kali main contrib non-free

    ## Kali-dev
    deb http://http.kali.org/kali kali-dev main contrib non-free



    But i too used different source lists, that too doesnt solved problem...

  4. #4
    Senior Member
    Join Date
    Apr 2013
    Posts
    129
    If i'm not mistaken you have configured the proxy settings of your system to connect to on24.com on port 8080 ?

  5. #5
    Junior Member
    Join Date
    Jun 2013
    Posts
    6
    yes, but after the removal of proxy, it shows the same error.

  6. #6
    Junior Member
    Join Date
    Jun 2013
    Posts
    6
    It's been solved.
    Just removed proxy & restarted the system.
    Thanks for your help.... @ root-boy
    Last edited by sekhar; 06-22-2013 at 01:39 PM.

  7. #7
    Junior Member
    Join Date
    Jun 2013
    Posts
    4
    i got the same problem but can you tell me where could find the source list
    root@anonymous:~# apt-get update
    E: Malformed line 9 in source list /etc/apt/sources.list (dist parse)
    E: The list of sources could not be read.

  8. #8
    Super Moderator
    Join Date
    Mar 2013
    Posts
    65
    Quote Originally Posted by yamil View Post
    i got the same problem but can you tell me where could find the source list
    root@anonymous:~# apt-get update
    E: Malformed line 9 in source list /etc/apt/sources.list (dist parse)
    E: The list of sources could not be read.
    Yamil - the answer you seek is in the error message you posted -> /etc/apt/sources.list

    A lot of time linux error are pretty descriptive. It doesn't hurt to copy and paste into google to search.

    Best Regards,
    Eric

  9. #9
    Junior Member
    Join Date
    Jul 2013
    Posts
    6
    Paste this into ur source files, this should fix the problem

    [codebox]
    # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL $

    # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL $

    ## Security updates
    deb http://http.kali.org/ /kali main contrib non-free
    deb http://http.kali.org/ /wheezy main contrib non-free
    deb http://http.kali.org/kali kali-dev main contrib non-free
    deb http://http.kali.org/kali kali-dev main/debian-installer
    deb-src http://http.kali.org/kali kali-dev main contrib non-free
    deb http://http.kali.org/kali kali main contrib non-free
    deb http://http.kali.org/kali kali main/debian-installer
    deb-src http://http.kali.org/kali kali main contrib non-free
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-fr$
    [/codebox]

Tags for this Thread

Posting Permissions

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