Results 1 to 19 of 19

Thread: APT-GET UPDATE not working in kali linux 32-bit

  1. #1
    Join Date
    2013-Aug
    Posts
    2

    Angry APT-GET UPDATE not working in kali linux 32-bit

    i am using 32-bit kali linux on my toshiba qosmio x505-q887 .... Whenever i try to update using "apt-get update" it following output:

    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42] kali Release.gpg
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42] kali Release
    Err cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42] kali/contrib i386 Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42] kali/main i386 Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42] kali/non-free i386 Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42] kali/contrib Translation-en_US
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42] kali/contrib Translation-en
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42] kali/main Translation-en_US
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42] kali/main Translation-en
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42] kali/non-free Translation-en_US
    Ign cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42] kali/non-free Translation-en
    Err http://security.kali.org kali/updates Release.gpg
    Could not resolve 'security.kali.org'
    Reading package lists... Done
    W: Failed to fetch http://security.kali.org/kali-securi...es/Release.gpg Could not resolve 'security.kali.org'

    W: Failed to fetch cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42]/dists/kali/contrib/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

    W: Failed to fetch cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42]/dists/kali/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

    W: Failed to fetch cdrom://[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42]/dists/kali/non-free/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    W: Some index files failed to download. They have been ignored, or old ones used instead.

    i tried by removing proxies and everything i found on forum but nothing worked for me.
    Actually i want to install headers for kernel and apt-get update is a prerequist of that.

    For installing headers i also used other ways like:
    #apt-get install -y linux-headers-$(uname -r)
    but also given an error as
    E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

    Can some body help me please??

  2. #2
    Join Date
    2013-Mar
    Posts
    85
    Do you have internet connectivity on your machine ?

  3. #3
    Join Date
    2013-May
    Location
    indonesia
    Posts
    20
    http://docs.kali.org/introduction/sh...use-kali-linux

    "If you are looking for a Linux distribution to learn the basics of Linux and need a good starting point, Kali Linux is not the ideal distribution for you. You may want to begin with Ubuntu or Debian instead. "

  4. #4
    1) Click Applications -- System Tools -- Preferences -- Software Settings
    2) Choose the Software Sources Tab
    3) Uncheck the deb cdrom:......

  5. #5
    I recently had the same issue with the x64 version.
    It turned out that some apt files redirect to archive-4.kali.org however malwaredomains has archive-4.kali.org listed in their zone file.
    As I import malwaredomaines zone file on a regular basis it meant i could no longer hit all the apt repositories as before.
    I'm not sure when this changed as it worked a few weeks back.

    Maybe you have a similar issue with your DNS ?

  6. #6
    Join Date
    2013-Sep
    Posts
    7
    Quote Originally Posted by angelicpsyche View Post
    1) Click Applications -- System Tools -- Preferences -- Software Settings
    2) Choose the Software Sources Tab
    3) Uncheck the deb cdrom:......
    That should work. An alternative way to do this would be to open a terminal, type 'leafpad /etc/apt/sources.list' or 'sudo leafpad /etc/apt/sources.list' (if you are a non-root user).
    At the top of the sources.list file there should be two lines that say 'deb cdrom' or something similar. Put a # sign in front of those two lines. It should look something like this after:
    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130425-10:30]/ kali contrib main non-free
    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130425-10:30]/ kali contrib main non-free
    then click save in leafpad and then try apt-get update again.

  7. #7
    Join Date
    2013-Mar
    Location
    Indonesia
    Posts
    19
    Could not resolve 'security.kali.org'

    W: Failed to fetch http://security.kali.org/kali-securi...es/Release.gpg Could not resolve 'security.kali.org'
    Based on the error message above it seems that you couldn't connect to the kali linux update server . So Please make sure you have the internet connection and do "apt-get update" again . Don't forget to set the DNS properly.
    OSCP | OSWP | Offsec is the best

  8. #8
    Join Date
    2013-Nov
    Posts
    1

    Angry Serious headache

    Well this is giving me a serious headache now...
    I'm having the same exact problem but on 64-bit.

    It all started when trying to install "correct" NVIDIA drivers like so: EXTERNAL-LINK

    I change the /etc/apt/sources.lst file to the desired one but still it can't reach the repository nor I wasn't able to do the
    Code:
    apt-get install -y linux-headers-$(uname -r)
    part.

    Been googling for hours now... will try and check if the DNS are set up correctly for the apt-get I guess?
    But it was supposed to be done since I'm writting this from Kali...

    Thanks a lot in advance!!

  9. #9
    Join Date
    2013-Apr
    Posts
    3

    How does this help?

    Quote Originally Posted by R.3volv3.R View Post
    http://docs.kali.org/introduction/sh...use-kali-linux

    "If you are looking for a Linux distribution to learn the basics of Linux and need a good starting point, Kali Linux is not the ideal distribution for you. You may want to begin with Ubuntu or Debian instead. "
    The reader is looking for an answer, not a philosophical debate as to what os he should use (I use he as a simple generic term). Obviously, there are answers to the problem as further posts infer so why add your opinion, instead of fact?

  10. #10
    Join Date
    2014-Feb
    Posts
    1

    I have the same problem

    I Have internet connetion and my source too the problem it's not there and I would like to update my machine







  11. #11
    Join Date
    2014-Feb
    Posts
    2

    The same thing happens to me

    I already have a headache to find a solution to the same problem that is here and can not find how to solve it. I made a fresh installation, put the repositories of Kali and there was no way to update. I put others and either.
    I've searched through Synaptic the best mirror from my location, but nothing. I can to update with "update" command but not "upgrade". Any idea more, please?
    Of course, I have web connection, I'm writing from Kali now...

  12. #12
    Join Date
    2014-Feb
    Posts
    4

    Smile 404 not found APT-get upgrade

    No sorry I have no idea how to solve this jet, i try to help by giving the information I see and this it's te error I am getting.
    And as I can see in my system it's a problem with the content of the server.
    Because it's giving me a 404 not found HTTP error.



    But I can update

  13. #13
    Join Date
    2014-Apr
    Posts
    1
    Check this: https://www.facebook.com/www.kali.or...78566148925987

    I hope it can help you!

  14. #14
    Join Date
    2014-Sep
    Posts
    1
    Have the repository and forum servers been down the past few days? This is the first time I've been able to get on the forum site. I installed Kali for the first time a few days ago and have been pulling my hair out trying to apt-get install anything.

    Edit: I think my ISP is blocking kali addresses. I can't access this forum or any kali repositories from home.
    Last edited by Cobaltikus; 2014-09-09 at 12:03.

  15. #15
    So I'm sure everyone has figured it out by now, I just realized how old this post is but I'll put this here anyway.

    Add:

    Add following to your /etc/apt/sources.list:

    # Regular repositories
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    # Source repositories
    deb-src http://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

    then apt-get update

    This fixed the problem for me, hope it works for anyone else having the same problem.

  16. #16
    Quote Originally Posted by Wojteknology View Post
    So I'm sure everyone has figured it out by now, I just realized how old this post is but I'll put this here anyway.

    Add:

    Add following to your /etc/apt/sources.list:

    # Regular repositories
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    # Source repositories
    deb-src http://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

    then apt-get update

    This fixed the problem for me, hope it works for anyone else having the same problem.
    That will only work for kali 2 users.
    Kali 1 is now at EOL. You need to follow the guide on this blog post: https://www.kali.org/news/kali-moto-eol/
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: http://docs.kali.org/ (Offline PDF version)
    Bugs Reporting & Tool Requests: https://bugs.kali.org/
    Kali Tool List, Versions & Man Pages: https://tools.kali.org/

  17. #17
    Join Date
    2015-Nov
    Posts
    3
    For kali 2 users:

    The error comes up as a result of the missing space after the hashtag in /etc/apt/sources.list

    #deb cdrom:[Debian GNU/Linux 2.0 _Sana_ ...
    Change to

    # deb cdrom:[Debian GNU/Linux 2.0 _Sana_ ...
    And all is well...

  18. #18
    Join Date
    2015-Nov
    Posts
    5
    Quote Originally Posted by mfBaranian View Post
    For kali 2 users:

    The error comes up as a result of the missing space after the hashtag in /etc/apt/sources.list



    Change to



    And all is well...
    # is used as for comments so anything after # won't be considered

  19. #19
    Join Date
    2015-Nov
    Posts
    3
    Yeah... I was quick to judge that in this case something was off with the #
    I'm unable to recreate the error. Looks like the fact that it was edited did the trick.

Similar Threads

  1. gnome-terminal NOT working after Kali Linux full update
    By remot.ctrl.ed in forum General Archive
    Replies: 0
    Last Post: 2019-11-19, 19:24
  2. apt-get update not working on my kali 2.0 rolling
    By linuxfree in forum General Archive
    Replies: 4
    Last Post: 2017-08-23, 21:55

Posting Permissions

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