├── lock-frontend error ├── apt error.txt └── proxychains troubleshooting /lock-frontend error: -------------------------------------------------------------------------------- 1 | sudo rm /var/lib/dpkg/lock-frontend 2 | sudo rm /var/lib/apt/lists/lock 3 | sudo rm /var/cache/apt/archives/lock 4 | sudo rm /var/lib/dpkg/lock 5 | #the file which it shows , causing trouble should be deleted shown in the video. 6 | 7 | sudo dpkg --configure -a 8 | -------------------------------------------------------------------------------- /apt error.txt: -------------------------------------------------------------------------------- 1 | Fix “Unable to locate package” error in Kali Linux.:- 2 | 3 | This error is basically due to entries in the sources.list file. 4 | Open /etc/apt/ using following command: 5 | cd /etc/apt/ 6 | 7 | Open the sources.list file using: 8 | 9 | sudo nano sources.list 10 | -------------------------------------------------------------- 11 | 12 | If you still get the error, change "http" to "https" 13 | 14 | Q-showing permission denied??? 15 | 16 | Ans-sudo nano sources.list 17 | 18 | Q-after you follow the steps he showed, go for 19 | 20 | Ans-sudo apt-get update && apt-get upgrade. 21 | After that you will be able to install whatever packages you want to install 22 | 23 | 24 | Q-After all these steps also it is not working? 25 | 26 | Ans-If then also error then you might vbe searching for an unknown repository that doesn't exists, check the spelling for precaution. 27 | 28 | -------------------------------------------------------------------------------- /proxychains troubleshooting: -------------------------------------------------------------------------------- 1 | #if not installed: 2 | sudo apt-get install tor 3 | 4 | service tor start 5 | service tor status 6 | 7 | #once it is running you can move to another step 8 | 9 | sudo nano /etc/proxychains.conf 10 | 11 | #This will open the configuration file in whih we have to edit:- 12 | 13 | 1.Remove Dynamic chain from comment 14 | 2.comment Strict chain and Random chain 15 | 3.Remove proxy DNS from comment 16 | 4.write socks5 127.0.0.1 9050 in last line of proxy list 17 | 18 | service tor restart 19 | 20 | proxychains firefox www.bing.com 21 | 22 | #you can use any search engine in the place of bing 23 | 24 | *testing* 25 | 26 | #the good thing is that proxychains keeps on changing my IP address in a dynamic way so that it provides good anonymity. 27 | 28 | 29 | ######################################################################## 30 | 31 | Errors troubleshooting- 32 | 33 | The error: Failed to start tor.service: Unit tor.service not found. 34 | or 35 | Reading package lists... Done 36 | Building dependency tree 37 | Reading state information... Done 38 | Package tor is not available but is referred to by another package. 39 | This may mean that the package is missing, has been obsoleted, or 40 | is only available from another source 41 | E: Package 'tor' has no installation candidate 42 | 43 | Solution- 44 | This error mostly occurs when recenlty install system and you have some broken sources repositories. If you are running kali linux just go to the kali documentation in browser and search sources.repositories. 45 | click here for the page. Copy the regular repository and paste it in sources.list 46 | 47 | 48 | # https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/ 49 | 50 | sudo nano /etc/apt/sources.list 51 | 52 | sudo apt-get update && apt-get upgrade 53 | #This can solve one of the biggest error of proxychains. 54 | #--------------------------------------------- 55 | 56 | The error and soln- The second error is for DNS leaks and server not found in the browser. 57 | The soln- If you get these errors then make sure that you restarted the tor service and your browser is not running. Also, check that dynamic chain in the proxy configuration is not commented, along with that check for proxy DNS also, make sure that both are not commented. --------------------------------------------------------------------------------