View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006582 | Kali Linux | Kali Websites & Docs | public | 2020-07-17 12:19 | 2021-06-23 16:18 |
Reporter | microlaser | Assigned To | Gamb1t | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 2020.2 | ||||
Summary | 0006582: error on documentation for building kali with debootstrap | ||||
Description | I used the instructions here for building kali with debootstrap: https://www.kali.org/tutorials/build-kali-with-live-build-on-debian-based-systems/ To build this shell script with the contents of the doc. The contents of my shell script are identical to the contents of the doc. #!/bin/bash wget https://http.kali.org/pool/main/k/kali-archive-keyring/kali-archive-keyring_2018.1_all.deb cd ~ cd live-build-config/ Check we have a good debootstrapver_debootstrap=$(dpkg-query -f '${Version}' -W debootstrap) exit 1fi | ||||
Steps To Reproduce | 1) Use the contents of the doc to make a shell script like i did. the output is as follows: michael@ghost:~/Documents$ sh kali2.sh --2020-07-17 08:15:10-- https://archive.kali.org/kali/pool/main/l/live-build/live-build_20180618kali1_all.deb Reading package lists... Done the crux of the problem is the two wget commands in the docs both produce 404's --2020-07-17 08:15:10-- https://http.kali.org/pool/main/k/kali-archive-keyring/kali-archive-keyring_2018.1_all.deb --2020-07-17 08:15:10-- https://archive.kali.org/kali/pool/main/l/live-build/live-build_20180618kali1_all.deb | ||||
Additional Information | I would be willing to work on fixing the scripting, I actually have been doing it in my free time with little success, I have a lot going on. If someone can fix this fast please do, I think good documentation is important for open source projects so I have opened this bug to bring it to the community attention that the documentation is in need of updating. Thank you. | ||||
I know this page does not present these commands as a shell script, but I had wanted to put them together like a shell script, and they did not work. I have worked out why and have put the commands together as the following shell script. It successfully builds a kali iso. Is it possible for someone to give me access to this URL to rewrite the documentation to include these corrections? If this is not possible can someone else update it? Thanks. #!/bin/bash Install dependencies (debootstrap)sudo apt -y install git live-build cdebootstrap debootstrap curl Fetch the latest Kali debootstrap script from gitwget https://http.kali.org/pool/main/k/kali-archive-keyring/kali-archive-keyring_2020.2_all.deb |
|
This line fails: (echo "default_mirror http://http.kali.org/kali"; sed -e "s/debian-archive-keyring.gpg/kali-archive-keyring.gpg/g" sid) > kali it does not create the output file kali |
|
Please ignore the previous note, user error. I am running this script with the output to a file now to see if it errors out, it would not succeed in the ln -s command because the file already existed, I deleted the files located in /usr/share/debootstrap/scripts/ and am running again to make sure there is no problem. Since I am logging the output II will see for sure. |
|
Keep in mind that that blog post is almost 2 years old, and package versions update in that time. You could definitely submit a pull request to update the package versions on the https://gitlab.com/kalilinux/documentation/kali-blog repository though! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-07-17 12:19 | microlaser | New Issue | |
2020-07-26 00:11 | microlaser | Note Added: 0013140 | |
2020-07-26 14:26 | microlaser | Note Added: 0013143 | |
2020-07-26 14:47 | microlaser | Note Added: 0013144 | |
2021-06-23 16:18 | steev | Note Added: 0014771 | |
2021-06-23 16:18 | steev | Assigned To | => Gamb1t |
2021-06-23 16:18 | steev | Status | new => assigned |