Results 1 to 10 of 10

Thread: apt-get update / upgrade not working

  1. #1
    Join Date
    2014-Feb
    Posts
    2

    apt-get update / upgrade not working

    Hi!

    Searched the forum but found no answer. I have kali linux latest version, and trying to update/upgrade. there's a lot of packages to get but it always fail. I tried the graphical update and command with apt-get update && apt-get upgrade. Even tried with sudo, but no luck. My error is always the same in command:

    Error http://http.kali.org/kali/ kali/main kali-linux-full i386 1.40
    404 Not Found

    Over and over again..

    Running the graphical interface gets me a pop-up saying the same..

    pls help.

    edit: Got all updates narrowed down to 5 failing. Ran aptitude safe-upgrade and managed to update 75 out of 80..

    However i still get this on the last 5:

    # apt-get upgrade
    Läser paketlistor... Färdig
    Bygger beroendeträd
    Läser tillståndsinformation... Färdig
    Följande paket kommer att uppgraderas:
    exploitdb jigsaw kali-linux kali-linux-full kali-linux-sdr
    5 att uppgradera, 0 att nyinstallera, 0 att ta bort och 0 att inte uppgradera.
    Behöver hämta 29,6 MB arkiv.
    Efter denna åtgärd kommer ytterligare 4 200 kB utrymme användas på disken.
    Vill du fortsätta [J/n]? j
    Fel http://http.kali.org/kali/ kali/main exploitdb all 01242014-0kali1
    404 Not Found
    Fel http://http.kali.org/kali/ kali/main jigsaw all 1.5.3-1kali1
    404 Not Found
    Fel http://http.kali.org/kali/ kali/main kali-linux i386 1.40
    404 Not Found
    Fel http://http.kali.org/kali/ kali/main kali-linux-sdr i386 1.40
    404 Not Found
    Fel http://http.kali.org/kali/ kali/main kali-linux-full i386 1.40
    404 Not Found
    Misslyckades med att hämta http://http.kali.org/kali/pool/main/...0kali1_all.deb 404 Not Found
    Misslyckades med att hämta http://http.kali.org/kali/pool/main/...1kali1_all.deb 404 Not Found
    Misslyckades med att hämta http://http.kali.org/kali/pool/main/..._1.40_i386.deb 404 Not Found
    Misslyckades med att hämta http://http.kali.org/kali/pool/main/..._1.40_i386.deb 404 Not Found
    Misslyckades med att hämta http://http.kali.org/kali/pool/main/..._1.40_i386.deb 404 Not Found
    E: Vissa arkiv kunte inte hämtas. Prova att köra "apt-get update" eller med --fix-missing.


    sorry this is in swedish, but i can't change languageon my kali, it just returns to swedish. Really hope someone can help me anyway.
    Last edited by Lord_Flaya; 2014-02-08 at 08:18.

  2. #2
    Join Date
    2014-Feb
    Posts
    3
    Don't mean to hijack your post but I have the exact same issue pertaining to the same packages. I have no solution at all. It has been running stable for over a year and suddenly it broke.
    -----------------------------------
    Here is my sources.list file:
    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-free
    deb http://repo.kali.org/kali kali-bleeding-edge main
    deb-src http://repo.kali.org/kali kali-bleeding-edge main
    -----------------------------------

  3. #3
    Join Date
    2014-Feb
    Posts
    3
    Found solution by changing mirror.
    apt-get update/upgrade and dist-upgrade run perfect. I now have an up to date kali system

  4. #4
    Join Date
    2014-Feb
    Posts
    2
    Care to share how you did? Found a similar tip that helped me change to 8.8.8.8 google, but mine is still broken. How and to what (if no secret) did you change?

  5. #5
    Join Date
    2014-Feb
    Posts
    2
    Quote Originally Posted by zongo View Post
    Found solution by changing mirror.
    apt-get update/upgrade and dist-upgrade run perfect. I now have an up to date kali system
    As Lord_Flaya said earlier, it's a nice thing to share how do you solve the problem, with details.

  6. #6
    Join Date
    2014-Feb
    Posts
    2
    I have just seen this in the official documentation: http://http.kali.org/README.mirrorlist (from this web http://docs.kali.org/kali-support/kali-linux-mirrors)

  7. #7
    Join Date
    2014-Feb
    Posts
    3
    (use VPN; some contry can't update the sys , i'm from morocco and i use USA VPN
    hope this work

    good luck

  8. #8
    Join Date
    2014-Feb
    Posts
    3
    i have the same problem i thing the problem is the server of the repository, it bring an outdated packets for some country

    the solution is using a VPN now i m using a USA VPN and i resolve this problem

    good luck

  9. #9
    Join Date
    2013-Mar
    Location
    localhost
    Posts
    41
    apt-get dist-update , if don't work redownload kali with latest version
    r00tv.org
    telegram @bondbenz

  10. #10
    Join Date
    2016-Aug
    Posts
    1

    Exclamation different error

    I get the error like this:
    root@DarkEnergy:~# apt-get install x-window-system
    W: Not using locking for read only lock file /var/lib/dpkg/lock
    E: Unable to write to /var/cache/apt/
    E: The package lists or status file could not be parsed or opened.

Similar Threads

  1. Replies: 5
    Last Post: 2017-07-13, 11:30
  2. Beef Stopped Working after update and upgrade
    By SDee in forum General Archive
    Replies: 2
    Last Post: 2016-03-16, 11:39

Posting Permissions

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