Some background info  I'm running a dual boot with Windows 10 and Ubuntu 20.04 I did something stupid like this because I've used Windows my whole life so I didn't realize what apt can do if I'm not careful (I guess sudo is needed for a reason) No, I did not read the documentation, yes it wasn't a good idea, no I will not do it again. Why I would want to use Kali is because I was asked by a teacher to install Kali, so I thought about just using Katoolin to install Kali tools on Ubuntu  What happened:  I ran Katoolin 3 and told it to install everything I ran sudo apt-get update and sudo apt-get dist-upgrade It began to throw a bunch of errors, so I used sudo apt --fix-broken install, then used sudo apt-get dist-upgrade again Repeated this process until I got tired of the errors, so I tried restarting my laptop, only to be greeted with &quot;Kali GNU/Linux&quot; instead of the usual &quot;Ubuntu&quot; on the Grub menu After selecting &quot;Kali GNU/Linux&quot;, it showed the following messages:  [FAILED] Failed to start Anonymizing overlay network for TCP [FAILED] Failed to start Anonymizing overlay network for TCP [FAILED] Failed to start Anonymizing overlay network for TCP [FAILED] Failed to start Service for snap application canonical-livepatch.canonical-livepatchd   I selected the Ubuntu recovery option and told it to resume normally, this time it didn't show anything at all, just a blinking white rectangle. Pressing the power button shows a log though.  What I need help with:  All I want is to at least get my Ubuntu partition working, I have no important data there so I'm okay with doing a reset, but I'm not sure how to do that while making sure my Windows install stays safe. I've seen some threads explaining it but I'm not sure if the presence of Katoolin will mess things up.  If there is any other information you need, please let me know. Thanks in advance.
19935
Updated Ubuntu 16.04 today using the software updater. Now my PC is running Kali? There were something like 2Gb of updates, which I thought at first was because I haven't updated in a while. Now I'm thinking that it was downloading Kali. Here's a  of the new boot-up process.  The screen will continue to flicker for another 30 seconds or so, then stop flickering leaving the text on the screen. I tried switching the display manager from gdm to lightdm, which will boot me straight to the console and without flickering, but still no desktop.  I'm not altogether sure how I managed to accomplish this. It must have been when I was trying to get Katoolin running.  Any tips as to how I can either get the desktop or revert the updates?  Contents of cat /etc/lsb-rolling:  DISTRIB_ID=Kali DISTRIB_RELEASE=kali-rolling DISTRIB_CODENAME=kali-rolling DISTRIB_DESCRIPTION="Kali GNU/Linux Rolling"
94995
I'm reading myself for the release of Jessie on Debian, so I'm extra cautious (should be said paranoid) about any message that can cause problems, namely warnings. My system is a desktop with Debian testing/unstable installed, on ext4 partitions for both /boot and /, yet I'm seeing this message while upgrading the grub-pc package in Debian:  Installing for i386-pc platform. Installation finished. No error reported. Installing for i386-pc platform. grub-install: warning: File system `ext2' doesn't support embedding. grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged.. Installation finished. No error reported. Generating grub configuration file ...   Why is grub saying that my system is embedded? What is the cause of this? I tried to check the grub-install binary, but I couldn't make sense of it.
67467
We've got a Squid web cache set up that is used for caching package downloads, so that all the machines here don't have to independently redownload everything. The installer prompts for a mirror and proxy. As long as every machine uses the exact same mirror (here, http.us.debian.org) and the proxy then it works.  That's somewhat annoying, as it involves going to 'enter information manually' and typing it in each time (as the installer would do ftp.us.debian.org, which Squid doesn't realize is identical).  The installer defaults to just mirror, is there a way to make that work? So I can be lazy and just hit enter a bunch?
116962
There is an app in kali by name 'Software' which is empty. So i tried to install software center and this is what i got  "You need to add the repositories first.  Edit /etc/apt/sources.list and add these two lines  deb http://http.kali.org/ /kali main contrib non-free deb http://http.kali.org/ /wheezy main contrib non-free  In terminal type apt-get update  then try apt-get install software-center   It should work."  This was an answer given by someone on this form and i did the same  And after update this is what i get
88582
As you can guess, I am trying to dual boot Ubuntu and Kali.  But the thing is that i don't have a spare ubuntu iso(which would allow me to live boot ubuntu and then create a partition using g parted or any other app since my hd remains unmounted). So, it would be very awesome if anyone could provide me a way to create a new partition without unmounting it.. TIA
10203
I installed Ubuntu 17.10. Now I am having trouble with gksu:  $ gksu -dg synaptic No ask_pass set, using default! xauth: /tmp/libgksu-HgUjgQ/.Xauthority STARTUP_ID: gksu/synaptic/8760-0-alex-XPS-15-9530_TIME4974977 cmd[0]: /usr/bin/sudo cmd[1]: -H cmd[2]: -S cmd[3]: -p cmd[4]: GNOME_SUDO_PASS cmd[5]: -u cmd[6]: root cmd[7]: -- cmd[8]: synaptic buffer: -GNOME_SUDO_PASS- brute force GNOME_SUDO_PASS ended... Yeah, we're in... Unable to init server: Could not connect: Connection refused (synaptic:8767): Gtk-WARNING **: cannot open display: :1 xauth: /tmp/libgksu-HgUjgQ/.Xauthority xauth_env: (null) dir: /tmp/libgksu-HgUjgQ   If I don't use -g, the password dialog is disabled. So looks like a problem with creating a tty for root.  Any advice?
115304
I'm using Ubuntu 12.04 on a password-protected proxy network. My web browser is configured and works, but I cannot install packages from apt or similar. Is there a way to configure apt to use my proxy? Is there a way to configure my entire system to use my proxy?
777
This seems to be a chicken-egg problem. The most common task using sudo is installing and removing software.  sudo apt-get purge &lt;appname&gt;   But sudo itself can be removed.  sudo apt-get purge sudo # Do not run this command on production computers!   This is where the fun comes  ubuntu@ubuntu:~$ sudo bash: /usr/bin/sudo: No such file or directory   Although it's obvious that no person in his right mind will purge sudo (other than me), someone can be fooled to run this command (not directly, in its hex mode, or whatever it's called) or a person could SSH in disguised as tech guru and do the mess.  So is there a way of reinstalling sudo?
104066
idk wheather to post such a silly question in this forum.just out of interest i want to know few things.  can i use nmap in ubuntu 13.10  is backtrack another distro like ubuntu i have heard that backtrack is based on ubuntu`  if backtrack comes with bundle tools like nmap  is nmap and other tool like wireshark found in ubuntu software center is powerful  as backtrack    if backtrack is updated to kali linux?
77036
Related:   When installing a WSL distribution outside of the Microsoft Store (for example on a restricted network, see linked), many of the standard means of interacting with that distribution are not available.  In my example, when I go through Settings > Apps and Features, the distro is not shown in the list and the management features are not available.  If I get my manually installed linux instance into a bad state, what is the correct way to reset it and bring it back to a fresh install?  Edit:  Examples of a 'bad state' encountered thus far include a BSOD during an 'apt-get update', leading to an unrecoverable state.  Also, performing multiple configuration changes to troubleshoot a problem, removing or disabling services and installing other packages without keeping close track of what was changed, with a desire to "start fresh" to test if the solution arrived at does in fact work on its own..
34674
I've been using gksudo nautilus and sudo nautilus through Alt+F2.   What's the difference? They look very similar!
44810
For whatever reason, we do no longer need to be root (or using sudo) to run /sbin/shutdown, /sbin/reboot etc.  This seems to be because those executables are now symlinks to /bin/systemctl which handles everything as normal user.  However, what if I want shutdown and reboot to require root authentication again? How can I achieve this?
86761
Yeah, I did this, it was stupid.  I did not know it will pull its dependencies with it, I just wanted to install python 2 and 3 from scratch (because of this problem: ).  Now, I still can use my terminal, checked these answers:      However after running sudo apt-get install ubuntu-desktop I get these errors:  Setting up python-ldb (2:1.1.24-1ubuntu3) ... /var/lib/dpkg/info/python-ldb.postinst: 6: /var/lib/dpkg/info/python-ldb.postinst: pycompile: not found dpkg: error processing package python-ldb (--configure):  subprocess installed post-installation script returned error exit status 127 No apport report written because MaxReports is reached already                                                               Setting up python-tdb (1.3.8-2) ... /var/lib/dpkg/info/python-tdb.postinst: 6: /var/lib/dpkg/info/python-tdb.postinst: pycompile: not found dpkg: error processing package python-tdb (--configure):  subprocess installed post-installation script returned error exit status 127 No apport report written because MaxReports is reached already                                                               dpkg: dependency problems prevent configuration of python-samba:  python-samba depends on python-crypto; however:   Package python-crypto is not configured yet.  python-samba depends on python-ldb (&gt;= 1.1.2~); however:   Package python-ldb is not configured yet.  python-samba depends on python-tdb; however:   Package python-tdb is not configured yet.  dpkg: error processing package python-samba (--configure):  dependency problems - leaving unconfigured No apport report written because MaxReports is reached already                                                               Processing triggers for libc-bin (2.23-0ubuntu7) ...  Errors were encountered while processing:  mercurial-common  python-crypto  python-dnspython  python-ldb  python-tdb  python-samba E: Sub-process /usr/bin/dpkg returned an error code (1)   What is the way to restore these dependencies (16.04 LTS)?
100165
How can I secure SSH access to a linux box running Ubuntu k for multiple users?  This server will be for a web app but I'm not sure how to evaluate the tools to perform this task. I have tried a few tools in the past but not sure how they stack up against each-other. How can I evaluate my SSH security and the tools and utilities that I would use to perform that securing?
1049
I use Ubuntu on a daily basis, recently I've seen that the terminal on Kali Linux behaves differently from the terminal on Ubuntu... I can see the end of the command that I'm typing based on the history of commands that I've typed like the following:  I know I can use autocompletion by pressing tab, but this feature is something else since I can see the command before pressing tab... That's not a Kali related question too since I just want to replicate this feature on Ubuntu 20.04. Is it a feature that I can easily install on Ubuntu by installing some tool with apt install? Or is it a configuration that I need to do?
29933
In regular Ubuntu (Unity/Gnome), I use gksudo to run GUI programs with root privileges. I'm trying out Kubuntu (or KDE) now -- what do I use?
62127
So, I'm running linux Mint (but I guess the same applies to Ubuntu) and as is common knowledge, their TeX distribution tends to be slightly outdated. Now I can't have none of that and decide to install it with the install-tl from the TeXlive homepage. Somehow, I cannot install it as a normal user (this I find normal as it is installing in the root directory), so I proceed to install TeXlive   sudo perl ./install-tl   and add the paths to .bashrc. All is well and my TeXlive installation works. Except for the texhash option. Running it as a normal user is no problem, except that I installed TeXlive as root, and so running texhash as normal user doesn't do anything (directory not writable. Skipping...). No problem I think, I'll just do it as root. But somehow texhash isn't installed for root.  Now, texhash is somehow connected to updating the directory tree, but I don't really know what it does. I use it on my ~/texmf/ folder to add my packages to a global path (I think), but when looking at info for this question I see in a comment for  question that this is apparently not needed, though I don't understand what I'm to do now.  So if I'm not adding new packages from CTAN or updating, I really don't need texhash and all is good?   To summarize: I'd like to know:    Why should I need texhash? Can I avoid installing as root on linux Mint/ubuntu ( they say you don't have to be root, that it's even discouraged)? Should I somehow install texhash for root?   I realize this might be a vague question at best, but I didn't find an answer I readily understood, so I'd appreciate any thought on this.