Wednesday, January 9, 2019

Cyber Security Day two

My Kali Linux firefox was throwing alert stating that "one instance is already running". For this, I restarted networking services from the "/etc/init.d networking restart". Further, I did "ps aux" and searched for any instance of Firefox which is already running. There was an issue in accessing websites from Firefox. This remained unresolved. However, I found this link to be useful. https://forums.kali.org/showthread.php?39725-Issue-to-access-websites-from-Firefox-ESR&highlight=firefox https://forums.kali.org/showthread.php?42676-Kali-linux-2018-4a-upgrade-breaks-firefox&highlight=firefox I tried to install Google Chrome browser and tried to follow the instructions listed on below link: https://linuxconfig.org/how-to-install-google-chrome-browser-on-kali-linux In order to install "gdebian", I followed this video tutorial. https://www.youtube.com/watch?v=AJFZZQeVUhw However, this did not work because there were problems in apt-get installation. The sources.list file in the /etc/apt did not have the right URL from where Kali was supposed to download libraries. These links helped in this regard. https://www.kali.org/tutorials/advanced-package-management-in-kali-linux/ https://docs.kali.org/general-use/kali-linux-sources-list-repositories Even then the problem was not solved. The reason being, my installation download stopped in the middle due to connectivity issues. When I tried for apt-get update again, it started showing problems in temp file creation. When I removed some files, moved the folder named partial inside /etc/apt, it started throwing the problem of invalid signatures. So it was proving to be a very futile effort. I tried many links listed as following: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807948 https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1642386 https://superuser.com/questions/1059346/apt-get-update-not-working-signing-verification-errors In addition, I did "sudo apt-get clean/auto clean", Df -u, Du -h etc. But none of this seems to work. https://www.maketecheasier.com/fix-linux-no-space-left-on-device-error/ In the process of resolution, I faced another of GPG keys. I tried things listed on the following link. https://askubuntu.com/questions/198371/apt-encounters-errors-with-bad-gpg-keys Finally, the problem was solved when a friend indicated the high usage of inodes in /var/lib/font-config. He deleted a few files which helped me in restoring the sanity of apt-get. This page came very useful: https://askubuntu.com/questions/590315/no-more-space-available-even-if-there-is-a-lot https://unix.stackexchange.com/questions/222221/how-to-fix-intermittant-no-space-left-on-device-errors-during-mv-when-device-h After this, I attempted to install the "tor" browser. But this did not work because some "lock" problem was coming. https://itsfoss.com/could-not-get-lock-error/ However, it got resolved on its own. This was the effort of the last 3-4 days. There were many other problems I faced and the solutions I tried. But these are the ones I could recall and write here. Good bye for now.