Results 1 to 2 of 2

Thread: Custom Live CD with apt-mirror

  1. #1
    Join Date

    Custom Live CD with apt-mirror


    I'm trying to build a full Kali mirror that includes Kali's installer files. GitHub's apt-mirror code was patched a while back to include the capability here:

    Everything in my current apt-mirror config is working except it cannot pull the following from


    For the above reason, building custom live cd offline fails with:

    P: Begin installing debian-installer...
    2018-07-30 01:41:44 ERROR 404: Not Found.
    E: Could not download file:

    My current apt-mirror mirror.list includes the following. I tried the last two lines yet it still will not pull them from Kali's repos:

    ######## Kali Rolling
    deb kali-rolling main contrib non-free
    deb-src kali-rolling main non-free contrib

    deb-amd64 kali-rolling main contrib non-free
    deb-armel kali-rolling main contrib non-free
    deb-i386 kali-rolling main contrib non-free
    deb-arm64 kali-rolling main contrib non-free
    deb-armhf kali-rolling main contrib non-free

    # Kali Debian CD/Installer Files
    deb kali-rolling main/debian-installer main
    deb-amd64 kali-rolling main/debian-installer main
    deb-i386 kali-rolling main/debian-installer main
    deb-armel kali-rolling main/debian-installer main
    deb-armhf kali-rolling main/debian-installer main

    # Tried both of the below but neither works
    deb-amd64 kali-rolling main netboot cdrom
    deb-installer-amd64 kali-rolling netboot cdrom

    How can I adjust the above lines so it pulls all the directories from Kali's mirror, including the ones necessary to build CD 100% offline?

  2. #2
    Join Date
    Not a fix for this and I'm not familiar with apt-mirror.

    Give a try to apt-cacher-ng and configure the proxy on your servers. apt-cacher-ng will download the first time a package is requested then any next request will be downloaded from cache. One thing though, you probably want to block access to the web interface of apt-cacher-ng from the outside with a simple iptables rule.

Similar Threads

  1. Live Build a Custom Kali ISO
    By muts in forum Building Custom Kali Images
    Replies: 49
    Last Post: 2017-01-26, 09:58
  2. Replies: 1
    Last Post: 2016-10-03, 10:37
  3. How do I create custom (non-PAE) ISO from Live DVD launch?
    By cliffskier in forum Installing Archive
    Replies: 0
    Last Post: 2014-05-12, 16:52

Posting Permissions

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